r/PythonLearning • u/Glad_Friendship_5353 • Oct 04 '25
Showcase Open Source Python LeetCode Practice Generator: 100+ Problems with Beautiful Visualizations for Local IDE Development
I've developed an open source Python package that generates complete LeetCode practice environments locally in your IDE, featuring beautiful data structure visualizations and comprehensive testing.
Technical Features:
100+ curated problems from Grind 75, Blind 75, NeetCode 150 collections
Professional data structure visualizations using Graphviz and anytree
Comprehensive test suites with pytest and 10+ test cases per problem
Modern Python practices: Type hints, black/isort/ruff linting, Poetry dependency management
CLI tool: `lcpy` command for easy problem generation
Why Local Development?
IDE Integration: Full debugging capabilities in your preferred environment
Version Control: Maintain a repository of solutions with proper Git workflow
Development Tools: Leverage linting, testing, and code organization tools
Efficiency: Automated boilerplate generation and test case creation
Quick Start:
pip install leetcode-py-sdk
lcpy gen -t grind-75
cd leetcode/two_sum && python -m pytest

Tech Stack:
Python 3.10+ with modern type hints
Graphviz for data structure visualization
pytest for comprehensive testing
Typer for CLI interface
Poetry for dependency management
Open Source Repository: https://github.com/wislertt/leetcode-py
Docs: https://leetcode-py.wisl.dev/
Blog: https://wisl.dev/blog/leetcode-problem-generator/
I'd appreciate feedback from the Python community on code quality, architecture, or additional features that would enhance the development experience.
1
u/VixLmm Oct 06 '25
Can I install this on python?