{"id":14975946,"url":"https://github.com/floydya/declarativex","last_synced_at":"2025-08-11T13:11:32.765Z","repository":{"id":192584208,"uuid":"687049523","full_name":"floydya/declarativex","owner":"floydya","description":"Your Declarative HTTP client library on Python","archived":false,"fork":false,"pushed_at":"2024-11-14T20:30:38.000Z","size":1297,"stargazers_count":29,"open_issues_count":9,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-24T04:41:29.721Z","etag":null,"topics":["api","async","declarative","declarative-http-client","fastapi","graphql","graphql-client","httpx","json","pydantic","python","python-types","python3","sync"],"latest_commit_sha":null,"homepage":"https://declarativex.dev/","language":"Python","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/floydya.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"ko_fi":"floydya"}},"created_at":"2023-09-04T13:49:58.000Z","updated_at":"2024-12-30T22:28:29.000Z","dependencies_parsed_at":"2023-12-01T21:26:58.601Z","dependency_job_id":"ef8e5c7a-fde9-458a-9e2f-c752d0c19848","html_url":"https://github.com/floydya/declarativex","commit_stats":{"total_commits":77,"total_committers":3,"mean_commits":"25.666666666666668","dds":"0.051948051948051965","last_synced_commit":"a49b58d0b62c29e6e7f19c300f0d85a1e5be880e"},"previous_names":["floydya/declarativex"],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/floydya/declarativex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floydya%2Fdeclarativex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floydya%2Fdeclarativex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floydya%2Fdeclarativex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floydya%2Fdeclarativex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/floydya","download_url":"https://codeload.github.com/floydya/declarativex/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floydya%2Fdeclarativex/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269893402,"owners_count":24492099,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-11T02:00:10.019Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["api","async","declarative","declarative-http-client","fastapi","graphql","graphql-client","httpx","json","pydantic","python","python-types","python3","sync"],"created_at":"2024-09-24T13:52:55.509Z","updated_at":"2025-08-11T13:11:32.713Z","avatar_url":"https://github.com/floydya.png","language":"Python","readme":"[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/declarativex?style=for-the-badge\u0026logo=python\u0026logoColor=FF0077\u0026color=FFD43B)](https://pypi.org/project/declarativex)\n[![PyPI - Downloads](https://img.shields.io/pypi/dw/declarativex?style=for-the-badge\u0026link=https%3A%2F%2Fpypi.org%2Fproject%2Fdeclarativex\u0026color=FFD43B\u0026logoColor=FF0077\u0026logo=ownCloud)](https://pypi.org/project/declarativex)\n[![Coverage](https://img.shields.io/badge/COVERAGE-100%25-FFD43B?style=for-the-badge\u0026logo=codecov)](https://pypi.org/project/declarativex)\n\n\n# DeclarativeX: Your Declarative HTTP Client 🚀\n\n## Why Choose DeclarativeX? 🤷‍♂️\n\nSick of writing boilerplate for every HTTP request? Headers, JSON parsing, and all that jazz? \n\nSay hello to `DeclarativeX`! \n\nWe handle the nitty-gritty so you can focus on what really counts—your core logic.\n\n## 🌟 Key Features\n\n- **Declarative Goodness**: Decorators make your life easy. Just add and go!\n- **Function Over Form**: No need for classes. Check the docs for function-based setups.\n- **Data Validation**: Using Pydantic? We've got your robust validation needs covered.\n- **Async Ready**: Need it fast? We're async-compatible.\n- **Rate Limiting**: Stay on the good side of APIs with built-in rate limiting.\n- **Authentication**: Add authentication with a single line of code.\n- **Automatic Retries**: We retry failed requests automatically(or reject, if you prefer).\n- **Middleware Support**: Add your custom logic with ease.\n- **Auto Body Parsing**: Skip manual parsing. Use a dataclass or Pydantic model for auto-magic.\n- **GraphQL**: We support GraphQL queries and mutations out of the box.\n\n## Installation 🛠️\n\n```bash\npip install declarativex\n```\n\n### Available extras 🎁\n\nDeclarativeX comes with a few extras that you can install separately. Here's a list of available extras:\n\n- `http2` - HTTP/2 support\n- `graphql` - GraphQL support\n- `brotli` - Brotli compression support\n\nTo install an extra, just add it to the end of the command:\n\n```bash\npip install declarativex[http2,graphql,brotli]\n```\n\n## Docs 📖\n\nFind all the details at [https://declarativex.dev](https://declarativex.dev).\n\n## Show Some Love ❤️\n\nEvery contribution counts and is super appreciated! 🙏\n\nLiking what you see? Support the creator to keep this project thriving.\n\n[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/E1E2OL196)\n","funding_links":["https://ko-fi.com/floydya","https://ko-fi.com/E1E2OL196"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffloydya%2Fdeclarativex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffloydya%2Fdeclarativex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffloydya%2Fdeclarativex/lists"}