{"id":14979075,"url":"https://github.com/finalsa/fastapi-helpers","last_synced_at":"2025-10-28T14:30:44.684Z","repository":{"id":42024562,"uuid":"407355124","full_name":"finalsa/fastapi-helpers","owner":"finalsa","description":"FastAPI helpers used by the team","archived":false,"fork":false,"pushed_at":"2023-12-12T05:36:11.000Z","size":106,"stargazers_count":4,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-12T04:17:24.522Z","etag":null,"topics":["crud","fastapi","logging","middleware","ormar","python","python3","routes","security"],"latest_commit_sha":null,"homepage":"","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/finalsa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2021-09-17T00:38:07.000Z","updated_at":"2024-07-29T01:35:45.000Z","dependencies_parsed_at":"2024-09-19T01:07:39.049Z","dependency_job_id":"33ae157b-49b1-4e7d-b41c-cd7253d1dd71","html_url":"https://github.com/finalsa/fastapi-helpers","commit_stats":{"total_commits":81,"total_committers":1,"mean_commits":81.0,"dds":0.0,"last_synced_commit":"93f40c49fdaf4ca44784b8a44a5452588873701a"},"previous_names":["finalsa/fastapi-utils"],"tags_count":34,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/finalsa%2Ffastapi-helpers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/finalsa%2Ffastapi-helpers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/finalsa%2Ffastapi-helpers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/finalsa%2Ffastapi-helpers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/finalsa","download_url":"https://codeload.github.com/finalsa/fastapi-helpers/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238410475,"owners_count":19467415,"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":["crud","fastapi","logging","middleware","ormar","python","python3","routes","security"],"created_at":"2024-09-24T13:59:11.387Z","updated_at":"2025-10-28T14:30:44.328Z","avatar_url":"https://github.com/finalsa.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fastapi Helpers\n\nThis pip packages will help you to make your life easier when working with fastapi and ormar.\n\nFor installing this package:\n\n```bash\npip install fastapi-helpers\n```\n\nIf you need a default settings for your app, it includes an implementation BaseSettings of pydantic.\n\n```python\nfrom fastapi_helpers import DefaultSettings\nfrom utils import env_path\nfrom typing import Optional\n\nclass Settings(DefaultSettings):\n    app_name = \"your-app-name\"\n    redis_url: Optional[str] = 'redis://localhost:6379'\n    version: Optional[str] = '1.0.0.0'\n    port: Optional[str] = \"8000\"\n    env: Optional[str] = \"dev\" #dev, test, prod\n\n\nsettings = Settings(env_path)\n```\n\nIf you need a logger, it includes an implementation a colored console, and in prod envs it will log to aws with the help of watchtower.\n\n```python\nfrom fastapi_helpers import DefaultLogger\nfrom .config import settings\n\nlogger = DefaultLogger(\"your-app-name\", settings)\n```\n\nIf you need to connect to a db superfast, the only thing you need to do is to:\n\n```python\nfrom fastapi_helpers import DbConfig\nfrom core.config import settings\nfrom core.logger import logger\n\ndb_config = DbConfig(settings, logger)\n```\n\nThere are other tools for making the usage of ormar and fastapi even easier.\n\n\nI would really like to make this tools bigger, but I´m looking for help for documenting this package.\n\n\nHappy codding!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffinalsa%2Ffastapi-helpers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffinalsa%2Ffastapi-helpers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffinalsa%2Ffastapi-helpers/lists"}