Trimports is a program which automatically removes unused imports from your Python script.
Install
From PyPI :
$ pip install trimports
Usage: trimports [-h] -l/–location “<FILE_LOCATION>”
required arguments:
> -h, –help show this help message and exit. > -l FILE_LOCATION, > –location FILE_LOCATION Location of Target file.
Example:
trimports -l “/home/Documents/Python/utils.py”
trimports –location “/home/Documents/Python/utils.py”
Change Log
v0.1.1
> First Release
v0.1.2
Removed import bugs
Metadata
Release files for trimports 0.1.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 | |
|---|---|---|---|
| trimports-0.1.2.tar.gz | 5.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| trimports-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.5 kB
Release files / trimports-0.1.2.tar.gz
| Download URL | trimports-0.1.2.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1fae8069c379f5e4e2c72472466c275c2c3993535463c6bd1ecbfe84ac8af514
|
|
BLAKE2b-256 checksum How to use checksums |
4084180772332fc3207f906905718bba3a1bd0a43c31312ff011abe46e3ca036
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.5
|
Release files / trimports-0.1.2-py3-none-any.whl
| Download URL | trimports-0.1.2-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ac0cc13d499b8d574b1c424d9b8d0d8ab340208090228b518ae9907b141ecfe7
|
|
BLAKE2b-256 checksum How to use checksums |
28f384da23cbd79720b106a12176ed4742003123636e001932f25b97f1984f28
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.5
|