{"id":19525430,"url":"https://github.com/fastapiutils/fastapi-utils","last_synced_at":"2025-05-13T00:12:14.969Z","repository":{"id":38775365,"uuid":"234978122","full_name":"fastapiutils/fastapi-utils","owner":"fastapiutils","description":"Reusable utilities for FastAPI","archived":false,"fork":false,"pushed_at":"2025-03-03T19:47:13.000Z","size":549,"stargazers_count":2069,"open_issues_count":63,"forks_count":176,"subscribers_count":18,"default_branch":"master","last_synced_at":"2025-05-13T00:12:09.327Z","etag":null,"topics":["fastapi"],"latest_commit_sha":null,"homepage":"https://fastapiutils.github.io/fastapi-utils/","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/fastapiutils.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2020-01-19T22:34:25.000Z","updated_at":"2025-05-11T07:28:11.000Z","dependencies_parsed_at":"2024-01-03T02:29:59.158Z","dependency_job_id":"fbe38a9a-eca7-471a-918b-426941ced260","html_url":"https://github.com/fastapiutils/fastapi-utils","commit_stats":{"total_commits":29,"total_committers":6,"mean_commits":4.833333333333333,"dds":0.5172413793103448,"last_synced_commit":"1a142660ddf9379478c4e684db6ce5d0c050b970"},"previous_names":["fastapiutils/fastapi-utils","dmontagu/fastapi-utils"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastapiutils%2Ffastapi-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastapiutils%2Ffastapi-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastapiutils%2Ffastapi-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastapiutils%2Ffastapi-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fastapiutils","download_url":"https://codeload.github.com/fastapiutils/fastapi-utils/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253843219,"owners_count":21972874,"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","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":["fastapi"],"created_at":"2024-11-11T01:04:25.270Z","updated_at":"2025-05-13T00:12:14.946Z","avatar_url":"https://github.com/fastapiutils.png","language":"Python","readme":"\u003cp align=\"center\"\u003e\n    \u003cem\u003eQuicker FastApi developing tools\u003c/em\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://github.com/dmontagu/fastapi-utils\" target=\"_blank\"\u003e\n \u003cimg src=\"https://img.shields.io/github/last-commit/dmontagu/fastapi-utils.svg\"\u003e\n \u003cimg src=\"https://github.com/dmontagu/fastapi-utils/workflows/build/badge.svg\" alt=\"Build CI\"\u003e\n\u003c/a\u003e\n\u003ca href=\"https://codecov.io/gh/dmontagu/fastapi-utils\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://codecov.io/gh/dmontagu/fastapi-utils/branch/master/graph/badge.svg\" alt=\"Coverage\"\u003e\n\u003c/a\u003e\n\u003cbr /\u003e\n\u003ca href=\"https://pypi.org/project/fastapi-utils\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://badge.fury.io/py/fastapi-utils.svg\" alt=\"Package version\"\u003e\n\u003c/a\u003e\n\u003ca href=\"https://github.com/dmontagu/fastapi-utils\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/pypi/pyversions/fastapi-utils.svg\" alt=\"Python versions\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/license/dmontagu/fastapi-utils.svg\" alt=\"License\"\u003e\n\u003c/a\u003e\n\u003c/p\u003e\n\n---\n**Documentation**: \u003ca href=\"https://fastapiutils.github.io/fastapi-utils/\" target=\"_blank\"\u003ehttps://fastapiutils.github.io/fastapi-utils/\u003c/a\u003e\n\n**Source Code**: \u003ca href=\"https://github.com/dmontagu/fastapi-utils\" target=\"_blank\"\u003ehttps://github.com/dmontagu/fastapi-utils\u003c/a\u003e\n\n---\n\n\u003ca href=\"https://fastapi.tiangolo.com\"\u003eFastAPI\u003c/a\u003e is a modern, fast web framework for building APIs with Python 3.8+.\n\nBut if you're here, you probably already knew that!\n\n---\n\n## Features\n\nThis package includes a number of utilities to help reduce boilerplate and reuse common functionality across projects:\n\n* **Resource Class**: Create CRUD with ease the OOP way with `Resource` base class that lets you implement methods quick.\n* **Class Based Views**: Stop repeating the same dependencies over and over in the signature of related endpoints.\n* **Repeated Tasks**: Easily trigger periodic tasks on server startup\n* **Timing Middleware**: Log basic timing information for every request\n* **OpenAPI Spec Simplification**: Simplify your OpenAPI Operation IDs for cleaner output from OpenAPI Generator\n* **SQLAlchemy Sessions**: The `FastAPISessionMaker` class provides an easily-customized SQLAlchemy Session dependency\n\n---\n\nIt also adds a variety of more basic utilities that are useful across a wide variety of projects:\n\n* **APIModel**: A reusable `pydantic.BaseModel`-derived base class with useful defaults\n* **APISettings**: A subclass of `pydantic.BaseSettings` that makes it easy to configure FastAPI through environment variables\n* **String-Valued Enums**: The `StrEnum` and `CamelStrEnum` classes make string-valued enums easier to maintain\n* **CamelCase Conversions**: Convenience functions for converting strings from `snake_case` to `camelCase` or `PascalCase` and back\n* **GUID Type**: The provided GUID type makes it easy to use UUIDs as the primary keys for your database tables\n\nSee the [docs](https://fastapiutils.github.io/fastapi-utils//) for more details and examples.\n\n## Requirements\n\nThis package is intended for use with any recent version of FastAPI (depending on `pydantic\u003e=1.0`), and Python 3.8+.\n\n## Installation\n\n```bash\npip install fastapi-utils  # For basic slim package :)\n\npip install fastapi-utils[session]  # To add sqlalchemy session maker\n\npip install fastapi-utils[all]  # For all the packages\n```\n\n## License\n\nThis project is licensed under the terms of the MIT license.\n","funding_links":[],"categories":["Python","HarmonyOS","FastAPI Utilities","Third-Party Extensions"],"sub_categories":["Windows Manager","Utils"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastapiutils%2Ffastapi-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffastapiutils%2Ffastapi-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastapiutils%2Ffastapi-utils/lists"}