{"id":19767520,"url":"https://github.com/sql-machine-learning/fluid","last_synced_at":"2025-07-18T04:36:39.883Z","repository":{"id":77289381,"uuid":"229646884","full_name":"sql-machine-learning/fluid","owner":"sql-machine-learning","description":null,"archived":false,"fork":false,"pushed_at":"2020-04-02T02:56:18.000Z","size":488,"stargazers_count":5,"open_issues_count":3,"forks_count":6,"subscribers_count":5,"default_branch":"develop","last_synced_at":"2025-07-15T06:48:45.647Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/sql-machine-learning.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":"2019-12-22T23:59:58.000Z","updated_at":"2020-04-02T02:56:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"f19e7f2e-e119-4225-a741-22fa1801a62b","html_url":"https://github.com/sql-machine-learning/fluid","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sql-machine-learning/fluid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sql-machine-learning%2Ffluid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sql-machine-learning%2Ffluid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sql-machine-learning%2Ffluid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sql-machine-learning%2Ffluid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sql-machine-learning","download_url":"https://codeload.github.com/sql-machine-learning/fluid/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sql-machine-learning%2Ffluid/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265701353,"owners_count":23813751,"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-12T04:30:04.682Z","updated_at":"2025-07-18T04:36:39.855Z","avatar_url":"https://github.com/sql-machine-learning.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fluid: Python Instead of YAML for Google Tekton\n\nFluid is a Python package allowing users to write Teckton workflows in Python.\n\nHere is an example.  To the left is a Python program defining a Task and related TaskRun.  To the right is the equivalent YAML file.\n\n\u003ctable\u003e\u003ctr\u003e\u003ctd valign=top\u003e\n\n```python\nimport fluid as couler\n\n@couler.task\ndef echo_hello_world(hello, world=\"El mundo\"):\n    couler.step(image=\"ubuntu\", cmd=[\"echo\"], args=[hello])\n    couler.step(image=\"ubuntu\", cmd=[\"echo\"], args=[world])\n```\n\n\u003c/td\u003e\u003ctd valign=top\u003e\n\n```yaml\n---\napiVersion: tekton.dev/v1alpha1\nkind: Task\nmetadata:\n  name: echo-hello-world\nspec:\n  inputs:\n    params:\n    - description: ''\n      name: hello\n      type: string\n    - default: El mundo\n      description: ''\n      name: world\n      type: string\n  steps:\n  - args:\n    - $(inputs.params.hello)\n    command:\n    - echo\n    image: ubuntu\n    name: example-py-12\n  - args:\n    - $(inputs.params.world)\n    command:\n    - echo\n    image: ubuntu\n    name: example-py-13\n```\n\n\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd valign=top\u003e\n\n```python\necho_hello_world(\"Aloha\")\n```\n\n\u003c/td\u003e\u003ctd valign=top\u003e\n\n```yaml\n---\napiVersion: tekton.dev/v1alpha1\nkind: TaskRun\nmetadata:\n  name: echo-hello-world-run\nspec:\n  inputs:\n    params:\n    - name: hello\n      value: Aloha\n  taskRef:\n    name: echo_hello_world\n```\n\n\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\nFor more information, please refer to the following documents.\n\n- [Tutorial](doc/tutorial.md)\n- [Design](doc/design.md)\n- [Syntax](doc/syntax.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsql-machine-learning%2Ffluid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsql-machine-learning%2Ffluid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsql-machine-learning%2Ffluid/lists"}