Skip to content

A Python-based tool designed to help developers refactor and optimize their code. This app offers features like code formatting, refactoring, module usage visualization, and optimization suggestions to enhance code readability and performance.

Notifications You must be signed in to change notification settings

fizasagar/Python-Code-Formatter-Optimizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

27 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿง  ๐€๐ˆ-๐๐จ๐ฐ๐ž๐ซ๐ž๐ ๐๐ฒ๐ญ๐ก๐จ๐ง ๐‚๐จ๐๐ž ๐…๐จ๐ซ๐ฆ๐š๐ญ๐ญ๐ž๐ซ & ๐Ž๐ฉ๐ญ๐ข๐ฆ๐ข๐ณ๐ž๐ซ

A Streamlit web application that helps you clean, optimize, and analyze your Python code in just a few clicks! ๐Ÿš€ Whether you're a beginner or a pro, this tool makes your code more readable, maintainable, and error-free.

๐Ÿ” ๐…๐ž๐š๐ญ๐ฎ๐ซ๐ž๐ฌ:

๐Ÿงน Code Refactoring โ€“ Automatically formats your code using Black and organizes imports with isort.

๐Ÿ Code Analysis โ€“ Detects potential issues using Flake8 and highlights complexity via Radon.

๐Ÿ“Š Module Usage Graph โ€“ Visualizes which Python modules are used and how frequently.

๐Ÿ“ˆ Scorecard โ€“ Shows your code's overall complexity and cleanliness.

๐Ÿ’ก Suggestions Engine โ€“ Gives smart recommendations to improve your coding style and logic.

๐Ÿ›  ๐๐ฎ๐ข๐ฅ๐ญ ๐–๐ข๐ญ๐ก:

Streamlit

Black

isort

Flake8

Radon

Plotly

๐Ÿ’ป ๐‡๐จ๐ฐ ๐ญ๐จ ๐”๐ฌ๐ž:

Paste or write your Python code in the editor.

View the refactored version instantly.

Check out scorecard, module usage graph, and improvement suggestions.

Copy or download the improved code!

๐Ÿ™Œ ๐Œ๐š๐๐ž ๐ฐ๐ข๐ญ๐ก โค๏ธ ๐›๐ฒ ๐…๐ข๐ณ๐š ๐€๐ฌ๐ข๐Ÿ

About

A Python-based tool designed to help developers refactor and optimize their code. This app offers features like code formatting, refactoring, module usage visualization, and optimization suggestions to enhance code readability and performance.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages