Skip to main content

Installation

$ [sudo] pip install list-imports

Examples

import list_imports
imports = list_imports.get("file.py")

or from string:

imports = list_imports.parse(open("file.py").read())

cli:

$ find . -type f -name "*.py" | xargs python -m list_imports
$ find . -type f -name "*.py" | xargs python -m list_imports | awk -F"." '{print $1}'

readme42.com

Metadata

Release files for list-imports 2020.7.2

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

Source distribution (sdist)

Source distribution for list-imports 2020.7.2
File Size Uploaded Provenance Actions
list-imports-2020.7.2.tar.gz 1.8 kB Without provenance Details for list-imports-2020.7.2.tar.gz

Release files / list-imports-2020.7.2.tar.gz

Download URL list-imports-2020.7.2.tar.gz
Size 1.8 kB
Tags Source
SHA-256 checksum
How to use checksums
cca0ac317a23c24bf711d7ef7696a9716455071eb8c9622d715db4d22ee6c746
BLAKE2b-256 checksum
How to use checksums
34172138fd245055d0f535abaaccc63b4b016cdc5f2beea60695daa16e4c33cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.7

Security for list-imports 2020.7.2

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