Publishing to Pypi

Publishing to PyPI #

The DataJunction project publishes server and client libraries to PyPI using poetry.

To create an API token, go to PyPI, navigate to the account settings page, and scroll to the API tokens section.

Configure poetry to use your PyPI API token.

poetry config pypi-token.pypi $PYPI_API_TOKEN

Build and publish the project.

poetry publish --build
To publish the djclient, run the above command in the djclient/ directory.