pyconveyor 1.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. pyconveyor-1.0.0/.github/workflows/ci.yml +36 -0
  2. pyconveyor-1.0.0/.github/workflows/publish.yml +62 -0
  3. pyconveyor-1.0.0/.gitignore +221 -0
  4. pyconveyor-1.0.0/.readthedocs.yaml +16 -0
  5. pyconveyor-1.0.0/CHANGELOG.md +110 -0
  6. pyconveyor-1.0.0/LICENSE +21 -0
  7. pyconveyor-1.0.0/PKG-INFO +65 -0
  8. pyconveyor-1.0.0/Plan.md +1485 -0
  9. pyconveyor-1.0.0/README.md +1 -0
  10. pyconveyor-1.0.0/SCHEMA.md +348 -0
  11. pyconveyor-1.0.0/docs/concepts.md +122 -0
  12. pyconveyor-1.0.0/docs/examples.md +298 -0
  13. pyconveyor-1.0.0/docs/guides/batch.md +159 -0
  14. pyconveyor-1.0.0/docs/guides/caching.md +112 -0
  15. pyconveyor-1.0.0/docs/guides/editor-setup.md +94 -0
  16. pyconveyor-1.0.0/docs/guides/expressions.md +116 -0
  17. pyconveyor-1.0.0/docs/guides/hooks.md +126 -0
  18. pyconveyor-1.0.0/docs/guides/llm-utilities.md +185 -0
  19. pyconveyor-1.0.0/docs/guides/providers.md +228 -0
  20. pyconveyor-1.0.0/docs/guides/step-types.md +232 -0
  21. pyconveyor-1.0.0/docs/guides/validation-feedback.md +236 -0
  22. pyconveyor-1.0.0/docs/guides/vocab.md +360 -0
  23. pyconveyor-1.0.0/docs/index.md +83 -0
  24. pyconveyor-1.0.0/docs/quickstart.md +155 -0
  25. pyconveyor-1.0.0/docs/reference/cli.md +301 -0
  26. pyconveyor-1.0.0/docs/reference/schema.md +205 -0
  27. pyconveyor-1.0.0/mkdocs.yml +66 -0
  28. pyconveyor-1.0.0/pyproject.toml +86 -0
  29. pyconveyor-1.0.0/src/pyconveyor/__init__.py +39 -0
  30. pyconveyor-1.0.0/src/pyconveyor/_logging.py +61 -0
  31. pyconveyor-1.0.0/src/pyconveyor/_utils.py +72 -0
  32. pyconveyor-1.0.0/src/pyconveyor/batch.py +214 -0
  33. pyconveyor-1.0.0/src/pyconveyor/cache.py +119 -0
  34. pyconveyor-1.0.0/src/pyconveyor/cli.py +670 -0
  35. pyconveyor-1.0.0/src/pyconveyor/errors.py +115 -0
  36. pyconveyor-1.0.0/src/pyconveyor/expr.py +355 -0
  37. pyconveyor-1.0.0/src/pyconveyor/graph.py +116 -0
  38. pyconveyor-1.0.0/src/pyconveyor/llm.py +401 -0
  39. pyconveyor-1.0.0/src/pyconveyor/prompt.py +92 -0
  40. pyconveyor-1.0.0/src/pyconveyor/py.typed +0 -0
  41. pyconveyor-1.0.0/src/pyconveyor/runner.py +981 -0
  42. pyconveyor-1.0.0/src/pyconveyor/steps/__init__.py +1 -0
  43. pyconveyor-1.0.0/src/pyconveyor/steps/condition_step.py +63 -0
  44. pyconveyor-1.0.0/src/pyconveyor/steps/llm_step.py +541 -0
  45. pyconveyor-1.0.0/src/pyconveyor/steps/parallel_step.py +66 -0
  46. pyconveyor-1.0.0/src/pyconveyor/steps/script_step.py +51 -0
  47. pyconveyor-1.0.0/src/pyconveyor/vocab.py +276 -0
  48. pyconveyor-1.0.0/tests/__init__.py +1 -0
  49. pyconveyor-1.0.0/tests/conftest.py +7 -0
  50. pyconveyor-1.0.0/tests/fixtures/__init__.py +1 -0
  51. pyconveyor-1.0.0/tests/fixtures/pipelines/condition.yaml +26 -0
  52. pyconveyor-1.0.0/tests/fixtures/pipelines/greet.j2 +2 -0
  53. pyconveyor-1.0.0/tests/fixtures/pipelines/hello.yaml +17 -0
  54. pyconveyor-1.0.0/tests/fixtures/pipelines/on_error_continue.yaml +23 -0
  55. pyconveyor-1.0.0/tests/fixtures/pipelines/parallel.yaml +31 -0
  56. pyconveyor-1.0.0/tests/fixtures/pipelines/retry_feedback.yaml +21 -0
  57. pyconveyor-1.0.0/tests/fixtures/pipelines/skip_remaining.yaml +23 -0
  58. pyconveyor-1.0.0/tests/fixtures/pipelines/vocab_pipeline.yaml +15 -0
  59. pyconveyor-1.0.0/tests/fixtures/schemas.py +17 -0
  60. pyconveyor-1.0.0/tests/fixtures/steps.py +19 -0
  61. pyconveyor-1.0.0/tests/test_batch.py +177 -0
  62. pyconveyor-1.0.0/tests/test_cache.py +99 -0
  63. pyconveyor-1.0.0/tests/test_cli.py +342 -0
  64. pyconveyor-1.0.0/tests/test_expr.py +216 -0
  65. pyconveyor-1.0.0/tests/test_graph.py +145 -0
  66. pyconveyor-1.0.0/tests/test_llm.py +97 -0
  67. pyconveyor-1.0.0/tests/test_logging.py +137 -0
  68. pyconveyor-1.0.0/tests/test_prompt.py +63 -0
  69. pyconveyor-1.0.0/tests/test_runner.py +409 -0
  70. pyconveyor-1.0.0/tests/test_vocab.py +871 -0
  71. pyconveyor-1.0.0/uv.lock +1516 -0
