Skip to main content

pythonrc-manager (wip)

[!warning] Don't use this yet, I'm getting the alpha version ready

Python REPL RC manager that records reloadable imports

Features

  • patch sys.displayhook to pprint (wrapped to preserve other display hook functionality)
  • project-scoped RC scripts (write a custom Python RC file per project) detected with git
  • RCE guards (initially based on git check-ignore, which is an imperfect heuristic for many reasons)
  • allow_reload() a context manager and a context decorator that records module names that can be reloaded in the REPL
  • reload() takes module names recorded in allow_reload sections, pops them from sys.modules and reexecutes your RC file

Maybe also worth adding

  • backported new REPL idioms (clear, exit) for tail-developed projects
  • autoreloading based on a stat watcher in the background thread?

Authors

MIT License
(C) Bartosz Sławecki 2025

Metadata

Release files for pythonrc-manager 0.1.13

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

Source distribution (sdist)

Source distribution for pythonrc-manager 0.1.13
File Size Uploaded Provenance Actions
pythonrc_manager-0.1.13.tar.gz 35.7 kB With provenance Details for pythonrc_manager-0.1.13.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pythonrc-manager 0.1.13
File Interpreter ABI Platform Actions
pythonrc_manager-0.1.13-py3-none-any.whl Python 3 none any Details for pythonrc_manager-0.1.13-py3-none-any.whl

Total release size: 39.9 kB

Release files / pythonrc_manager-0.1.13.tar.gz

Download URL pythonrc_manager-0.1.13.tar.gz
Size 35.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e95cc2cf093904b80d688976eb8b1d0b8838285fbb956483fcc685571c5e1e47
BLAKE2b-256 checksum
How to use checksums
23a01c39d737b6ac755a90e3eec8a85a29c7c56bb96b2bb141aef1beb1a2d582
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Feb 11, 2026.

Transparency log

Release files / pythonrc_manager-0.1.13-py3-none-any.whl

Download URL pythonrc_manager-0.1.13-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8f1b9e9d3ebc2c050050647c26e652b596d5791333bf8324dc1973dde30438ca
BLAKE2b-256 checksum
How to use checksums
3b8ec4f8d487e5a8fa6548f07bd85b0a4be1ac0461265868e1d438674f8ff042
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Feb 11, 2026.

Transparency log

Security for pythonrc-manager 0.1.13

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pythonrc_manager-0.1.13.tar.gz

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 Feb 11, 2026.

Transparency log

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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