Skip to main content

Deprive

Installation

pip install deprive

Disabled Python Features

If one of the disabled features is used, a NotImplementedError will be raised:

  1. Star imports (e.g., from module import *).
  2. Redefining imports (independent of the scope).
  3. Multiple statements per line (e.g., a = 1; b = 2).

Discouraged Python Features

These following features don't raise any warning or errors, but the correctness of the output is not guaranteed:

  1. importlib.import_module, __import__, eval, exec, or similar dynamic functions.
  2. Overwriting built-in functions.
  3. Assigning functions to variables.
  4. Namespace packages (e.g., no __init__.py in a package).

Changelog

0.3.0

  • Add attributes of imports to the dependency graph.

0.1.2 - Initial Release

  • Initial implementation of the deprive library.
  • Support for parsing Python files and generating dependency graphs.
  • Codes needs to be cleaned up and refactored.

TODO:

  • parse type annotations
  • add tests for handler, and add a enum or similar to the _assets proj

Metadata

Release files for deprive 0.3.0

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

Source distribution (sdist)

Source distribution for deprive 0.3.0
File Size Uploaded Provenance Actions
deprive-0.3.0.tar.gz 33.6 kB Without provenance Details for deprive-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for deprive 0.3.0
File Interpreter ABI Platform Actions
deprive-0.3.0-py3-none-any.whl Python 3 none any Details for deprive-0.3.0-py3-none-any.whl

Total release size: 53.3 kB

Release files / deprive-0.3.0.tar.gz

Download URL deprive-0.3.0.tar.gz
Size 33.6 kB
Tags Source
SHA-256 checksum
How to use checksums
930bd4f0ab7a903451717e6389ebb981878f311074d8dfc512f8eb945ff5366f
BLAKE2b-256 checksum
How to use checksums
d8ea114e259360cb87a869857d5b811c90ddf3674a755f29fb503d1057bced1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.22

Release files / deprive-0.3.0-py3-none-any.whl

Download URL deprive-0.3.0-py3-none-any.whl
Size 19.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dafcdb430725c36d76c145e98bf7da4e23c90b8697aafc66bf16e054be8604c9
BLAKE2b-256 checksum
How to use checksums
43a2c6a64d2137a057d034a8524eb9536072e92df1bea81f124fbde5f60f5625
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.22

Security for deprive 0.3.0

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.

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