Python Tools
Format, lint and analyze Python code, explain tracebacks and exceptions, generate templates for classes, tests, decorators and docstrings, and look up packages on PyPI
-
AST viewer
ast.dump of Python code.
-
Class template generator
Generate Python class templates.
-
Context manager generator
Generate context manager templates.
-
cURL → requests
Convert cURL to Python requests.
-
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.
-
Glob tester
Test glob pattern on candidates.
-
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.
-
Path tools
Join/normalize paths.
-
pip command builder
Build pip install commands.
-
PyPI package info
Show latest version and summary.
-
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.
-
requirements.txt helper
Parse specs and suggest latest.
-
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.