Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://lyz-code.github.io/autoimport/
Autoimport automatically fixes wrong import statements.
https://lyz-code.github.io/autoimport/
Last synced: 3 months ago
JSON representation
Autoimport automatically fixes wrong import statements.
- Host: GitHub
- URL: https://lyz-code.github.io/autoimport/
- Owner: lyz-code
- License: gpl-3.0
- Created: 2020-10-16T22:43:09.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-07-11T17:10:48.000Z (4 months ago)
- Last Synced: 2024-08-01T22:55:17.002Z (3 months ago)
- Language: Python
- Homepage: https://lyz-code.github.io/autoimport
- Size: 4.46 MB
- Stars: 93
- Watchers: 2
- Forks: 21
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: docs/contributing.md
- License: LICENSE
- Security: .github/SECURITY.md
Awesome Lists containing this project
- awesome-pyproject - autoimport - Automatically add missing imports and remove unused imports. (Code Formatting)
README
# Autoimport
[![Actions Status](https://github.com/lyz-code/autoimport/workflows/Tests/badge.svg)](https://github.com/lyz-code/autoimport/actions)
[![Actions Status](https://github.com/lyz-code/autoimport/workflows/Build/badge.svg)](https://github.com/lyz-code/autoimport/actions)
[![Coverage Status](https://coveralls.io/repos/github/lyz-code/autoimport/badge.svg?branch=main)](https://coveralls.io/github/lyz-code/autoimport?branch=main)Autoimport missing python libraries.
Throughout the development of a python program you continuously need to manage
the python import statements either because you need one new object or because
you no longer need it. This means that you need to stop writing whatever you
were writing, go to the top of the file, create or remove the import statement
and then resume coding.This workflow break is annoying and almost always unnecessary. `autoimport`
solves this problem if you execute it whenever you have an import error, for
example by configuring your editor to run it when saving the file.## Help
See [documentation](https://lyz-code.github.io/autoimport) for more details.
## Installing
```bash
pip install autoimport
```## Contributing
For guidance on setting up a development environment, and how to make
a contribution to *autoimport*, see [Contributing to
autoimport](https://lyz-code.github.io/autoimport/contributing).## License
GPLv3