← All tools

Python Python Tools

Python-specific tools for code formatting, linting, JSON schema validation, decorators, and code generation

AST viewer
ast.dump of Python code.
Class template generator
Generate Python class templates.
Context manager generator
Generate context manager templates.
Dead code detector
Find unused functions, classes, and variables.
Decorator generator
Generate decorator templates.
Dependency tree visualizer
Visualize package dependencies recursively.
Docstring generator
Generate docstring templates (Google/NumPy/Sphinx styles).
Exception explainer
Explain common Python exceptions with causes and solutions.
Import analyzer
Find unused, missing, and circular imports in Python code.
Import sorter (isort)
Sort and group imports.
JSON formatter/validator
Pretty-print, minify, validate JSON.
Lint (pycodestyle)
Quick PEP8 check via pycodestyle.
Mock data generator
Generate realistic test data using Faker library.
Package license checker
Check licenses of packages from requirements.txt.
Parse pip freeze
Analyze pip freeze output and convert to requirements.txt.
PyPI search & details
Search PyPI packages with license and vulnerability info.
pytest template generator
Generate pytest test templates.
Python formatter (Black)
Format code with Black.
Python validator
Comprehensive Python code validation with syntax, style, and complexity checks.
Regex tester
Python re tester with flags.
Stack trace formatter
Format and analyze Python tracebacks for easier debugging.
To code variable
Convert JSON/YAML/TOML/CSV/XML to a code variable assignment.
Tokenize viewer
List tokens of Python code.
Type hint generator
Generate type-annotated function signatures.
Virtual environment commands
Generate venv/virtualenv/conda environment commands.