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
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
kk Tools to generate Python types based on TypedDict from a JSON schema
com2ann
Las características principales de ilevkivskyi/com2ann son: Annotation Tools, Code Refactoring.
Las alternativas de código abierto para ilevkivskyi/com2ann incluyen: instagram/monkeytype — MonkeyType is a runtime type inferencer and analysis tool for Python. It collects actual argument and return types… faif/python-patterns — This project is a comprehensive collection of software design patterns implemented in Python. It serves as a reference… asottile/pyupgrade — pyupgrade is a static code modernizer and syntax upgrader for Python. It automatically rewrites source code to… davidhalter/jedi — Awesome autocompletion, static analysis and refactoring library for python. dropbox/mypy-protobuf — mypy-protobuf: Generate mypy stub files from protobuf specs. camptocamp/jsonschema-gentypes — kk Tools to generate Python types based on TypedDict from a JSON schema.