{"id":33899187,"url":"https://github.com/paturikaustubh/py-scope","last_synced_at":"2026-01-19T13:00:50.796Z","repository":{"id":274082637,"uuid":"921833121","full_name":"paturikaustubh/py-scope","owner":"paturikaustubh","description":"Enhance Python code readability with dynamic block highlighting. Perfect for visualizing code structure and improving developer productivity.","archived":false,"fork":false,"pushed_at":"2025-09-22T05:19:40.000Z","size":59173,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-12T23:48:07.976Z","etag":null,"topics":["code-highlighter","formatting","python"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/paturikaustubh.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-01-24T17:46:43.000Z","updated_at":"2025-12-07T11:48:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"9f06276c-d36f-4b6e-ac02-585d44e71ba9","html_url":"https://github.com/paturikaustubh/py-scope","commit_stats":null,"previous_names":["paturikaustubh/py-scope"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/paturikaustubh/py-scope","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paturikaustubh%2Fpy-scope","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paturikaustubh%2Fpy-scope/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paturikaustubh%2Fpy-scope/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paturikaustubh%2Fpy-scope/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paturikaustubh","download_url":"https://codeload.github.com/paturikaustubh/py-scope/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paturikaustubh%2Fpy-scope/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28568833,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T12:50:50.164Z","status":"ssl_error","status_checked_at":"2026-01-19T12:50:42.704Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["code-highlighter","formatting","python"],"created_at":"2025-12-11T22:00:09.755Z","updated_at":"2026-01-19T13:00:50.786Z","avatar_url":"https://github.com/paturikaustubh.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PyScope - Python Code Block Highlighter 🎨🐍\n\n**Tired of losing track of your Python code blocks?**\n**Struggling to see where that `if` statement ends or where your `def` begins?**\n**Say hello to PyScope!** 🚀\n\n---\n\n## What is PyScope? 🤔\n\nPyScope is your new best friend for writing Python code in VS Code. It **highlights code blocks** (like functions, loops, and conditionals) with beautiful background colors, making it super easy to see where each block starts and ends. No more squinting at indentation! 👀\n\n![PyScope Walkthru](./media/samples/walkthru.gif)\n\n---\n\n## Why Use PyScope? 🌟\n\n- **Visualize Python Blocks**: See your `def`, `if`, `for`, and other blocks clearly with colorful highlights.\n- **No More Indentation Confusion**: Never lose track of where a block ends, even in deeply nested code.\n- **Customizable Colors**: Make it your own with customizable highlight colors. 🎨\n- **Lightweight \u0026 Fast**: Works seamlessly without slowing down your editor. ⚡\n\n---\n\n## How Does It Work? 🛠️\n\nPyScope uses Python's **indentation rules** to dynamically detect code blocks. When you move your cursor, it highlights:\n\n- The **entire block** (with a subtle background color).\n- The **first line** (with a darker highlight).\n- The **last line** (with a darker highlight).\n\nIt’s like having **X-ray vision** for your Python code! 👓\n\n---\n\n## Features ✨\n\n### Dynamic Block Highlighting\n\nPyScope automatically detects and highlights the code block your cursor is currently in. This works for all Python keywords.\n\n### Customizable Highlight Color\n\nYou can change the color of the highlighted blocks to match your theme or preference.\n\n**Using the `pyScope.changeColor` Command:**\nRun the command from the command palette (`Ctrl+Shift+P`) and choose from a list of preset colors or select \"Custom...\" to open a color picker.\n\n![Change color using command](./media/samples/color-changer.gif)\n\n### Customizable Highlight Opacity\n\nYou can also adjust the opacity of the block highlight and the first/last line highlight separately.\n\n**Using the `pyScope.changeOpacity` Command:**\nRun the command from the command palette and choose which opacity setting you want to change. Then, enter a value between 0 and 1.\n\n![Change opacity using command](./media/samples/highlight-opacity.gif)\n\n### Block Selection\n\nPyScope also allows you to select the entire code block with a single command.\n\n**Using the `pyScope.selectBlock` Command:**\nRun the command from the command palette to select the current block. You can run it multiple times to select parent blocks in a nested structure.\n\n**Using the `pyScope.undoBlockSelection` Command:**\nRun this command to undo the last block selection.\n\n![Block selection using commands](./media/samples/block-selector.gif)\n\n---\n\n## Installation 🚀\n\n1. Open **VS Code**.\n2. Go to the **Extensions Marketplace** (`Ctrl+Shift+X`).\n3. Search for **PyScope**.\n4. Click **Install**.\n5. Open a Python file and watch the magic happen! ✨\n\n---\n\n## Support \u0026 Feedback 💬\n\nLove PyScope? Hate it? Found a bug?Let me know!\n\n- **GitHub Issues**: [Report an Issue](https://github.com/paturikaustubh/py-scope/issues)\n- **Feature Requests**: [Suggest a Feature](https://github.com/paturikaustubh/py-scope/discussions)\n- **Star the Repo**: [GitHub Repo](https://github.com/paturikaustubh/py-scope) ⭐\n\n---\n\n## Contributing 🤝\n\nWant to make PyScope even better? Contributions are welcome!\nFeel free to fork the repo, make the changes and raise a PR! We'll discuss the changes\n[Fork Repository](https://github.com/paturikaustubh/py-scope/fork)\n\n---\n\n## License 📜\n\nPyScope is open-source and licensed under the **MIT License**.\nDo whatever you want with it (just give credit where it’s due)! 😄\n\n---\n\n## Made with ❤️ by Kaustubh Paturi\n\nCoding should be fun, and PyScope is here to make it even more enjoyable.\nHappy coding! 🎉🐍\n\n---\n\n**P.S.** If you love PyScope, share it with your friends and spread the word! 🌍✨\n\n---\n\n# _**Nothing great ever came that easy**_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaturikaustubh%2Fpy-scope","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaturikaustubh%2Fpy-scope","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaturikaustubh%2Fpy-scope/lists"}