Reflex Logo

Intro

Gallery

Hosting

Components

New

Learn

Components

API Reference

Onboarding

Custom-components

/

Prerequisites-for-publishing

In order to publish a Python package, an account with the package index is required. As of 0.4.3, Reflex only supports publishing to PyPI and TestPyPI. PyPI is short for Python Package Index, the official third-party software repository for Python. TestPyPI is a separate instance of index that allows users to test the distribution and installation of the package before publishing it to the real index.

It is straightforward to create accounts and API tokens with PyPI. There is official help on the PyPI website . For a quick reference here, go to the top right corner of the PyPI website and look for the button to register and fill out personal information.

A user can use username and password to authenticate with PyPI when publishing. Reflex does not store your PyPI credentials. If an API token is preferred, it can be generated in the account settings.

Scroll down to the API tokens section and click on the "Add API token" button. Fill out the form and click "Generate API token".

TestPyPI has the same look and feel as PyPI.

← OverviewCommand Reference →

Did you find this useful?