Requirements
- Python 3.12+
- uv for package management and publishing
- Pydantic v2 for data modelling
Installation
uv sync
Development
Install with test dependencies:
uv sync --extra test
Run tests:
uv run pytest
Run linter:
uv run ruff check .
uv run ruff format --check .
Publish the Python Package to PyPI
- Increment the version of your package in the
__init__.pyfile:
"""OpenAICompletion processor"""
__version__ = "x.y.z"
- Build and publish:
uv build
uv publish
SBOM & vulnerability check
Install the SBOM dependencies:
uv sync --extra sbom
Generate a CycloneDX SBOM from the current environment:
uv run cyclonedx-py environment -o sbom.cdx.json --output-format json
Audit dependencies for known vulnerabilities:
uv run pip-audit --format json --output audit-report.json
To fail on any known vulnerability (useful in CI):
uv run pip-audit --strict
Metadata
Release files for pyprocessors-openai_completion 1.6.450
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyprocessors_openai_completion-1.6.450.tar.gz | 24.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyprocessors_openai_completion-1.6.450-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 48.1 kB
Release files / pyprocessors_openai_completion-1.6.450.tar.gz
| Download URL | pyprocessors_openai_completion-1.6.450.tar.gz |
|---|---|
| Size | 24.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cfe1b473aa3aca40d185718d77dc7a25a09575972e493a8f30e249440f03f2c7
|
|
BLAKE2b-256 checksum How to use checksums |
87af77cbec63a4be59aede8f141f40c55ddcb3a3b230bb99ee61f84123bca596
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.11 {"installer":{"name":"uv","version":"0.12.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / pyprocessors_openai_completion-1.6.450-py3-none-any.whl
| Download URL | pyprocessors_openai_completion-1.6.450-py3-none-any.whl |
|---|---|
| Size | 23.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e5e53e81df106385ca6c1818c992e0a03dbf291632de339d98d87d7362b31a00
|
|
BLAKE2b-256 checksum How to use checksums |
876eba2632191a1db3e57ec7e2f85a105e6203d9661d3d9d1a4a1ff5cc8d70e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.11 {"installer":{"name":"uv","version":"0.12.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|