Uncle Sam: I want you to Publish your open-source project TODAY!

Publish your open-source project TODAY!

Creating a project using python-package-template
  1. Add your code and tests.
  2. Push your project into GitHub according to the template instructions.
  3. Set up the publishing to PyPI:
  • If you haven’t signed up for PyPI, do it now: sign up for free for the test PyPI and production PyPI.
  • Create API tokens for both the test and production PyPI. API tokens are under Account Settings.
  • Save the tokens you created as GitHub secrets named TEST_PYPI_PASSWORD and PROD_PYPI_PASSWORD.
    Add the secrets inside the GitHub project settings -> secrets -> actions.
GitHub Action Secrets for PyPI publishing
  • Copy the publish-to-pypi.yml file from my repository into yours. Unfortunately, the template doesn’t include this bit out of the box, but you can add it yourself: copy the actions file and replace pytest_fastapi_deps and pytest-fastapi-deps with your project name.
pytest-fastapi-deps version history

--

--

--

An engineer with a passion for technology. See more at https://www.linkedin.com/in/koganpeter

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

5 Management Principles To Learn From Tom DeMarco

Tom DeMarco Peopleware Productive People and Teams Short Notes Management Literature

A simple guide to Git and GitHub Branches

Where most of Flutter state managements came from?

It’s Starting to Come Together

package, JARs and Deployment

How to make an old PC run better than new using an SSD

When DynamoDB is 10x Cheaper Than S3

Using Ports and Adapters in a monolith

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Peter Kogan

Peter Kogan

An engineer with a passion for technology. See more at https://www.linkedin.com/in/koganpeter

More from Medium

How to Write Comments in Python Programming

Creating list of dates 7 days apart and corresponding week number in Python

Creating N1QL Labelled Image Database using Couchbase, FastAPI, and SerpApi

Dockerize Your Django Project in just a minutes (with Video)