Generate a Python package and publish it to PyPI in less than 1 minute.
You can install genpypi
using pip:
pip install genpypi
Create a new Python package with all necessary files:
genpypi create my_package_name
This will generate:
- Basic package structure
- setup.py
- GitHub Actions workflow for PyPI publishing
- .gitignore
- README.md
- Create a repository on GitHub
- Push your code to GitHub
- Add your PyPI credentials as GitHub secrets:
PYPI_PASSWORD
- The GitHub Action will automatically publish your package when you push to main
MIT