{"id":19623637,"url":"https://github.com/flowcore-io/python-transformer-passthrough","last_synced_at":"2026-05-11T12:36:16.581Z","repository":{"id":196047939,"uuid":"694225395","full_name":"flowcore-io/python-transformer-passthrough","owner":"flowcore-io","description":"A simple passthrough python transformer","archived":false,"fork":false,"pushed_at":"2023-10-25T09:24:03.000Z","size":137,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-26T19:37:40.576Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/flowcore-io.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2023-09-20T15:13:26.000Z","updated_at":"2023-09-20T15:13:32.000Z","dependencies_parsed_at":"2023-09-21T05:25:48.190Z","dependency_job_id":"81e8c514-fe0d-445e-a5aa-a312dfcf6901","html_url":"https://github.com/flowcore-io/python-transformer-passthrough","commit_stats":null,"previous_names":["flowcore-io/python-transformer-passthrough"],"tags_count":3,"template":false,"template_full_name":"flowcore-io/python-transformer-example","purl":"pkg:github/flowcore-io/python-transformer-passthrough","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flowcore-io%2Fpython-transformer-passthrough","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flowcore-io%2Fpython-transformer-passthrough/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flowcore-io%2Fpython-transformer-passthrough/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flowcore-io%2Fpython-transformer-passthrough/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flowcore-io","download_url":"https://codeload.github.com/flowcore-io/python-transformer-passthrough/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flowcore-io%2Fpython-transformer-passthrough/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32894945,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-10T13:40:02.631Z","status":"online","status_checked_at":"2026-05-11T02:00:05.975Z","response_time":120,"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":"2024-11-11T11:34:59.002Z","updated_at":"2026-05-11T12:36:16.560Z","avatar_url":"https://github.com/flowcore-io.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python Typescript Transformer Example Repository\n\nThis repository contains a simple example of a Python Typescript Transformer.\n\n## Entrypoint\n\nThe `main.ts` file is the entrypoint for the transformer. It contains the following endpoints:\n\n### GET /health\n\nThis endpoint is used by the transformer shell to check if the transformer is healthy.\n\n### POST /transform\n\nThis endpoint is used by the transformer shell to transform data.\n\n## Development\n\nprerequisites:\n- Python\n- NodeJS (required for tests)\n- Docker\n\ncreate environment\n```bash\npython -m venv .testvenv\nsoruce .testvenv/bin/activate\n```\n\ninstall dependencies:\n```bash\npip install -r requirements.txt\n```\n\nrun the transformer shell\n```bash\ndocker-compose -f test/docker/docker-compose.yaml up -d\n```\n\n\u003e Note:\n\u003e If you want to run the transformer locally without tests and use something like Postman or Insomnia to test it manually, run with ` uvicorn --app-dir src main:app --reload`\n\n\u003e Note:\n\u003e If you want to skip tests all together as part of the build process,remove the `.github/workflows/test.yml` workflow file\n\n## Testing\n\nInstall test environment requirements\n```bash\nyarn install\n```\n\nIn another terminal or tab, run:\n```bash\nyarn test:watch\n```\n\nto run the tests on the built transformer.\n\nWhen changes are made any of the files the transformer will be reloaded and the tests will be run again.\n\n### Change the transformer\n\nTo change the transformer modify the contents of the transformer method\n\n### Change the input and output data\n\nTo change the validation of inputs and outputs edit the `test/expected.json` file. This file specify the event payloads that are sent to the transformer and the expected output. The `:uuid:` and `:date:` values for the expected outcome matches to any string.\n\n### Further customization\n\nChange the `test/app.spec.ts` file to add additional tests and more advanced validation. Further change the files in the `src` directory to add more advanced logic.\n\n## Deployment\n\nThe github action will automatically build and push the release artifact to the github release.\n\nPushes to the `main` branch will trigger a release pull request, that runs tests to validate the release. Once the pull request has been merged the release will be published, together with the artifact.\n\nTo use this transformer in the [Flowcore](https://flowcore.io) platform, create a new adapter and point it to the github release artifact.\n\nThe shell will then download the artifact, run it and for each data point post to the `transform` endpoint.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflowcore-io%2Fpython-transformer-passthrough","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflowcore-io%2Fpython-transformer-passthrough","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflowcore-io%2Fpython-transformer-passthrough/lists"}