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.452
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.452.tar.gz | 24.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyprocessors_openai_completion-1.6.452-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 48.1 kB
Release files / pyprocessors_openai_completion-1.6.452.tar.gz
| Download URL | pyprocessors_openai_completion-1.6.452.tar.gz |
|---|---|
| Size | 24.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5bf2d3db6dc816517ea1a8c5d5523920dc0f4cd7e1e7695404be30a7a65a6c93
|
|
BLAKE2b-256 checksum How to use checksums |
31c32b230cd063309d620f2b3e4488d3d54aa4800cb669486780baac3d674159
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.12 {"installer":{"name":"uv","version":"0.12.12","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.452-py3-none-any.whl
| Download URL | pyprocessors_openai_completion-1.6.452-py3-none-any.whl |
|---|---|
| Size | 23.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0ad4b409557251afd2392909b796d4c01a3177a0f2cdb859b05247cbe7bc2452
|
|
BLAKE2b-256 checksum How to use checksums |
c16bfde5b68da5d32734dd9a11662ffb20837ddbf8126a9c74dce57c34e89697
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.12 {"installer":{"name":"uv","version":"0.12.12","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}
|