10 open-source projects similar to hakancelikdev/unimport, ranked by how many features they have in common. Compare stars, activity and what each one does to find the best Unimport alternative.
This project is a comprehensive collection of software design patterns implemented in Python. It serves as a reference for architectural, behavioral, creational, and structural patterns to guide the organization of Python applications. The collection covers behavioral strategies for managing object communication and state, creational techniques for controlling object instantiation, and structural methods for composing classes and objects into flexible hierarchies. It also includes architectural references for system-wide structuring, such as multi-tier architectures and blackboard models. Th
pyupgrade is a static code modernizer and syntax upgrader for Python. It automatically rewrites source code to implement modern language features and syntax based on a specified target version. The tool focuses on removing technical debt by deleting deprecated imports, compatibility shims, and obsolete version-specific conditional blocks. It also refactors type annotations to use current standards, such as simplified generic aliases and union operators. Its capability surface includes updating standard library usage, optimizing built-in function calls, and converting verbose collection const
Awesome autocompletion, static analysis and refactoring library for python
.. image:: https://img.shields.io/pypi/v/massedit.svg :target: https://pypi.python.org/pypi/massedit/ :alt: PyPi version
MonkeyType is a runtime type inferencer and analysis tool for Python. It collects actual argument and return types from function calls during program execution to automate the production of static type annotations and compatible stub files. The system converts captured execution traces into static type hints, which can be inserted directly into source code function definitions or used to generate external type stubs. This process allows for the addition of type safety to existing codebases by analyzing real-world data types rather than through manual auditing. The tool's capabilities cover r
Vulture is a static analysis tool and linter designed to find unused variables, functions, and classes in Python source code. It operates as a dead code detector and unused code finder that scans source files to identify unreachable expressions and imports without executing the code. The tool employs a confidence-based heuristic scoring system to assign probability values to detections, helping to distinguish truly unused symbols from potential false positives. It further assists in pruning dead logic by sorting detected unused classes and functions by line count to prioritize the removal of
Removes unused imports and unused variables as reported by pyflakes
a python refactoring library