Reserve Name
A command-line tool to quickly reserve Python package names on PyPI and Test PyPI.
Installation
pip install reserve-name
Usage
After installation, simply run:
reserve-name
The tool will guide you through:
- Environment Setup: On first run, it will help you set up your API tokens and base directory
- Package Creation: Create a UV-based package structure
- Publishing: Upload to both Test PyPI and PyPI
- GitHub Integration: Optionally create a GitHub repository
Configuration
The tool uses a local .env file to store your configuration. You can either:
- Let the tool create it interactively on first run
- Create it manually using the template below
Environment Variables
Create a .env file in your package installation directory with:
PYPI_API_TOKEN=your_pypi_api_token_here
TEST_PYPI_API_TOKEN=your_test_pypi_api_token_here
BASE_URL=your_base_directory_here
Getting API Tokens
- PyPI Token: Get from https://pypi.org/manage/account/token/
- Test PyPI Token: Get from https://test.pypi.org/manage/account/token/
Requirements
- Python 3.8+
uvpackage managerghCLI tool (optional, for GitHub repository creation)- PyPI and Test PyPI accounts with API tokens
Features
- ✅ Interactive environment setup
- ✅ UV-based package structure
- ✅ Automatic Test PyPI publishing
- ✅ Production PyPI publishing
- ✅ GitHub repository creation
- ✅ Secure token handling
- ✅ Local configuration management
Security
- API tokens are stored in a local
.envfile with secure permissions - Tokens are never logged or displayed in output
- The
.envfile is created with read/write permissions for owner only
License
MIT License
Metadata
Release files for reserve-name 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| reserve_name-0.1.2.tar.gz | 6.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| reserve_name-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.9 kB
Release files / reserve_name-0.1.2.tar.gz
| Download URL | reserve_name-0.1.2.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ce9ac97d72efb510ed82a42635892a43c2108497c259a7c4072d9b3c53ef2b3f
|
|
BLAKE2b-256 checksum How to use checksums |
ac07aac2e098e44c8b7fa1742f78bbf790b98dcc956c7ab2a2af0f366b0e2066
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Release files / reserve_name-0.1.2-py3-none-any.whl
| Download URL | reserve_name-0.1.2-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9906d9158d9b38aad7339a71d2c6f7be9150b9cf761f1551354ab36d64c96b4e
|
|
BLAKE2b-256 checksum How to use checksums |
7fa70ca8c2c1b1fdb59223178441cd36b3c3d29d7141f37406f0242f13f07e98
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Security for reserve-name 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.