armpit
armpit is a python package designed to make importlib.reload more user
friendly. By substituting python for armpit when running a .py file, the
process will open an python REPL in the script's scope and use readline to
bind Ctrl-H to reloading the source.
armpit also supports -m, the same way python -m does: armpit -m pdb script.py opens the REPL and drops straight into pdb debugging
script.py, with everything after the module name passed through to it
untouched.
Python 3.14's new PyREPL ignores readline/.inputrc (which armpit's own
Ctrl-H binding relies on). Pass --basic-repl to set PYTHON_BASIC_REPL=1
for the session; if your inputrc doesn't already set vi editing mode,
armpit runs with a temporary inputrc (layered on top of your real one via
$include) that does, without touching ~/.inputrc.
Tests
python3 -m unittest discover -s tests
No dependencies required. pytest also works if installed
(pip install -e .[test]).
Releasing
The publish workflow only runs off a v* tag push, and reads the version
straight out of that tag, so:
git tag v1.2.3 # must match pyproject.toml's version
git push --tags
Run git config core.hooksPath hooks once per clone to enable a pre-push
hook that refuses to push a vX.Y.Z tag that doesn't match
pyproject.toml's version.
Metadata
Release files for armpit 1.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| armpit-1.3.3.tar.gz | 14.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| armpit-1.3.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.1 kB
Release files / armpit-1.3.3.tar.gz
| Download URL | armpit-1.3.3.tar.gz |
|---|---|
| Size | 14.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9bdf73ad06040fa74f8b757973131e83e1f255a5951012ee6377e6312f8cb746
|
|
BLAKE2b-256 checksum How to use checksums |
eaa80365a59aea977d8e36a0f39f0d4ef4c8203336dadd70797e1dcadd094c8f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 27, 2026.
Transparency logRelease files / armpit-1.3.3-py3-none-any.whl
| Download URL | armpit-1.3.3-py3-none-any.whl |
|---|---|
| Size | 9.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3e30eff7d9c0395ec367506882159ee74a1fe8212b7cffe3d64c99b968c82f68
|
|
BLAKE2b-256 checksum How to use checksums |
ddfa29f8acd5ee96037c9e8a9dc30a0e05c1a79797b85ecebb7acef2fa83ad47
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 27, 2026.
Transparency log