@@ -0,0 +1,36 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: ["main"]
6
+ pull_request:
7
+
8
+ jobs:
9
+ test:
10
+ name: "Python ${{ matrix.python-version }}"
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ fail-fast: false
14
+ matrix:
15
+ python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
16
+
17
+ steps:
18
+ - uses: actions/checkout@v4
19
+
20
+ - name: Set up Python ${{ matrix.python-version }}
21
+ uses: actions/setup-python@v5
22
+ with:
23
+ python-version: ${{ matrix.python-version }}
24
+ allow-prereleases: true
25
+
26
+ - name: Install dependencies
27
+ run: pip install -e ".[dev]"
28
+
29
+ - name: Lint (ruff)
30
+ run: ruff check src tests
31
+
32
+ - name: Type check (mypy)
33
+ run: mypy src
34
+
35
+ - name: Test (pytest)
36
+ run: pytest --cov=pyconveyor --cov-report=term-missing
@@ -0,0 +1,62 @@
1
+ name: Publish to PyPI
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - "v*.*.*"
7
+
8
+ permissions:
9
+ contents: write
10
+ id-token: write
11
+
12
+ jobs:
13
+ publish:
14
+ name: Build and publish
15
+ runs-on: ubuntu-latest
16
+
17
+ environment:
18
+ name: pypi
19
+ url: https://pypi.org/p/pyconveyor
20
+
21
+ steps:
22
+ - uses: actions/checkout@v4
23
+
24
+ - name: Set up Python
25
+ uses: actions/setup-python@v5
26
+ with:
27
+ python-version: "3.12"
28
+
29
+ - name: Install dependencies
30
+ run: pip install -e ".[dev]"
31
+
32
+ - name: Lint (ruff)
33
+ run: ruff check src tests
34
+
35
+ - name: Type check (mypy)
36
+ run: mypy src
37
+
38
+ - name: Test (pytest)
39
+ run: pytest
40
+
41
+ - name: Build sdist and wheel
42
+ run: |
43
+ pip install build
44
+ python -m build
45
+
46
+ - name: Publish to PyPI
47
+ uses: pypa/gh-action-pypi-publish@release/v1
48
+
49
+ - name: Extract changelog for this version
50
+ id: changelog
51
+ run: |
52
+ VERSION="${GITHUB_REF_NAME#v}"
53
+ NOTES=$(awk "/^## \[$VERSION\]/{found=1; next} found && /^## \[/{exit} found{print}" CHANGELOG.md)
54
+ echo "notes<<EOF" >> "$GITHUB_OUTPUT"
55
+ echo "$NOTES" >> "$GITHUB_OUTPUT"
56
+ echo "EOF" >> "$GITHUB_OUTPUT"
57
+
58
+ - name: Create GitHub Release
59
+ uses: softprops/action-gh-release@v2
60
+ with:
61
+ body: ${{ steps.changelog.outputs.notes }}
62
+ files: dist/*
@@ -0,0 +1,221 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[codz]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ share/python-wheels/
24
+ *.egg-info/
25
+ .installed.cfg
26
+ *.egg
27
+ MANIFEST
28
+
29
+ # PyInstaller
30
+ # Usually these files are written by a python script from a template
31
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
32
+ *.manifest
33
+ *.spec
34
+
35
+ # Installer logs
36
+ pip-log.txt
37
+ pip-delete-this-directory.txt
38
+
39
+ # Unit test / coverage reports
40
+ htmlcov/
41
+ .tox/
42
+ .nox/
43
+ .coverage
44
+ .coverage.*
45
+ .cache
46
+ nosetests.xml
47
+ coverage.xml
48
+ *.cover
49
+ *.py.cover
50
+ .hypothesis/
51
+ .pytest_cache/
52
+ cover/
53
+
54
+ # Translations
55
+ *.mo
56
+ *.pot
57
+
58
+ # Django stuff:
59
+ *.log
60
+ local_settings.py
61
+ db.sqlite3
62
+ db.sqlite3-journal
63
+
64
+ # Flask stuff:
65
+ instance/
66
+ .webassets-cache
67
+
68
+ # Scrapy stuff:
69
+ .scrapy
70
+
71
+ # Sphinx documentation
72
+ docs/_build/
73
+
74
+ # PyBuilder
75
+ .pybuilder/
76
+ target/
77
+
78
+ # Jupyter Notebook
79
+ .ipynb_checkpoints
80
+
81
+ # IPython
82
+ profile_default/
83
+ ipython_config.py
84
+
85
+ # pyenv
86
+ # For a library or package, you might want to ignore these files since the code is
87
+ # intended to run in multiple environments; otherwise, check them in:
88
+ # .python-version
89
+
90
+ # pipenv
91
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
92
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
93
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
94
+ # install all needed dependencies.
95
+ # Pipfile.lock
96
+
97
+ # UV
98
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
99
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
100
+ # commonly ignored for libraries.
101
+ # uv.lock
102
+
103
+ # poetry
104
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
105
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
106
+ # commonly ignored for libraries.
107
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
108
+ # poetry.lock
109
+ # poetry.toml
110
+
111
+ # pdm
112
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
113
+ # pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
114
+ # https://pdm-project.org/en/latest/usage/project/#working-with-version-control
115
+ # pdm.lock
116
+ # pdm.toml
117
+ .pdm-python
118
+ .pdm-build/
119
+
120
+ # pixi
121
+ # Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
122
+ # pixi.lock
123
+ # Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
124
+ # in the .venv directory. It is recommended not to include this directory in version control.
125
+ .pixi
126
+
127
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
128
+ __pypackages__/
129
+
130
+ # Celery stuff
131
+ celerybeat-schedule
132
+ celerybeat.pid
133
+
134
+ # Redis
135
+ *.rdb
136
+ *.aof
137
+ *.pid
138
+
139
+ # RabbitMQ
140
+ mnesia/
141
+ rabbitmq/
142
+ rabbitmq-data/
143
+
144
+ # ActiveMQ
145
+ activemq-data/
146
+
147
+ # SageMath parsed files
148
+ *.sage.py
149
+
150
+ # Environments
151
+ .env
152
+ .envrc
153
+ .venv
154
+ env/
155
+ venv/
156
+ ENV/
157
+ env.bak/
158
+ venv.bak/
159
+
160
+ # Spyder project settings
161
+ .spyderproject
162
+ .spyproject
163
+
164
+ # Rope project settings
165
+ .ropeproject
166
+
167
+ # mkdocs documentation
168
+ /site
169
+
170
+ # mypy
171
+ .mypy_cache/
172
+ .dmypy.json
173
+ dmypy.json
174
+
175
+ # Pyre type checker
176
+ .pyre/
177
+
178
+ # pytype static type analyzer
179
+ .pytype/
180
+
181
+ # Cython debug symbols
182
+ cython_debug/
183
+
184
+ # PyCharm
185
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
186
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
187
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
188
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
189
+ # .idea/
190
+
191
+ # Abstra
192
+ # Abstra is an AI-powered process automation framework.
193
+ # Ignore directories containing user credentials, local state, and settings.
194
+ # Learn more at https://abstra.io/docs
195
+ .abstra/
196
+
197
+ # Visual Studio Code
198
+ # Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
199
+ # that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
200
+ # and can be added to the global gitignore or merged into this file. However, if you prefer,
201
+ # you could uncomment the following to ignore the entire vscode folder
202
+ # .vscode/
203
+ # Temporary file for partial code execution
204
+ tempCodeRunnerFile.py
205
+
206
+ # Ruff stuff:
207
+ .ruff_cache/
208
+
209
+ # PyPI configuration file
210
+ .pypirc
211
+
212
+ # Marimo
213
+ marimo/_static/
214
+ marimo/_lsp/
215
+ __marimo__/
216
+
217
+ # Streamlit
218
+ .streamlit/secrets.toml
219
+
220
+ # gstack dev tool
221
+ .gstack/
@@ -0,0 +1,16 @@
1
+ version: 2
2
+
3
+ build:
4
+ os: ubuntu-24.04
5
+ tools:
6
+ python: "3.12"
7
+
8
+ mkdocs:
9
+ configuration: mkdocs.yml
10
+
11
+ python:
12
+ install:
13
+ - method: pip
14
+ path: .
15
+ extra_requirements:
16
+ - docs
@@ -0,0 +1,110 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ > **Note:** The YAML pipeline format is treated as a public API subject to the same
9
+ > semver rules as the Python API. See the [Versioning Policy](README.md#versioning-policy).
10
+
11
+ ---
12
+
13
+ ## [1.0.0] — 2026-05-10
14
+
15
+ ### Added
16
+
17
+ - `Vocabulary.description` — human-written rationale field; shown to the LLM in the prompt suffix to guide novel-term and `_ideal` decisions
18
+ - `Vocabulary.growth_policy` — three built-in modes: `"auto"` (add immediately), `"human"` (queue for CLI review), `"llm"` (LLM decides); also accepts a custom callable `fn(VocabSuggestion) -> bool`
19
+ - `Vocabulary.growth_policy_model` — optional model name override for `growth_policy="llm"`; falls back to the pipeline's default model
20
+ - `Vocabulary.capture_ideal` — when `True`, the LLM prompt asks for `{field}_ideal` alongside the constrained value; extracted before Pydantic validation and stored in `VocabSuggestion.ideal_value`
21
+ - `Vocabulary.inject_prompt` — auto-appends vocab constraints + description + denied terms to the LLM prompt; disable per-step with `inject_vocab_prompt: false`
22
+ - `Vocabulary.persist` — `True` or explicit path; vocabulary file is saved after each run that produces suggestions
23
+ - `Vocabulary.denied` — set of explicitly rejected terms; not re-surfaced as suggestions; shown to LLM in prompt suffix
24
+ - `Vocabulary.pending` — pending suggestions queue used by `"human"` growth policy
25
+ - `Vocabulary.add_term()` — add a term to `known` and update the internal lookup
26
+ - `Vocabulary.add_pending()` — queue a `VocabSuggestion`, incrementing `seen` if already present
27
+ - `Vocabulary.build_prompt_suffix()` — render the vocab constraint block for prompt injection
28
+ - `Vocabulary.save(path)` — persist vocabulary YAML (known, pending, denied, metadata)
29
+ - `Vocabulary.from_file(path)` — load vocabulary from a YAML file
30
+ - `VocabField(vocab="label")` — string reference resolved from the pipeline's `vocabularies:` block; keeps `schemas.py` free of file paths
31
+ - `VocabSuggestion.ideal_value` — LLM's unconstrained preferred answer (populated when `capture_ideal=True`)
32
+ - `VocabSuggestion.vocab_label` — which vocabulary the suggestion came from
33
+ - `{{ vocab_hints }}` Jinja2 variable — pre-rendered vocab constraint block for manual placement in prompt templates
34
+ - `pyconveyor vocab review pipeline.yaml` CLI command — interactive review of pending vocab suggestions; shows full list with `seen` counts, accepts by index, writes denied to `denied:` block; `--auto-accept` flag for non-interactive use
35
+ - `vocabularies/` directory scaffolded by `pyconveyor init`
36
+ - Caching guide (`docs/guides/caching.md`) covering `ResponseCache`, CLI flags, Python API, cache key semantics, and TTL configuration
37
+ - `on_llm_call` hook now fires for LLM calls inside `type: parallel` steps (previously only top-level steps)
38
+
39
+ ### Changed
40
+
41
+ - `Development Status` classifier updated from `3 - Alpha` to `5 - Production/Stable`
42
+ - `pyproject.toml` version bumped to `1.0.0` — stable public API
43
+
44
+ ---
45
+
46
+ ## [0.2.0] — 2026-05-09
47
+
48
+ ### Added
49
+
50
+ - `pyconveyor batch` CLI subcommand — process a JSONL file through a pipeline with configurable parallelism; outputs JSONL results
51
+ - `BatchResult` — rich result wrapper returned by `BatchRunner.run_all()`, with `.successes`, `.failures`, `.error_rate`, and `.summary()` properties; fully backward-compatible via `__iter__` and `__getitem__`
52
+ - `BatchSummary` dataclass — aggregate statistics (`total`, `succeeded`, `failed`, `error_rate`, `failed_ids`)
53
+ - `BatchRunner.on_batch_item_end` hook — callback fired after each item completes, useful for streaming results to a database without waiting for the full batch
54
+ - `PipelineRunner.on_run_start` hook — callback fired before any steps execute; `fn(input_data: dict) -> None`
55
+ - `PipelineRunner.on_run_end` hook — callback fired after the run completes (success or failure); `fn(rctx: RunContext) -> None`
56
+ - `VocabField` pipeline integration — the LLM step now automatically applies vocabulary normalisation (from `json_schema_extra["_pyconveyor_vocab"]`) to Pydantic model fields before validation; novel and fuzzy-matched terms are recorded in `rctx._vocab_suggestions` and surfaced in `RunSummary.vocab_suggestions`
57
+ - GitHub Actions CI workflow (`.github/workflows/ci.yml`) — ruff, mypy, pytest on Python 3.10–3.14 matrix
58
+ - GitHub Actions publish workflow (`.github/workflows/publish.yml`) — tag-triggered PyPI publish via OIDC Trusted Publisher + GitHub Release creation
59
+ - MkDocs + Material theme docs site (`docs/`) — 11 pages covering quickstart, all step types, expressions, providers, CLI reference, and examples
60
+ - `.readthedocs.yaml` v2 config targeting Read the Docs at `https://pyconveyor.readthedocs.io`
61
+ - Python 3.13 and 3.14 trove classifiers in `pyproject.toml`
62
+
63
+ ---
64
+
65
+ ## [0.1.0] — 2026-05-09
66
+
67
+ ### Added
68
+
69
+ - `PipelineRunner` — YAML-driven step executor with full load-time validation
70
+ - `RunContext` — per-run state carrier with `steps`, `metadata`, `failed`, `failure_state`
71
+ - `_NullSafeProxy` — null-safe attribute access for `ctx` in expressions
72
+ - Step types: `llm`, `transform`, `validate`, `io`, `parallel`, `condition`
73
+ - AST-whitelisted expression evaluator with `ExpressionSecurityError` at pipeline load time
74
+ - Rich load-time validation errors with "did you mean?" suggestions (string-distance scoring)
75
+ - LLM utilities (`make_client`, `call_llm`, `probe_json_mode`, `extract_json`) importable standalone
76
+ - Jinja2 prompt rendering (`render_prompt`, `render_prompt_string`)
77
+ - Unified parse + schema error feedback retry loop (§10) with conversation message structure
78
+ - `retry_on`, `schema_strict`, `max_feedback_tokens`, `error_template` per-step configuration
79
+ - Smart conditional defaults: `max_attempts` and `error_feedback` based on presence of `schema:`
80
+ - `last_attempt` accessor on `StepResult` for failure introspection
81
+ - Step-level `on_error` (`raise` | `continue` | `skip_remaining`) and `on_failure` hook
82
+ - Full model config: `temperature`, `top_p`, `max_tokens`, `seed`, `extra_params`, `pricing`
83
+ - Programmatic model overrides via `runner.run(..., model_overrides={})`
84
+ - `mock` provider for unit tests without API calls
85
+ - `openai_compat` provider (works with OpenAI, Ollama, vLLM, LM Studio)
86
+ - Native Anthropic provider (optional dependency)
87
+ - Custom provider registration via `@register_provider("name")` decorator
88
+ - `BatchRunner` — batch processing with configurable concurrency and optional tqdm progress
89
+ - Mermaid DAG visualisation (`generate_mermaid`)
90
+ - Dry-run mode (`runner.run(..., dry_run=True)`)
91
+ - `RunContext.summary()` with step counts, LLM call counts, elapsed time, attempt logs
92
+ - `VocabField` and `Vocabulary` — vocabulary-constrained fields with fuzzy matching
93
+ - Response caching for development (file-per-key, TTL support, cache control flags)
94
+ - `pyconveyor init` — bootstrap a working pipeline directory
95
+ - `pyconveyor run` — run a pipeline from the CLI
96
+ - `pyconveyor validate` — validate pipeline YAML with line-number errors
97
+ - `pyconveyor schema` — emit JSONSchema for editor autocomplete
98
+ - `pyconveyor visualise` — produce Mermaid DAG diagram
99
+ - Standard `logging` integration under `pyconveyor.*` namespaces
100
+ - `SCHEMA.md` — YAML format reference as a public contract
101
+ - Full unit test suite with fixture pipelines — 167 tests, 80% line coverage
102
+
103
+ ### Fixed
104
+
105
+ - **ISSUE-001**: Fixed 52 ruff lint errors (unused imports, undefined names, bare excepts, unused variables, type annotation issues).
106
+ - **ISSUE-002**: Fixed 12 mypy strict-mode type errors (missing `-> None` returns, untyped dicts, improper Optional handling).
107
+ - **ISSUE-003**: `pyconveyor validate` / `pyconveyor run` now insert the pipeline directory into `sys.path` so local schema modules are importable without installation.
108
+ - **ISSUE-004**: `pyconveyor run --input` now accepts an inline JSON string starting with `{` or `[`, eliminating the spurious `FileNotFoundError` on inline JSON input.
109
+
110
+ [0.1.0]: https://github.com/VictorGambarini/pyconveyor/releases/tag/v0.1.0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Victor Gambarini
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,65 @@
1
+ Metadata-Version: 2.4
2
+ Name: pyconveyor
3
+ Version: 1.0.0
4
+ Summary: Deterministic YAML pipeline engine for structured LLM extraction
5
+ Project-URL: Repository, https://github.com/VictorGambarini/pyconveyor
6
+ Project-URL: Documentation, https://pyconveyor.readthedocs.io
7
+ Project-URL: Changelog, https://github.com/VictorGambarini/pyconveyor/blob/main/CHANGELOG.md
8
+ License: MIT License
9
+
10
+ Copyright (c) 2026 Victor Gambarini
11
+
12
+ Permission is hereby granted, free of charge, to any person obtaining a copy
13
+ of this software and associated documentation files (the "Software"), to deal
14
+ in the Software without restriction, including without limitation the rights
15
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
16
+ copies of the Software, and to permit persons to whom the Software is
17
+ furnished to do so, subject to the following conditions:
18
+
19
+ The above copyright notice and this permission notice shall be included in all
20
+ copies or substantial portions of the Software.
21
+
22
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
25
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
27
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
28
+ SOFTWARE.
29
+ License-File: LICENSE
30
+ Keywords: deterministic,extraction,llm,pipeline,pydantic,structured-output,yaml
31
+ Classifier: Development Status :: 5 - Production/Stable
32
+ Classifier: Intended Audience :: Developers
33
+ Classifier: Intended Audience :: Science/Research
34
+ Classifier: License :: OSI Approved :: MIT License
35
+ Classifier: Programming Language :: Python :: 3
36
+ Classifier: Programming Language :: Python :: 3.10
37
+ Classifier: Programming Language :: Python :: 3.11
38
+ Classifier: Programming Language :: Python :: 3.12
39
+ Classifier: Programming Language :: Python :: 3.13
40
+ Classifier: Programming Language :: Python :: 3.14
41
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
42
+ Classifier: Typing :: Typed
43
+ Requires-Python: >=3.10
44
+ Requires-Dist: jinja2>=3.0
45
+ Requires-Dist: openai>=1.0
46
+ Requires-Dist: pydantic>=2.0
47
+ Requires-Dist: python-dotenv>=1.0
48
+ Requires-Dist: pyyaml>=6.0
49
+ Provides-Extra: anthropic
50
+ Requires-Dist: anthropic>=0.25; extra == 'anthropic'
51
+ Provides-Extra: dev
52
+ Requires-Dist: mypy>=1.0; extra == 'dev'
53
+ Requires-Dist: pytest-cov>=4.0; extra == 'dev'
54
+ Requires-Dist: pytest>=7.0; extra == 'dev'
55
+ Requires-Dist: ruff>=0.1; extra == 'dev'
56
+ Requires-Dist: types-pyyaml; extra == 'dev'
57
+ Requires-Dist: types-tqdm; extra == 'dev'
58
+ Provides-Extra: docs
59
+ Requires-Dist: mkdocs-material>=9.5; extra == 'docs'
60
+ Requires-Dist: mkdocs>=1.6; extra == 'docs'
61
+ Provides-Extra: progress
62
+ Requires-Dist: tqdm>=4.0; extra == 'progress'
63
+ Description-Content-Type: text/markdown
64
+
65
+ # pyconveyor