{"id":19534461,"url":"https://github.com/flyteorg/flytekit-python-template","last_synced_at":"2025-04-26T14:35:03.070Z","repository":{"id":42395438,"uuid":"335076769","full_name":"flyteorg/flytekit-python-template","owner":"flyteorg","description":"CookieCutter template for getting started with Flyte python projects","archived":false,"fork":false,"pushed_at":"2025-04-04T12:14:58.000Z","size":489,"stargazers_count":20,"open_issues_count":7,"forks_count":15,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-26T13:55:39.197Z","etag":null,"topics":["cookiecutter","cookiecutter-template","data-science","docker","extensible","flyte","flytekit-python","getting-started","machine-learning","project-structure","python3"],"latest_commit_sha":null,"homepage":"https://docs.flyte.org/en/latest/getting_started.html","language":"Python","has_issues":false,"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/flyteorg.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":"2021-02-01T20:33:51.000Z","updated_at":"2025-04-04T12:15:01.000Z","dependencies_parsed_at":"2024-03-08T15:28:55.872Z","dependency_job_id":"a3868dc8-80e8-4f87-8ecd-4aacae6345cf","html_url":"https://github.com/flyteorg/flytekit-python-template","commit_stats":null,"previous_names":[],"tags_count":16,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flyteorg%2Fflytekit-python-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flyteorg%2Fflytekit-python-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flyteorg%2Fflytekit-python-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flyteorg%2Fflytekit-python-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flyteorg","download_url":"https://codeload.github.com/flyteorg/flytekit-python-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251001342,"owners_count":21520932,"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":["cookiecutter","cookiecutter-template","data-science","docker","extensible","flyte","flytekit-python","getting-started","machine-learning","project-structure","python3"],"created_at":"2024-11-11T02:14:25.838Z","updated_at":"2025-04-26T14:35:02.626Z","avatar_url":"https://github.com/flyteorg.png","language":"Python","readme":"In this repository you'll find a collection of [cookiecutter](https://cookiecutter.readthedocs.io/en/latest/) templates for making [Flyte](https://github.com/flyteorg/flyte) projects.\n\nWe use cookiecutter's ability to define [multiple templates to be defined in the same repository](https://cookiecutter.readthedocs.io/en/latest/advanced/directories.html). Each cookiecutter template is defined in a separate directory, e.g. the template used in Flyte's [Getting Started](https://docs.flyte.org/en/latest/getting_started.html) guide lives in a directory called `basic-template-imagespec`.\n\n## Images\n\nCompiled images for all templates can be found in our [ghcr.io registry](https://github.com/flyteorg/flytekit-python-template/pkgs/container/flytekit-python-template)\n\n### ImageSpec vs Dockerfile\n\nFlytekit uses the `basic-template-imagespec` template by default when you initialize a new project with `pyflyte init`. That template uses [ImageSpec](https://docs.flyte.org/en/latest/user_guide/customizing_dependencies/imagespec.html), which builds Docker images without a Dockerfile, so doesn't contain a Dockerfile or `docker-build.sh` script.\n\nHowever, some templates in this repository contain a Dockerfile and `docker-build.sh` script that you can use to build a Docker image for your Flyte project:\n\n```\n# help\n./docker_build.sh -h\n\n# build an image with defaults\n./docker_build.sh\n\n# build an image with custom values\n./docker_build.sh -p {{ cookiecutter.project_name }} -r \u003cREGISTRY\u003e -v \u003cVERSION\u003e\n```\n\n**Note:** You should only use `docker-build.sh` script to build a Docker image for a Flyte project that contains a Dockerfile.\n\n## Usage\n\nEach template can be rendered by specifying the `--directory` flag to cookiecutter. For example, in order to generate a project using the `basic-template-imagespec` template, run:\n\n    $ cookiecutter https://github.com/flyteorg/flytekit-python-template.git --directory=\"basic-template-imagespec\"\n\nThis should prompt for a few variables that will be used to set up the project.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflyteorg%2Fflytekit-python-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflyteorg%2Fflytekit-python-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflyteorg%2Fflytekit-python-template/lists"}