

Also from Kynth Studios


Also from Kynth Studios


Also from Kynth Studios
1# Python Best Practices for GraphQL Filter Demo23This document outlines the Python best practices to be followed during the development of the GraphQL Filter Demo project.45## PEP 8 Compliance67* Adhere to PEP 8 style guide for code formatting.8* Use a linter (like Flake8 or Pylint) and formatter (like Black or autopep8) to ensure compliance.910## Type Hinting1112* Use type hints for function arguments, return values, and variables to improve code readability and maintainability.13* Utilize tools like MyPy for static type checking.1415## Docstrings1617* Write clear and concise docstrings for all modules, classes, methods, and functions.18* Follow a consistent docstring format (e.g., Google, NumPy, or reST style).1920## Modularity and Organization2122* Organize code into logical modules and packages.23* Keep functions and classes small and focused on a single responsibility.2425## Error Handling2627* Use exceptions for error handling.28* Catch specific exceptions rather than broad `except Exception:` clauses.29* Provide informative error messages.3031## Naming Conventions3233* Use descriptive names for variables, functions, classes, and modules.34* Follow PEP 8 naming conventions (snake_case for functions/variables, PascalCase for classes).3536## Imports3738* Organize imports at the top of the file.39* Group imports in the following order: standard library, third-party libraries, local application/library specific imports.40* Use absolute imports where possible.4142## Testing4344* Write tests for your code (unit tests, integration tests).45* Aim for good test coverage.46
One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| ericchaves/vibe-graphql-demo.clinerules/project_workflow.md · 0 | Cline rules | setupteststylegit+3 | 76/100 | 13 days ago | |
| ericchaves/vibe-graphql-demo.clinerules/sqlite_data_modeling.md · 0 | Cline rules | typesdatabaseapi | 44/100 | 13 days ago | |
| ericchaves/vibe-graphql-demo.clinerules/strawberry_graphql_guidelines.md · 0 | Cline rules | styletypesdatabaseapi | 48/100 | 13 days ago |
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| enuno/unifi-mcp-server.clinerules · 226 | Cline rules | setuptestlint-formatstyle+10 | 96/100 | today | |
| u9401066/zotero-keeper.clinerules/50-pubmed-project.md · 6 | Cline rules | testlint-formatstylearch+1 | 94/100 | 14 days ago | |
| u9401066/pubmed-search-mcp.clinerules/50-pubmed-project.md · 25 | Cline rules | testlint-formatstylearch+1 | 94/100 | 14 days ago | |
| u9401066/zotero-keepervscode-extension/resources/repo-assets/pubmed-search-mcp/.clinerules/50-pubmed-project.md · 6 | Cline rules | testlint-formatstylearch+1 | 94/100 | 14 days ago | |
| ryok/python-boilerplate.clinerules/common-commands.md · 0 | Cline rules | setupbuildtestlint-format+3 | 90/100 | 13 days ago | |
| gasbasd/mtg-utils.clinerules/01-project-overview.md · 0 | Cline rules | setuptestlint-formatarch | 89/100 | 8 days ago | |
| u9401066/pubmed-search-mcp.clinerules/60-pubmed-python.md · 25 | Cline rules | setuptestlint-formatstyle+2 | 86/100 | 14 days ago | |
| u9401066/pubmed-search-mcp.clinerules/00-project.md · 25 | Cline rules | testlint-formatstylearch+1 | 86/100 | 14 days ago |
A badge carrying the measured quality of the strongest agent config file in this repository, out of 100. It reads from this index every time somebody loads your page, so it changes when the measurement changes and there is nothing to keep up to date. Free, no account, and the value is not something you or we can set by hand.
[](https://rulestack.kynth.studio/configs/ericchaves-vibe-graphql-demo-clinerules-python-best-practices)Would rather not hotlink us? Every badge is also served in shields.io’s endpoint schema, so shields renders the image and your readers never talk to our domain:
Published by Toolproof, the masthead over this index and eight others. The method behind the number is at toolproof.kynth.studio/methodology, and the whole thing is readable as JSON with no key at /api.