{"id":27123010,"url":"https://github.com/excoriate/i2b-demo-python","last_synced_at":"2025-10-09T20:19:55.716Z","repository":{"id":285326235,"uuid":"957740716","full_name":"Excoriate/i2b-demo-python","owner":"Excoriate","description":"Single Pane of Glass for Developer Workflow Management","archived":false,"fork":false,"pushed_at":"2025-03-31T03:36:53.000Z","size":112,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-04T12:05:25.472Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/makemyinfra-prospects/i2b-demo-python","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/Excoriate.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-31T03:31:15.000Z","updated_at":"2025-03-31T03:36:56.000Z","dependencies_parsed_at":"2025-03-31T04:36:43.247Z","dependency_job_id":null,"html_url":"https://github.com/Excoriate/i2b-demo-python","commit_stats":null,"previous_names":["excoriate/i2b-demo-python"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Excoriate/i2b-demo-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Excoriate%2Fi2b-demo-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Excoriate%2Fi2b-demo-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Excoriate%2Fi2b-demo-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Excoriate%2Fi2b-demo-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Excoriate","download_url":"https://codeload.github.com/Excoriate/i2b-demo-python/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Excoriate%2Fi2b-demo-python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002014,"owners_count":26083258,"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-10-09T02:00:07.460Z","response_time":59,"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-04-07T12:34:10.569Z","updated_at":"2025-10-09T20:19:55.699Z","avatar_url":"https://github.com/Excoriate.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# i2b-demo-python\n\nFastAPI service using CouchDB, managed with uv.\n\n## Overview\n\nThis project provides a basic structure for a Python API service built with FastAPI, using CouchDB as the database, `uv` for package management, and `just` as a task runner. It includes Docker support for containerization.\n\n## Setup\n\n1.  **Environment Variables:** Copy the `.env.example` file to `.env` and fill in your specific configuration values:\n    ```bash\n    cp .env.example .env\n    # Edit .env with your details\n    ```\n2.  **Install Dependencies:** Create the virtual environment (if needed) and install dependencies using `just`:\n    ```bash\n    just install\n    ```\n\n## Running the Application\n\n*   **Locally:** Use the `just` command:\n    ```bash\n    just run\n    ```\n    The API will be available at `http://\u003cAPP_HOST\u003e:\u003cAPP_PORT\u003e` (e.g., `http://0.0.0.0:8000`).\n\n*   **With Docker Compose:** Use the `just` command (ensure Docker Desktop or Docker Engine is running):\n    ```bash\n    just compose-up\n    ```\n    This will build the images (if necessary) and start the `app` and `db` services defined in `compose.yaml`. The API will be available at `http://localhost:8000`. To stop the services:\n    ```bash\n    just compose-down\n    ```\n\n## Environment Variables\n\nThe application requires the following environment variables to be set (either in your shell or in a `.env` file):\n\n| Variable         | Description                                      | Example Value             |\n|------------------|--------------------------------------------------|---------------------------|\n| `COUCHDB_URL`    | URL for the CouchDB instance                     | `http://localhost:5984/`  |\n| `COUCHDB_USER`   | Username for CouchDB authentication              | `admin`                   |\n| `COUCHDB_PASSWORD`| Password for CouchDB authentication              | `password`                |\n| `COUCHDB_DB_NAME`| Name of the database to use within CouchDB       | `apisq_db`                |\n| `APP_HOST`       | Host address for the FastAPI application to bind | `0.0.0.0`                 |\n| `APP_PORT`       | Port for the FastAPI application to listen on    | `8000`                    |\n| `LOG_LEVEL`      | Logging level for the application                | `INFO`                    |\n| `PROJECT_NAME`   | Name of the project (used in API metadata)       | `\"i2b-demo-python API\"`   |\n| `API_V1_STR`     | Base path prefix for API version 1               | `/api/v1`                 |\n\n## Other Commands\n\nUse `just --list` to see all available commands defined in the `justfile`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexcoriate%2Fi2b-demo-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexcoriate%2Fi2b-demo-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexcoriate%2Fi2b-demo-python/lists"}