{"id":49849501,"url":"https://github.com/temporalio/edu-workerversioning-python-code","last_synced_at":"2026-05-14T14:09:05.269Z","repository":{"id":319129701,"uuid":"1029188191","full_name":"temporalio/edu-workerversioning-python-code","owner":"temporalio","description":"Exercises for Worker Versioning (Python) training","archived":false,"fork":false,"pushed_at":"2025-10-16T16:13:44.000Z","size":34,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-17T18:58:32.893Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/temporalio.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-30T16:48:10.000Z","updated_at":"2025-10-16T16:13:41.000Z","dependencies_parsed_at":"2025-10-18T06:39:42.378Z","dependency_job_id":null,"html_url":"https://github.com/temporalio/edu-workerversioning-python-code","commit_stats":null,"previous_names":["temporalio/edu-workerversioning-python-code"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/temporalio/edu-workerversioning-python-code","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/temporalio%2Fedu-workerversioning-python-code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/temporalio%2Fedu-workerversioning-python-code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/temporalio%2Fedu-workerversioning-python-code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/temporalio%2Fedu-workerversioning-python-code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/temporalio","download_url":"https://codeload.github.com/temporalio/edu-workerversioning-python-code/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/temporalio%2Fedu-workerversioning-python-code/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33028251,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"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":"2026-05-14T14:09:04.296Z","updated_at":"2026-05-14T14:09:05.256Z","avatar_url":"https://github.com/temporalio.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Code Repository for Worker Versioning (Python)\nThis repository provides code used for exercises and demonstrations\nincluded in the Python version of the \n[Worker Versioning](https://learn.temporal.io/courses/worker-versioning) \ntraining course.\n\nIt's important to remember that the example code used in this course was designed to support learning a specific aspect of Temporal, not to serve as a ready-to-use template for implementing a production system.\n\nFor the exercises, make sure to run `temporal server start-dev --ui-port 8080 --db-filename clusterdata.db` in one terminal to start the Temporal server. For more details on this command, please refer to the `Setting up a Local Development Environment` chapter in the course. Note: If you're using the Codespaces environment to run this exercise, you can skip this step.\n\n## Hands-On Exercises\n\nDirectory Name                     | Exercise\n:--------------------------------- | :-------------------------------------------------------\n`exercises/worker-versioning`      | [Exercise 1](exercises/worker-versioning/README.md)\n\n## Reference\nThe following links provide additional information that you may find helpful as you work through this course.\n- [General Temporal Documentation](https://docs.temporal.io/)\n- [Temporal Python SDK Documentation](https://python.temporal.io/)\n- [Python Language Documentation](https://docs.python.org/3/)\n- [Python Packaging and Virtual Environment Documentation](https://packaging.python.org/en/latest/tutorials/installing-packages/#creating-virtual-environments)\n\n## Exercise Environment for this Course\n\nYou can launch an exercise environment for this course using GitHub Codespaces by \nfollowing [this](codespaces.md) walkthrough.\n\nAlternatively, you can follow\n[these instructions](https://learn.temporal.io/getting_started/python/dev_environment/) to\nset up your own Temporal Cluster with Docker Compose, which you can use as an\nexercise environment.\n\n### Set Up Your Python Virtual Environment\n\nAll Python libraries for this course should be installed in a virtual environment.\nIf you are running these exercises in the course's Codespaces environment, there\nis a virtual environment already setup for you and you can skip this section.\nIf you are running these exercises locally, be sure you are using Python 3.7+.\n\n1. Open a terminal window in the environment and change directories to the root directory of the\n   `worker-versioning-python-code` repository\n2. Run the following command to create a virtual environment\n\n```\n$ python3 -m venv env\n```\n\n3. Activate the virtual environment\n\n**Linux/Mac**:\n\n```\n$ source env/bin/activate\n```\n\n**Windows**:\n\n```\n$ env\\Scripts\\activate\n```\n\nOnce the environment is active you should see `(env)` prepended to your prompt similar\nto below\n\n```\n(env) $\n```\n\n4. Install the necessary packages into the virtual environment\n\n```\npython -m pip install -r requirements.txt\n```\n\n5. For every new terminal you open, you will need to activate the environment using\n   the following command\n\n**Linux/Mac**:\n\n```\n$ source env/bin/activate\n```\n\n**Windows**:\n\n```\n$ env\\Scripts\\activate\n```\n\nHowever, the packages are already installed, so there is no need to run pip again.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftemporalio%2Fedu-workerversioning-python-code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftemporalio%2Fedu-workerversioning-python-code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftemporalio%2Fedu-workerversioning-python-code/lists"}