xcpcio python lib
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
xcpcio-0.81.1.tar.gz
(116.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
xcpcio-0.81.1-py3-none-any.whl
(44.1 kB
view details)
File details
Details for the file xcpcio-0.81.1.tar.gz.
File metadata
- Download URL: xcpcio-0.81.1.tar.gz
- Upload date:
- Size: 116.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8da0aa8fd012683f86d8097f1554b22821b81eabc9e69484819f3029a9f085b6
|
|
| MD5 |
9f58f5f99c145fcb30411e923c3bdde6
|
|
| BLAKE2b-256 |
6c5343a8931392508076205792922427a5c0a896fc14faa37af52e20085774d2
|
File details
Details for the file xcpcio-0.81.1-py3-none-any.whl.
File metadata
- Download URL: xcpcio-0.81.1-py3-none-any.whl
- Upload date:
- Size: 44.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3cfd376e898c7daf0e98d978f2e09ed35938a777910fb17f5feee545b6e99654
|
|
| MD5 |
76c7a7c53c1c179a7dc1fc8a2eeaf25c
|
|
| BLAKE2b-256 |
054a7df5508b8bc126a77f9aa958d772aa1de7fd16e8869254ebf9b20ddc539c
|