{"id":16111751,"url":"https://github.com/julianpistorius/doit-tutorial","last_synced_at":"2025-06-29T13:02:54.326Z","repository":{"id":145855838,"uuid":"244964048","full_name":"julianpistorius/doit-tutorial","owner":"julianpistorius","description":"Playing with doit.","archived":false,"fork":false,"pushed_at":"2020-03-05T19:30:34.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T06:33:30.289Z","etag":null,"topics":["doit","python","tutorial","tutorial-exercises","workflow"],"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/julianpistorius.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":"2020-03-04T17:37:03.000Z","updated_at":"2020-03-05T19:30:37.000Z","dependencies_parsed_at":"2023-05-18T11:30:35.957Z","dependency_job_id":null,"html_url":"https://github.com/julianpistorius/doit-tutorial","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/julianpistorius/doit-tutorial","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julianpistorius%2Fdoit-tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julianpistorius%2Fdoit-tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julianpistorius%2Fdoit-tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julianpistorius%2Fdoit-tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/julianpistorius","download_url":"https://codeload.github.com/julianpistorius/doit-tutorial/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julianpistorius%2Fdoit-tutorial/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262598139,"owners_count":23334667,"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":["doit","python","tutorial","tutorial-exercises","workflow"],"created_at":"2024-10-09T19:45:24.730Z","updated_at":"2025-06-29T13:02:54.198Z","avatar_url":"https://github.com/julianpistorius.png","language":"Python","readme":"# Playing with `doit`\n\nSee the [doit tutorial](https://pydoit.org/tutorial_1.html)\n\nNote: This code is for the instructions up to the \n[section on 'clean'](https://pydoit.org/tutorial_1.html#clean).\n\n- [ ] Complete the rest of the tutorial\n\n## To use this code\n\n1. Install [pipenv](https://pipenv.readthedocs.io/) (if you don't already have it):\n\n```bash\nbrew install pipenv\n```\n\n2. Install `graphviz`:\n\n```bash\nbrew install graphviz\n```\n\n3. Install the dependencies by running the following in the same directory as \nthe `Pipfile` file:\n\n```bash\npipenv install\n```\n\n4. Activate the virtual environment:\n\n```bash\npipenv shell\n``` \n\n5. Run the `doit` workflow:\n\n```bash\ndoit\n```\n\nYou should see something like:\n\n```\n$ doit\n.  imports\n.  dot\n.  draw\n```\n\n6. Check that the files were created:\n\n```bash\nls -l requests*\n```\n\nYou should see something like:\n\n```\n$ ls -l requests*\n-rw-r--r--  1 johndoe  staff    164 Mar  4 10:28 requests.models.deps\n-rw-r--r--  1 johndoe  staff    404 Mar  4 10:28 requests.models.dot\n-rw-r--r--  1 johndoe  staff  37154 Mar  4 10:28 requests.models.png\n``` \n\n7. Check that the `requests.models.png` looks like the one in the tutorial.\n\n\n## Exercises for the reader\n\n- [ ] Add a task which creates the `projects` directory\n- [ ] Add a task which clones the requests repository into the `projects` \ndirectory","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulianpistorius%2Fdoit-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjulianpistorius%2Fdoit-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulianpistorius%2Fdoit-tutorial/lists"}