devtools-sitecustomize
A simple Python package designed to automatically make devtools.debug available as a global debug() function in your Python interpreter sessions and scripts, by leveraging the sitecustomize-entrypoints mechanism. This removes the need for manual import statements or custom PYTHONSTARTUP configurations.
✨ Features
- Automatic
debug(): Providesdevtools.debugdirectly in yourbuiltins, accessible asdebug(). - Zero Configuration for Users: Once installed as a dependency, it just works.
uvFriendly: Integrates seamlessly withuv-managed Python environments.- Non-Interactive & Interactive Mode: Works for both running scripts and interactive interpreter sessions.
🚀 Installation
Install devtools-sitecustomize into your project's environment.
If your project is uv-managed: Just run uv add --dev devtools-sitecustomize.
⚙️ How it Works
This package works by defining a sitecustomize entry point in its own pyproject.toml. When devtools-sitecustomize is installed, the sitecustomize-entrypoints library (which is a dependency of this package) intercepts Python's startup sequence. It finds all registered sitecustomize entry points, including the one from this package, and executes them. This allows devtools.debug to be imported and assigned to builtins.debug very early in the Python interpreter's lifecycle.
Metadata
Release files for devtools-sitecustomize 0.1.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| devtools_sitecustomize-0.1.10.tar.gz | 2.0 kB | Without provenance | Details for devtools_sitecustomize-0.1.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| devtools_sitecustomize-0.1.10-py3-none-any.whl | Python 3 | none | any | Details for devtools_sitecustomize-0.1.10-py3-none-any.whl |
Total release size: 4.8 kB
Release files / devtools_sitecustomize-0.1.10.tar.gz
| Download URL | devtools_sitecustomize-0.1.10.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8b93c64a1afe78078185025a6733466a561944038c95486a4d49423c8000e93c
|
|
BLAKE2b-256 checksum How to use checksums |
29b39884503ed3a1cac518de83bc2fd7db51ab11197d8ee71c2ffbf9c9463541
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.6
|
Release files / devtools_sitecustomize-0.1.10-py3-none-any.whl
| Download URL | devtools_sitecustomize-0.1.10-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cf372169de414704e32126ecc2009697294afce0bc2955ec71f3864fdf065d87
|
|
BLAKE2b-256 checksum How to use checksums |
6f8dae0322d2fee9fdef699361a774d3ad18181da63250828d652d1d3d9f85b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.6
|
Security for devtools-sitecustomize 0.1.10
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.