{"id":25205947,"url":"https://github.com/iobruno/fastapi-tfserve","last_synced_at":"2025-04-05T02:22:52.614Z","repository":{"id":132928321,"uuid":"499716259","full_name":"iobruno/fastapi-tfserve","owner":"iobruno","description":"Tensorflow-based Object Detection on the CIFAR-10 dataset, served with FastAPI","archived":false,"fork":false,"pushed_at":"2025-02-09T16:47:26.000Z","size":12803,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T21:05:44.864Z","etag":null,"topics":["cifar-10","cifar-10-classifier","fastapi","tensorflow2"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc-by-sa-4.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iobruno.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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":"2022-06-04T03:43:31.000Z","updated_at":"2025-02-09T16:47:30.000Z","dependencies_parsed_at":"2023-12-27T12:27:27.162Z","dependency_job_id":"b31b1d21-2ef8-4432-a512-19b817a592db","html_url":"https://github.com/iobruno/fastapi-tfserve","commit_stats":null,"previous_names":["iobruno/fastapi-tfserve"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iobruno%2Ffastapi-tfserve","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iobruno%2Ffastapi-tfserve/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iobruno%2Ffastapi-tfserve/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iobruno%2Ffastapi-tfserve/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iobruno","download_url":"https://codeload.github.com/iobruno/fastapi-tfserve/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247277151,"owners_count":20912475,"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":["cifar-10","cifar-10-classifier","fastapi","tensorflow2"],"created_at":"2025-02-10T10:34:34.666Z","updated_at":"2025-04-05T02:22:52.318Z","avatar_url":"https://github.com/iobruno.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FastAPI TensorFlow Serving\n\n![Python](https://img.shields.io/badge/Python-3.12-4B8BBE.svg?style=flat\u0026logo=python\u0026logoColor=FFD43B\u0026labelColor=306998)\n[![TensorFlow](https://img.shields.io/badge/TensorFlow-2.18-FF7400.svg?style=flat\u0026logo=tensorflow\u0026logoColor=FF7400\u0026labelColor=212121)](https://www.tensorflow.org/guide)\n[![FastAPI](https://img.shields.io/badge/FastAPI-0.115-009688.svg?style=flat\u0026logo=FastAPI\u0026logoColor=009688\u0026labelColor=212121)](https://fastapi.tiangolo.com/tutorial/)\n[![uv](https://img.shields.io/badge/astral/uv-261230?style=flat\u0026logo=uv\u0026logoColor=DE5FE9\u0026labelColor=261230)](https://docs.astral.sh/uv/getting-started/installation/)\n[![Docker](https://img.shields.io/badge/Docker-329DEE?style=flat\u0026logo=docker\u0026logoColor=white\u0026labelColor=329DEE)](https://docs.docker.com/get-docker/)\n\n![License](https://img.shields.io/badge/license-CC--BY--SA--4.0-31393F?style=flat\u0026logo=creativecommons\u0026logoColor=black\u0026labelColor=white)\n\nGitHub project for Tensorflow-based Object Detection on the CIFAR-10 dataset, served with FastAPI.\n\n\n## Getting Started\n\n**1.** Install dependencies from pyproject.toml and activate the created virtualenv:\n```shell\nuv sync \u0026\u0026 source .venv/bin/activate\n```\n\n**2.** Start the app with `gunicorn` with:\n```shell\nmake run\n```\n\n**3.** Access the Swagger UI at:\n```shell\nopen http://localhost:8080\n```\n\n## Containerization\n\n**1.** Build the Docker Image with:\n```shell\nmake docker-image\n```\n\n**2.** Spin up the container with:\n```shell\nmake docker-run\n```\n\n**3.** Access the Swagger UI at:\n```\nopen http://localhost:8000\n```\n\n## TODO's:\n- [x] PEP-517: Packaging and dependency management with `uv`\n- [x] Code format/lint with Ruff\n- [x] Run on Docker\n- [ ] Serve it with Streamlit\n- [ ] GitHub CI","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiobruno%2Ffastapi-tfserve","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiobruno%2Ffastapi-tfserve","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiobruno%2Ffastapi-tfserve/lists"}