{"id":19816005,"url":"https://github.com/replicate/python-starter","last_synced_at":"2026-05-31T23:31:04.388Z","repository":{"id":207688421,"uuid":"719859458","full_name":"replicate/python-starter","owner":"replicate","description":"A python starter project for running machine learning models in the cloud with Replicate","archived":false,"fork":false,"pushed_at":"2023-11-17T03:42:00.000Z","size":2,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-12-17T18:38:57.562Z","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/replicate.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":null,"support":null,"governance":null}},"created_at":"2023-11-17T03:39:31.000Z","updated_at":"2024-06-04T23:11:27.000Z","dependencies_parsed_at":"2023-11-17T05:03:07.123Z","dependency_job_id":null,"html_url":"https://github.com/replicate/python-starter","commit_stats":null,"previous_names":["replicate/python-starter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/replicate/python-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/replicate%2Fpython-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/replicate%2Fpython-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/replicate%2Fpython-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/replicate%2Fpython-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/replicate","download_url":"https://codeload.github.com/replicate/python-starter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/replicate%2Fpython-starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33753923,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-31T02:00:06.040Z","response_time":95,"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":"2024-11-12T10:08:00.856Z","updated_at":"2026-05-31T23:31:04.158Z","avatar_url":"https://github.com/replicate.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Replicate Python Starter\n\nThis is a starter project for users who want to use the [Replicate Python client](https://github.com/replicate/replicate-python) to run machine learning models in the cloud.\n\n## Prerequisites\n- You have installed python 3.8 or higher.\n- You have a Replicate API token.\n\n## Getting started\n1. Clone this repository with `git clone git@github.com:replicate/python-starter.git`\n2. Ensure virutalenv is installed with `pip install virtualenv`\n3. Create a virtual environment with `virtualenv .venv`\n4. Source the virtual environment with `source .venv/bin/activate` \n5. Install the dependencies with `pip install -r requirements.txt`\n6. Add your Replicate API token by running `cp .env.example .env` and editing the `.env` file\n7. Run the script with `python prediction.py`\n\n## Contributing to This Project\nTo contribute to this project, follow these steps:\n\n- Fork this repository.\n- Create a branch: `git checkout -b \u003cbranch_name\u003e`\n- Make your changes and commit them: `git commit -m '\u003ccommit_message\u003e'`\n- Push to the original branch: `git push origin \u003cproject_name\u003e/\u003clocation\u003e`\n- Create the pull request.\n\nAlternatively, see the GitHub documentation on [creating a pull request](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freplicate%2Fpython-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freplicate%2Fpython-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freplicate%2Fpython-starter/lists"}