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.448
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.448.tar.gz | 24.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyprocessors_openai_completion-1.6.448-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 47.9 kB
Release files / pyprocessors_openai_completion-1.6.448.tar.gz
| Download URL | pyprocessors_openai_completion-1.6.448.tar.gz |
|---|---|
| Size | 24.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3fc9d5f189318bee5135247987c2c6ca8b3042a6b8a8a2c89ef6cdb0fb70e063
|
|
BLAKE2b-256 checksum How to use checksums |
df01b5faf896239a28e8c5161e85c472543403194cb13f1d4d16fe2f3ed7831a
|
| 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.448-py3-none-any.whl
| Download URL | pyprocessors_openai_completion-1.6.448-py3-none-any.whl |
|---|---|
| Size | 23.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
caf26fa9f65943cc5c505c4ade8191a50637df2b8efab59d3f3f5ae507e52083
|
|
BLAKE2b-256 checksum How to use checksums |
b473ce114d03c80e9feea1b59038856b9ed0ec40796838fe66fc439f773f3520
|
| 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}
|