An open API service indexing awesome lists of open source software.

https://github.com/kei-mag/python-package

Template repository for Python package that supports installation with pip, Poetry, Rye and uv.
https://github.com/kei-mag/python-package

hatchling pip poetry pypi-package python3 rye uv

Last synced: 8 months ago
JSON representation

Template repository for Python package that supports installation with pip, Poetry, Rye and uv.

Awesome Lists containing this project

README

          

# Python package "my-package"

## Let's get started!

**First, you should rename a directory in the src directory with the name to be used during import like 'my_package'.**

### Directory structure
**src-layout**
```
package_root
├── pyproject.toml
├── requirements.txt
├── ...
└── src/
└── my_package/
├── __init__.py
├── ...
├── module.py
└── subpkg1/
├── __init__.py
├── ...
└── module1.py
```

## To upload package to PyPI
If you would like to upload this package to pypi.org or test.pypi.org, you must set the API key for test.pypi.org as TEST_PYPI_API_TOKEN and the API key for pypi.org as PYPI_API_TOKEN in the GitHub Actions Secret.

If you wouldn't like to upload this package to PyPI, you need to remove .github/workflows/Publish-to-PyPI.yml or disable it.