-
Notifications
You must be signed in to change notification settings - Fork 0
Trimports is a program which automatically removes unused imports from your Python script.
License
amitjoshi9627/Trimports
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
================================= Trimports - Remove Unused Imports ================================= 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. Functionalities: ------------------ 1. Remove Unused imports 2. Remove Duplicate imports 3. Remove imports which contains * and replace * with the relevant methods used. ( from os import *) Example: -------- 1. `trimports -l "/home/Documents/Python/utils.py"` 2. `trimports --location "/home/Documents/Python/utils.py"`
About
Trimports is a program which automatically removes unused imports from your Python script.
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published