{"id":17945403,"url":"https://github.com/ofabel/pytm-example","last_synced_at":"2025-12-31T14:45:36.899Z","repository":{"id":175361127,"uuid":"414051912","full_name":"ofabel/pytm-example","owner":"ofabel","description":"A collection of example exercises for the Python Tool Manager.","archived":false,"fork":false,"pushed_at":"2023-08-28T16:25:45.000Z","size":59,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-03T14:44:09.231Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://ofabel.github.io/pytm-bootstrap/","language":"Python","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/ofabel.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2021-10-06T03:09:39.000Z","updated_at":"2023-08-26T11:47:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"9e8c1f0d-5596-4288-aad2-3702ac7a5261","html_url":"https://github.com/ofabel/pytm-example","commit_stats":null,"previous_names":["ofabel/pytm-example"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ofabel/pytm-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ofabel%2Fpytm-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ofabel%2Fpytm-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ofabel%2Fpytm-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ofabel%2Fpytm-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ofabel","download_url":"https://codeload.github.com/ofabel/pytm-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ofabel%2Fpytm-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265810356,"owners_count":23831949,"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-10-29T06:43:17.313Z","updated_at":"2025-12-31T14:45:36.858Z","avatar_url":"https://github.com/ofabel.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![PyPI - License](https://img.shields.io/pypi/l/pytmlib)\n![GitHub tag (with filter)](https://img.shields.io/github/v/tag/ofabel/pytm-example)\n![GitHub issues](https://img.shields.io/github/issues/ofabel/pytm-example)\n\n# pytm-example\n\nThis repository contains various example exercises for the _Python Tool Manager_.\nYou can find more information on the _Python Tool Manager_ in the\ncorresponding [documentation on GitHub](https://ofabel.github.io/pytm-bootstrap/).\n\n## Requirements\n\n* [Python](https://www.python.org/) version 3.8 or higher.\n* Access to the Python Tool Manager.\n* [Pycharm CE or Professional](https://www.jetbrains.com/pycharm/) (not mandatory, but recommended).\n* Basic knowledge of the Python programming language.\n* Basic knowledge on how to use a terminal window.\n\n## Quickstart\n\nProceed the following steps to set up your project:\n\n1. [Clone](#clone-this-repository) or [download](https://github.com/ofabel/pytm-example/archive/refs/heads/master.zip)\n   this repository.\n2. [Create a virtual Python environment](#create-a-virtual-python-environment).\n3. Activate the virtual environment and [install the dependencies](#install-the-dependencies).\n4. [Run some exercises](#run-an-exercise).\n\n### Clone this Repository\n\nOpen a new terminal window, navigate to your desired folder on your local hard disk and execute the following command:\n\n```shell\ngit clone git@github.com:ofabel/pytm-example.git\n```\n\n### Create a Virtual Python Environment\n\nOpen a terminal window, navigate to the cloned or downloaded repository folder and execute the following command:\n\n```shell\npython -m venv venv\n```\n\nThis will create a new `venv` folder, containing the virtual environment. It's mandatory, that folder's name is `venv`.\n\n### Install the Dependencies\n\nOpen a terminal window, navigate to the cloned or downloaded repository\nfolder, [activate the virtual environment](https://docs.python.org/3/library/venv.html#how-venvs-work) and execute the\nfollowing command:\n\n```shell\npip install -r requirements.txt\n```\n\n### Run an Exercise\n\nTo run an exercise you need to open a terminal window, navigate to the cloned or downloaded repository folder and\nactivate the virtual environment. Now, navigate to the desired exercise folder and execute the following command:\n\n```shell\nflask run --debug\n```\n\n### The Whole Procedure\n\nThe following listing shows the whole procedure for a bash-compatible terminal:\n\n```shell\n# clone the repository\ngit clone git@github.com:ofabel/pytm-example.git\n\n# change the current working directory to the just created folder\ncd pytm-example\n\n# create the virtual environment\npython -m venv venv\n\n# activate the just created virtual environment\nsource venv/bin/activate\n\n# install the dependencies\npip install -r requirements.txt\n\n# change to a exercise folder and run the exercise\ncd plot\nflask run --debug\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fofabel%2Fpytm-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fofabel%2Fpytm-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fofabel%2Fpytm-example/lists"}