{"id":18459652,"url":"https://github.com/hatchet-dev/hatchet-python-quickstart","last_synced_at":"2025-04-08T06:31:50.406Z","repository":{"id":223364701,"uuid":"760116873","full_name":"hatchet-dev/hatchet-python-quickstart","owner":"hatchet-dev","description":"Quickstart for Hatchet using the Python SDK with examples for common frameworks","archived":false,"fork":false,"pushed_at":"2025-01-24T23:58:18.000Z","size":493,"stargazers_count":36,"open_issues_count":5,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-23T07:12:41.525Z","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/hatchet-dev.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-19T20:16:27.000Z","updated_at":"2025-03-09T14:44:32.000Z","dependencies_parsed_at":"2024-02-22T17:56:12.442Z","dependency_job_id":"84c87731-bb93-4afa-a704-871b6269aac4","html_url":"https://github.com/hatchet-dev/hatchet-python-quickstart","commit_stats":null,"previous_names":["hatchet-dev/hatchet-python-quickstart"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hatchet-dev%2Fhatchet-python-quickstart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hatchet-dev%2Fhatchet-python-quickstart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hatchet-dev%2Fhatchet-python-quickstart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hatchet-dev%2Fhatchet-python-quickstart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hatchet-dev","download_url":"https://codeload.github.com/hatchet-dev/hatchet-python-quickstart/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247792045,"owners_count":20996876,"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":[],"created_at":"2024-11-06T08:23:57.303Z","updated_at":"2025-04-08T06:31:50.387Z","avatar_url":"https://github.com/hatchet-dev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Hatchet Python Quickstart\n\nThis is an example project demonstrating how to use Hatchet with Python. For detailed setup instructions, see the [Hatchet Setup Guide](https://docs.hatchet.run/home/setup).\n\n## Prerequisites\n\nBefore running this project, make sure you have the following:\n\n1. [Python v3.10 or higher](https://www.python.org/downloads/)\n2. [Poetry](https://python-poetry.org/docs/#installation) for dependency management\n\n## Setup\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/hatchet-dev/hatchet-python-quickstart.git\ncd hatchet-python-quickstart\n```\n\n2. Set the required environment variable `HATCHET_CLIENT_TOKEN` created in the [Getting Started Guide](https://docs.hatchet.run/home/hatchet-cloud-quickstart).\n\n```bash\nexport HATCHET_CLIENT_TOKEN=\u003ctoken\u003e\n```\n\n\u003e Note: If you're self hosting you may need to set `HATCHET_CLIENT_TLS_STRATEGY=none` to disable TLS\n\n3. Install the project dependencies:\n\n```bash\npoetry install\n```\n\n### Running an example\n\n1. Start a Hatchet worker by running the following command:\n\n```shell\npoetry run python src/worker.py\n```\n\n2. To run the example workflow, open a new terminal and run the following command:\n\n```shell\npoetry run python src/run.py\n```\n\nThis will trigger the workflow on the worker running in the first terminal and print the output to the the second terminal.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhatchet-dev%2Fhatchet-python-quickstart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhatchet-dev%2Fhatchet-python-quickstart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhatchet-dev%2Fhatchet-python-quickstart/lists"}