abstract_pypit
One-command PyPI publisher + GitHub pusher.
Finds the next free version above whatever is on PyPI, bumps setup.py and
pyproject.toml, builds sdist + wheel, uploads to PyPI via twine, commits and
pushes to GitHub, then syncs the local install — all in one call.
Zero dependencies outside the stdlib except requests.
Install
pip install abstract_pypit
Usage
# from any package directory that has setup.py + pyproject.toml:
from pypit import runit
runit()
# or from the command line:
abstract-pypit
Credentials
PyPI: twine reads ~/.pypirc or TWINE_USERNAME / TWINE_PASSWORD env vars.
GitHub: create pypit/src/envs/.env on the machine running pypit:
GITHUB_OWNER_1=your-username
GITPASS_1=<your-github-pat>
GITHUB_OWNER_2=your-org
GITPASS_2=<org-github-pat>
SSH key at ~/.ssh/github/githubssh_nopass must be registered with GitHub.
Per-package config
Add to the package's own pyproject.toml:
[tool.pypit]
github_owner = "your-org-or-username" # which org/user owns the repo
github_push = true # set false to skip GitHub entirely
License
MIT
Metadata
Release files for abstract-pypit 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| abstract_pypit-0.0.4.tar.gz | 16.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| abstract_pypit-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 37.0 kB
Release files / abstract_pypit-0.0.4.tar.gz
| Download URL | abstract_pypit-0.0.4.tar.gz |
|---|---|
| Size | 16.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3a154868c518e212b32e76bdd4fce369db037ca664fa7995a72f40151af52c05
|
|
BLAKE2b-256 checksum How to use checksums |
dc1907923d50a4d0fe776eab1d14e94645cf62afb90ca426907d7e103559410b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Release files / abstract_pypit-0.0.4-py3-none-any.whl
| Download URL | abstract_pypit-0.0.4-py3-none-any.whl |
|---|---|
| Size | 20.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bfdfe5a86fab9add404582dabf8e07f7534ca1c0d8bdb96377d9e82cba8844aa
|
|
BLAKE2b-256 checksum How to use checksums |
baf00f6b35be6cff824d9dc1a9ff63c96ecdaa1fbeaca9e96f9618f30a98cc46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|