Explore Python source code to find dependencies
Use pip show if you want to access the explicit dependencies of a python package.
But, if you have a set of python files and want to know what they are importing, libido is a way to go.
Installation & usage
pip install libido
libido mod.py pak/*.py pak2/
Options
There is some options. See libido --help.
Most interestings may be
--python-version to provide the python version of the code (because stdlib is not the same accross python versions),
--all-deps to list all deps, including the one from stdlib (default is only the non-stdlib one),
--show-globs to show for each dependencies which input glob needs it,
or --porcelain for a parsable output.
How does it works ?
Libido parses the source code with redbaron find all import lines, and compare list of imported modules with historical records provided by stdlibs to decide which imported packages belong to the stdlib.
Yes, these packages exists. That's so cool. Please send your thanks to the author of redbaron and stdlibs.
Metadata
Release files for libido 0.0.9
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 |
|---|---|---|---|---|
| libido-0.0.9.tar.gz | 4.8 kB | Without provenance | Details for libido-0.0.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| libido-0.0.9-py3-none-any.whl | Python 3 | none | any | Details for libido-0.0.9-py3-none-any.whl |
Total release size: 9.5 kB
Release files / libido-0.0.9.tar.gz
| Download URL | libido-0.0.9.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7c44317adf7d0f0a49ef972f063fac32f76239f820674a57606d042f1c72ea85
|
|
BLAKE2b-256 checksum How to use checksums |
09a3bc5748af5c366834d2472332f86338e2919f94f11edc93dc6217507ddff4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
|
Release files / libido-0.0.9-py3-none-any.whl
| Download URL | libido-0.0.9-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d9b3e1ab5bc59bf01cba0ae2b44045a9db67f071f9bd856f4469784b2518d600
|
|
BLAKE2b-256 checksum How to use checksums |
ce25968bb54a1aeb50a178e9858273e7c66a95084305d2ed1aa88f874c82d086
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
|
Security for libido 0.0.9
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.