{"id":29892272,"url":"https://github.com/sloppycoder/tfunc","last_synced_at":"2025-08-01T01:22:22.452Z","repository":{"id":303250583,"uuid":"1014771370","full_name":"sloppycoder/tfunc","owner":"sloppycoder","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-06T16:17:50.000Z","size":83,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-06T16:20:47.880Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sloppycoder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"security.py","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-06T11:39:52.000Z","updated_at":"2025-07-06T16:17:53.000Z","dependencies_parsed_at":"2025-07-06T16:32:38.355Z","dependency_job_id":null,"html_url":"https://github.com/sloppycoder/tfunc","commit_stats":null,"previous_names":["sloppycoder/tfunc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sloppycoder/tfunc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sloppycoder%2Ftfunc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sloppycoder%2Ftfunc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sloppycoder%2Ftfunc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sloppycoder%2Ftfunc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sloppycoder","download_url":"https://codeload.github.com/sloppycoder/tfunc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sloppycoder%2Ftfunc/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268152929,"owners_count":24204050,"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-07-31T02:00:08.723Z","response_time":66,"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":[],"created_at":"2025-08-01T01:22:21.143Z","updated_at":"2025-08-01T01:22:22.429Z","avatar_url":"https://github.com/sloppycoder.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Welcome to Python project\n\n## Cookiecutter template for Python3 project\n\nThis is a [cookiecutter](https://www.cookiecutter.io/) template for generic Python3 project with preconfigured with the following tools:\n\n\n| Tool                                            | Purpose                                                                |\n| ----------------------------------------------- | ---------------------------------------------------------------------- |\n| [uv](https://docs.astral.sh/uv/)                | Dependency management and virtual environment setup                    |\n| [ruff](https://docs.astral.sh/ruff/)            | Linter for Python code                                                 |\n| [pre-commit](https://pre-commit.com/)           | Framework for managing and maintaining multi-language pre-commit hooks |\n| [pyright](https://github.com/microsoft/pyright) | Static type checker for Python                                         |\n| [VS Code](https://code.visualstudio.com/)       | Integrated development environment with devcontainer support           |\n\n## Setup\n\nThe easiest way to get started is use [Visual Studio Code with devcontainer](https://code.visualstudio.com/docs/devcontainers/containers)\n\n\n```shell\n\n# create virtualenv and install dependencies\nuv sync\nsource .venv/bin/activate\npre-commit install\nruff check --fix .\npytest -v\n\n```\n\n## Important files\n\n| File                                                                           | Purpose                                                                                                                                                                                     |\n| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| [main.py](main.py)                                                             | main point for FastAPI                                                                                                                                                                      |\n| [settings.py](settings.py)                                                     | read settings from file specified by APP_SETTINGS_ENV or .env if it's not set. Also initializes feature flag provider.                                                                      |\n| [security.py](security.py)                                                     | verify JWT token using keys from a [JWKS](https://datatracker.ietf.org/doc/html/rfc7517) endpoint                                                                                           |\n| [database.py](database.py)                                                     | provides both sync and async database. available only if sqlmodel is selected. setup                                                                                                        |\n| [tests/conftest.py](tests/conftest.py)                                         | [pytest](https://docs.pytest.org/en/stable/) test setup (https://docs.pytest.org/en/stable/) test setup and fixtures, including http client, test database setup and seeding with data, etc |  |\n| [tfunc/api.py](tfunc/api.py)       | api endpoints. the router object will be included by main.py.                                                                                                                               |\n| [tfunc/models.py](tfunc/models.py) | model classes                                                                                                                                                                               |\n                                                                             |\n## alembic migrations\nAlembic is setup but no migration file is present in ```migrations/revisions``` directory. To start using it,\n\n```shell\n# update your models.py\n\n# edit alembic.ini to update the sqlalchemy.url\n\nalembic revision -m \"initial \" --autogenerate\n\nalembic upgrade head\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsloppycoder%2Ftfunc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsloppycoder%2Ftfunc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsloppycoder%2Ftfunc/lists"}