Skip to main content

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.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for abstract-pypit 0.0.7
File Size Uploaded
abstract_pypit-0.0.7.tar.gz 16.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for abstract-pypit 0.0.7
File Interpreter ABI Platform
abstract_pypit-0.0.7-py3-none-any.whl Python 3 none any Details

Total release size: 37.9 kB

Release files / abstract_pypit-0.0.7.tar.gz

Download URL abstract_pypit-0.0.7.tar.gz
Size 16.9 kB
Tags Source
SHA-256 checksum
How to use checksums
caa31e61cbaa367151492570363af1fcfecff84a5ee02e7d433e3cceba00baeb
BLAKE2b-256 checksum
How to use checksums
01667a9661ef7f78e8baeb29d8461efe2cc50667cb40258217146a674f4fa578
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.7-py3-none-any.whl

Download URL abstract_pypit-0.0.7-py3-none-any.whl
Size 21.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f951ef626513e05b96a304bbc71ec00fb4e6cc65c4ea4049184a659cabe30766
BLAKE2b-256 checksum
How to use checksums
09becbee3f2c547d6da156e4941e706655459aa47b98a33c225c22f77da35ad3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Release history Release notifications | RSS feed

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

1 release file

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

This release

0.0.7 This release

2 release files

0.0.6

1 release file

0.0.5

1 release file

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page