xcpcio-python
Python library and CLI tools for XCPCIO.
Features
- Type Definitions: Pydantic models for contest data structures (teams, submissions, problems, etc.)
- Constants: Shared constants for submission statuses, time units, and penalty calculations
- CCS Archiver: CLI tool to archive CCS API data to contest package format
- Contest API Server: CLI tool to serve contest packages via CCS API
- Cross-Language Compatibility: Mirrors TypeScript types for data consistency
Installation
pip install xcpcio
Or install with uv:
uv add xcpcio
Development
Setup
# Clone repository
git clone https://github.com/xcpcio/xcpcio.git
cd xcpcio/python
# Install dependencies with uv
uv sync
Testing
# Run tests
uv run pytest
# Run specific test file
uv run pytest tests/test_types.py
Documentation
For detailed documentation, visit:
License
Metadata
Release files for xcpcio 0.86.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| xcpcio-0.86.1.tar.gz | 117.1 kB | Without provenance | Details for xcpcio-0.86.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| xcpcio-0.86.1-py3-none-any.whl | Python 3 | none | any | Details for xcpcio-0.86.1-py3-none-any.whl |
Total release size: 161.8 kB
Release files / xcpcio-0.86.1.tar.gz
| Download URL | xcpcio-0.86.1.tar.gz |
|---|---|
| Size | 117.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
81da06a5840d7884e8a2ff683c92f4dc2583c0724a1ddd96c012c0d247a93bfd
|
|
BLAKE2b-256 checksum How to use checksums |
455d2fa41f6a328dbbbf67785bd5dc35cddf956150b7d39d9041b0f7bc7ef3e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / xcpcio-0.86.1-py3-none-any.whl
| Download URL | xcpcio-0.86.1-py3-none-any.whl |
|---|---|
| Size | 44.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f46fd2a572afa037b3f83ec21e4f27f23efc10fa4bde8031fff2904b80f88ab7
|
|
BLAKE2b-256 checksum How to use checksums |
25f82ea560bbea45b0580f64a5f4e86a69107ed0077d6a6f72833a421fdb923f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for xcpcio 0.86.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.