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}'
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)
| File | Size | Uploaded | |
|---|---|---|---|
| list-imports-2020.7.2.tar.gz | 1.8 kB | Details |
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
|