Skip to main content

A python class which automatically removes unused imports from your Python script.

Project description

Trimports is a program which automatically removes unused imports from your Python script.

Install

From PyPI :

$ pip install trimports

### Usage: cli.py [-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:

  1. python3 cli.py -l “/home/Documents/Python/utils.py”

  2. python3 cli.py –location “/home/Documents/Python/utils.py”

__Please Give a :star2: if you :+1: it.__

Change Log

v0.1

> First Release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

trimports-0.1.1.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

trimports-0.1.1-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file trimports-0.1.1.tar.gz.

File metadata

  • Download URL: trimports-0.1.1.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for trimports-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b81df86d32f0579c9c7cc445ca278eb701ad25f98331baea8addae0c0788d033
MD5 8255fbc464562119991394f16b1d1cf4
BLAKE2b-256 63ee257d22811afe8ebcbd61f291fa6225ac90cb2d26afdade01d751529137b4

See more details on using hashes here.

File details

Details for the file trimports-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: trimports-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for trimports-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4d3f313a3f435fb3b49822ec0ba5c357115a501e8e0b61dd693bf55eb0df1cbd
MD5 35748b846df7341fe368fcde5eb95ed1
BLAKE2b-256 10528add3c5022cd55e9b0e12a89d53d3466fb2e925f01b26f9852ebbdf84929

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page