{"id":34032149,"url":"https://github.com/hmarcuzzo/fastgear","last_synced_at":"2026-04-22T02:02:04.046Z","repository":{"id":195377513,"uuid":"692502367","full_name":"hmarcuzzo/fastgear","owner":"hmarcuzzo","description":"Python library for FastAPI, boosting SQLAlchemy and Redis with pagination, error handling, and session management.","archived":false,"fork":false,"pushed_at":"2026-01-25T16:22:24.000Z","size":1561,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-26T08:43:34.045Z","etag":null,"topics":["api","async","asyncio","fastapi","fastgear","openapi","pydantic","python","python3","rest","sqlalchemy","sync","web"],"latest_commit_sha":null,"homepage":"https://hmarcuzzo.github.io/fastgear/","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/hmarcuzzo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2023-09-16T17:14:43.000Z","updated_at":"2026-01-25T15:49:36.000Z","dependencies_parsed_at":"2023-10-21T05:00:36.512Z","dependency_job_id":"530201cf-b72b-4bf9-ab54-27e9dddd722c","html_url":"https://github.com/hmarcuzzo/fastgear","commit_stats":null,"previous_names":["hmarcuzzo/fast-utils","hmarcuzzo/fastgear"],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/hmarcuzzo/fastgear","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmarcuzzo%2Ffastgear","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmarcuzzo%2Ffastgear/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmarcuzzo%2Ffastgear/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmarcuzzo%2Ffastgear/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hmarcuzzo","download_url":"https://codeload.github.com/hmarcuzzo/fastgear/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmarcuzzo%2Ffastgear/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29279521,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T19:05:41.198Z","status":"ssl_error","status_checked_at":"2026-02-09T19:05:37.449Z","response_time":56,"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":["api","async","asyncio","fastapi","fastgear","openapi","pydantic","python","python3","rest","sqlalchemy","sync","web"],"created_at":"2025-12-13T18:38:13.895Z","updated_at":"2026-04-22T02:02:04.036Z","avatar_url":"https://github.com/hmarcuzzo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\" markdown=1\u003e\n  \u003ci\u003ePython library for FastAPI, boosting SQLAlchemy and Redis with pagination, error handling, and session management.\u003c/i\u003e\n\u003c/p\u003e\n\u003cp align=\"center\" markdown=1\u003e\n\u003ca href=\"https://github.com/hmarcuzzo/fastgear\" target=\"_blank\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Python-3.11 | 3.12 | 3.13 | 3.14-40cd60\" alt=\"Supported Python Versions\"/\u003e\n\u003c/a\u003e\n\u003ca href=\"https://pypi.org/project/fastgear/\" target=\"_blank\"\u003e\n  \u003cimg src=\"https://img.shields.io/pypi/v/fastgear?color=%2334D058\u0026label=pypi%20package\" alt=\"PyPi Version\"/\u003e\n\u003c/a\u003e\n\u003ca href=\"https://github.com/hmarcuzzo/fastgear/actions/workflows/tests.yaml\" target=\"_blank\"\u003e\n  \u003cimg src=\"https://github.com/hmarcuzzo/fastgear/actions/workflows/tests.yaml/badge.svg\" alt=\"Tests\"/\u003e\n\u003c/a\u003e\n\u003ca href=\"https://codecov.io/gh/hmarcuzzo/fastgear\" target=\"_blank\"\u003e \n  \u003cimg src=\"https://codecov.io/gh/hmarcuzzo/fastgear/graph/badge.svg?token=TI97JTMZOR\" alt=\"Codecov\"/\u003e\n\u003c/a\u003e\n\u003c/p\u003e\n\u003chr\u003e\n\u003cp align=\"justify\"\u003e\n\u003cb\u003eFastGear\u003c/b\u003e is a comprehensive Python library designed for \u003cb\u003eFastAPI\u003c/b\u003e. It provides robust support for both \n    asynchronous and synchronous operations with \u003cb\u003eSQLAlchemy\u003c/b\u003e and asynchronous operations with \u003cb\u003eRedis\u003c/b\u003e. Key \n    features include dynamic pagination, custom error handling, automatic database session management within a context \n    manager, and much more.\n\u003c/p\u003e\n\u003chr\u003e\n\n**Documentation**: \u003ca href=\"https://hmarcuzzo.github.io/fastgear/\" target=\"_blank\"\u003ehttps://hmarcuzzo.github.io/fastgear/\u003c/a\u003e\n\n**Source Code**: \u003ca href=\"https://github.com/hmarcuzzo/fastgear\" target=\"_blank\"\u003ehttps://github.com/hmarcuzzo/fastgear\u003c/a\u003e\n\n\n## Features\n-  ⚡ **Fully Async**: Leverages Python's async capabilities for non-blocking database operations.\n- 🗄️ **SQLAlchemy 2.0**: Works with the latest SQLAlchemy version for robust database interactions.\n- 🔴 **Redis Support**: Provides support for Redis for caching and other operations.\n- 🔍 **Dynamic Query Building**: Supports building simple queries dynamically, including filtering, sorting, soft-delete and pagination.\n- 📊 **Built-in Offset Pagination**: Comes with ready-to-use offset pagination.\n- 🛡️ **Custom Error Handling**: Provides custom error handling for better debugging and user experience.\n- 🔄 **Session Management**: Automatically manages database sessions within a context manager.\n\n## Requirements\n\nBefore installing FastGear, ensure you have the following prerequisites:\n\n* **Python:** Version 3.11 or newer.\n* **FastAPI:** FastGear is built to work with FastAPI, so having FastAPI in your project is essential.\n* **SQLAlchemy:** FastGear uses SQLAlchemy 2.0 for database operations, so you need SQLAlchemy 2.0 or newer.\n* **Pydantic V2:** FastGear leverages Pydantic models for data validation and serialization, so you need Pydantic 2.0 or newer.\n* **Redis:** If you plan to use Redis with FastGear, you need to have Redis installed and running in a version 5.0 or newer.\n\n# Installing\n\nTo install the `fastgear` package, follow these steps:\n\n## Using pip\nRun the following command:\n```sh\npip install fastgear\n```\n\n## Using Poetry\nRun the following command:\n```sh\npoetry add fastgear\n```\n\n## Using uv\nRun the following command:\n```sh\nuv add fastgear\n```\n\n## FastGear CLI\n\nTo make working with FastGear even easier, there is an official CLI tool available:\n\n**[fastgear-cli](https://github.com/hmarcuzzo/fastgear-cli)** — a command-line interface that helps you scaffold and manage FastGear-based projects with less boilerplate.\n\n## License\n\nThis project is licensed under the terms of the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhmarcuzzo%2Ffastgear","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhmarcuzzo%2Ffastgear","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhmarcuzzo%2Ffastgear/lists"}