Converts LeetCode Python solutions to a more Pythonic style

Latest Version

Version
1.0
Update
February 17, 2025
Size
34.44KiB
Developer
Category
Users
0
Rating
0 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
Storage
ActiveTab
Scripting
See more

LeetCode Python Style Converter Extension

🚀 LeetCode Python Style Converter:

LeetCode Python Style Converter is a Chrome extension that helps align your Python code style with real-world practices. It transforms LeetCode solutions from class methods to global functions, applies built-in type hints, and converts camelCase to snake_case for better readability and consistency.


✨ Features:

- 🔄 Automatically converts camelCase to snake_case in Python functions.
- 📜 Generates standard docstrings for Python functions.
- 🔍 Converts type hints for collections to build-in ones.
- 🤝 Integrates seamlessly with the LeetCode platform.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "LeetCode Python Style Converter", "version": "1.0", "description": "Converts LeetCode Python solutions to a more Pythonic style", "permissions": [ "storage", "activeTab", "scripting" ], "host_permissions": [ "https://leetcode.com/*" ], "action": { "default_popup": "src/popup/popup.html" }, "content_scripts": [ { "js": [ "assets/content-script-loader.content-7a9c9063-169b1d36.js" ], "matches": [ "https://leetcode.com/*" ], "run_at": "document_idle" } ], "background": { "service_worker": "service-worker-loader.js", "type": "module" }, "web_accessible_resources": [ { "matches": [ "https://leetcode.com/*" ], "resources": [ "assets/*", "vendor/*" ], "use_dynamic_url": false }, { "matches": [ "https://leetcode.com/*" ], "resources": [ "assets/content-7a9c9063.js" ], "use_dynamic_url": true } ], "icons": { "16": "icon16.png", "32": "icon32.png", "48": "icon48.png", "128": "icon128.png" }}
Read more

Similar Extensions

icon

WPS PDF - Read, Edit, Fill, Convert, and AI Chat PDF with Ease Extension · Productivity 0 110 ★ 6.01MiB

icon

Shazam: Find song names from your browser Extension · Productivity 0 22855 ★ 587KiB

icon

IE Tab Extension · Productivity 0 19117 ★ 940KiB

icon

Sider: ChatGPT Sidebar + GPT-4o, Claude 3.5, Gemini 1.5 & AI Tools Extension · Productivity 0 68759 ★ 13.41MiB

icon

BetterTTV Extension · Productivity 0 10377 ★ 657KiB

icon

Google Dictionary (by Google) Extension · Productivity 0 13680 ★ 47.37KiB

icon

Google Input Tools Extension · Productivity 0 5372 ★ 734KiB

icon

Video DownloadHelper Extension · Productivity 0 22351 ★ 1.36MiB

icon

Take Webpage Screenshots Entirely - FireShot Extension · Productivity 0 43664 ★ 12.14MiB

icon

Smallpdf—Edit, Convert, Compress, & AI Summarize PDF Extension · Productivity 0 2967 ★ 1.15MiB

icon

Monica: ChatGPT AI Assistant | GPT-4o, Claude 3.5, Gemini 1.5, o1 &More Extension · Productivity 0 17928 ★ 23.98MiB

icon

Lightshot (screenshot tool) Extension · Productivity 0 6925 ★ 685KiB

icon

ChatGPT for Google Extension · Productivity 0 3642 ★ 11.17MiB

icon

AIPRM for ChatGPT Extension · Productivity 0 2809 ★ 313KiB

icon

Immersive Translate - Translate Web & PDF Extension · Productivity 0 1114 ★ 3.19MiB

icon

Ecosia - The search engine that plants trees Extension · Productivity 0 2394 ★ 33.62KiB

icon

Enhancer for YouTube™ Extension · Productivity 0 15709 ★ 426KiB

icon

Pie Adblock: Block Ads, Get Paid Extension · Productivity 0 3198 ★ 6.49MiB

icon

Scrnli - Screen Recorder & Screen Capture App Extension · Productivity 0 9370 ★ 3.16MiB

icon

BlockSite: Block Websites & Stay Focused Extension · Productivity 0 29776 ★ 18.42MiB

icon

YouTube Summary with ChatGPT & Claude Extension · Productivity 0 1829 ★ 894KiB

icon

Wordtune: AI Writing, Paraphrasing, and Grammar Tool Extension · Productivity 0 2397 ★ 2.79MiB

icon

Keywords Everywhere - Keyword Tool Extension · Productivity 0 5672 ★ 776KiB

icon

Screen Recorder and Screenshot Tool Extension · Productivity 0 879 ★ 1.13MiB