github_protector
Project Structure:
github-protector/
├── pyproject.toml # Package metadata and entry points
├── github_protector/
│ ├── __init__.py
│ └── cli.py # Main CLI logic
└── .env # Your local environment file
Installation: To install it locally in editable mode (so changes reflect immediately):
pip install -e .
Usage: Once installed, you can run it from anywhere:
- Using defaults (from .env and git):
github-protect - Providing explicit arguments:
github-protect --token YOUR_TOKEN --username ishandutta2007 --repo MyRepo --branch main - View Help:
github-protect --help
To Upload to PyPI: If you want to share this on PyPI, follow these steps:
- Build the package:
pip install build
python -m build
- Upload using Twine:
pip install twine
python -m twine upload dist/*
Release files for github-protector 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| github_protector-0.1.1.tar.gz | 3.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| github_protector-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.9 kB
Release files / github_protector-0.1.1.tar.gz
| Download URL | github_protector-0.1.1.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5945a2e471c2d036a1b219ee5e765d1eb5f09013643c9f9a8fb44e46793cac37
|
|
BLAKE2b-256 checksum How to use checksums |
a4145fb8673f62c0407cbddcf655457ab5f4026dda9e3b31a77ea66bd5996414
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.4
|
Release files / github_protector-0.1.1-py3-none-any.whl
| Download URL | github_protector-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5f0223d50c27f2933a12cb454408ad47f3ebb19aa425abf6bb8f2eb0f01e3531
|
|
BLAKE2b-256 checksum How to use checksums |
0dd4cc7338568807abf3686ecffc3942607f7819d2ace8cdb3d69f1f8d9a0580
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.4
|