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.446
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.446.tar.gz | 20.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyprocessors_openai_completion-1.6.446-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 41.3 kB
Release files / pyprocessors_openai_completion-1.6.446.tar.gz
| Download URL | pyprocessors_openai_completion-1.6.446.tar.gz |
|---|---|
| Size | 20.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
645c969157ab5c38e2cae9836eeb5b898062b1569c39c94c5cd579d4c8259229
|
|
BLAKE2b-256 checksum How to use checksums |
32bb90e24e99f0c44c3c34bd0238c8e29975887c5c328b7f4ded52c5bef95775
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","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.446-py3-none-any.whl
| Download URL | pyprocessors_openai_completion-1.6.446-py3-none-any.whl |
|---|---|
| Size | 20.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7b473ff0c3a058a8bf98c45fbd8bb7cf3e4e3ea59c0a89dcd2eb667991f91465
|
|
BLAKE2b-256 checksum How to use checksums |
b1f51c46fd04fd3b9d60451865bfe7cdc4d0183111f90d72c91112a2fc3d3528
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","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}
|