{"id":42642333,"url":"https://github.com/schlerp/julienne","last_synced_at":"2026-01-29T06:17:43.774Z","repository":{"id":83866651,"uuid":"572959883","full_name":"schlerp/julienne","owner":"schlerp","description":"An integration engine that uses celery under the hood.","archived":false,"fork":false,"pushed_at":"2025-12-30T08:00:01.000Z","size":230,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-02T14:28:09.206Z","etag":null,"topics":["celery","integration","messagebus","python"],"latest_commit_sha":null,"homepage":"","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/schlerp.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-12-01T12:00:14.000Z","updated_at":"2025-12-30T05:52:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"d25eb60f-64a4-45e3-9904-6c9beb3866c1","html_url":"https://github.com/schlerp/julienne","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/schlerp/julienne","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schlerp%2Fjulienne","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schlerp%2Fjulienne/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schlerp%2Fjulienne/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schlerp%2Fjulienne/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/schlerp","download_url":"https://codeload.github.com/schlerp/julienne/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schlerp%2Fjulienne/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28865891,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T05:56:06.453Z","status":"ssl_error","status_checked_at":"2026-01-29T05:55:57.668Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["celery","integration","messagebus","python"],"created_at":"2026-01-29T06:17:43.095Z","updated_at":"2026-01-29T06:17:43.766Z","avatar_url":"https://github.com/schlerp.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Julienne\n\nJulienne is an integration engine written in python using [Celery](https://github.com/celery/celery) to enable higher throughput.\n\nYou compose a set of Python actions into a `Flow`, then run that flow over data from a `DataSource` and into a `DataSink` via a `Pipeline`. Flows can be executed locally or via Celery workers for horizontal scaling.\n\n## Status\n\nThis project is still experimental and not production-ready.\n\n## Installation / dependencies\n\nJulienne is configured as a standard Python project using PEP 621, hatchling, and [uv](https://github.com/astral-sh/uv) for dependency management.\n\n- Runtime dependencies are declared in `pyproject.toml` and mirrored in `requirements.txt`.\n- A locked set of dependencies (including Celery) is tracked in `uv.lock`.\n- You can run commands with dependencies resolved via `uv`:\n\n```bash\nuv run pytest\nuv run python -m julienne ...\n```\n\n## Quickstart (local demo)\n\n## Development\n\nFor day-to-day development, you can use `uv` to run tests and local commands without managing a separate virtual environment explicitly:\n\n```bash\n# Run the test suite\nuv run pytest\n\n# Run the CLI entrypoint\nuv run python -m julienne demo-filesystem \\\n  --input-json path/to/people.json \\\n  --output-dir /tmp/julienne-out\n```\n\nIf you prefer a traditional virtual environment, you can still create one and install from `requirements.txt` instead; the project layout and lockfile (`uv.lock`) remain the same.\n\n\nRun the test suite (optional but recommended):\n\n```bash\nuv run pytest\n```\n\nThen run the demo filesystem pipeline via the CLI:\n\n```bash\nuv run python -m julienne demo-filesystem \\\n  --input-json path/to/people.json \\\n  --output-dir /tmp/julienne-out\n```\n\n`people.json` should be a JSON array of objects with at least `first_name`, `last_name`, and `dob` fields. The demo flow removes `dob` from each item and writes one JSON file per record into the output directory.\n\n## Pipelines and Celery\n\nAt a lower level, Julienne exposes a `Pipeline` abstraction that wires together a `DataSource`, `Flow`, and `DataSink`.\n\nA simple local pipeline can look like this:\n\n```python\nfrom julienne.pipeline import Pipeline\nfrom julienne.schemas import Block, Flow\nfrom julienne.sources.filesystem import JsonArrayFileDataSource\nfrom julienne.sinks.filesystem import JsonHashDirSink, JsonLinesSink\n\nfrom your_module import Person, PersonNoDOB, strip_dob\n\nsource = JsonArrayFileDataSource(\"people.json\")\nblock = Block[Person, PersonNoDOB](\n    name=\"[Remove DOB]\",\n    input_schema=Person,\n    output_schema=PersonNoDOB,\n    function=strip_dob,\n)\nflow = Flow(name=\"\u003cExample Flow\u003e\", blocks=[block])\nsink = JsonHashDirSink(\"out_dir\")\nerror_sink = JsonLinesSink(\"errors.jsonl\")\n\npipeline = Pipeline(source=source, flow=flow, sink=sink, error_sink=error_sink)\n\n# Run locally, in-process\npipeline.run()\n\n# Or run via Celery tasks (requires broker + worker)\npipeline.run_celery()\n```\n\nEach failed item is captured as a `PipelineItemError` and written as a single JSON document per line into `errors.jsonl`.\n\nFor testing, Celery can be run in *eager* mode so tasks execute synchronously in the same process. See `tests/test_pipeline.py` for an example that temporarily sets `app.conf.task_always_eager = True` while exercising the Celery-backed pipeline.\n\n## Historical Docker / Celery experiment\n\nAn earlier version of this project included a Docker/Compose-based Celery setup. That configuration has been removed in favor of a simpler, local-first workflow driven by `uv` and standard Python tooling.\n\nIf you need containerization, you can layer your own Docker/Compose setup on top of the current `pyproject.toml`, `requirements.txt`, and `uv.lock`.\n\n## Authors\n\n- [PattyC](https://github.com/schlerp)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschlerp%2Fjulienne","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fschlerp%2Fjulienne","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschlerp%2Fjulienne/lists"}