Skip to main content

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

MIT License © 2020-PRESENT Dup4

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.64.2.tar.gz (112.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xcpcio-0.64.2-py3-none-any.whl (31.1 kB view details)

Uploaded Python 3

File details

Details for the file xcpcio-0.64.2.tar.gz.

File metadata

  • Download URL: xcpcio-0.64.2.tar.gz
  • Upload date:
  • Size: 112.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.2

File hashes

Hashes for xcpcio-0.64.2.tar.gz
Algorithm Hash digest
SHA256 2b66097f4c310506448e6c137c82881af7191c2a32cc6d1969d2e0e3a7c497b1
MD5 cc5456e722c3c5795e90219ffa26182c
BLAKE2b-256 0d479ebafea68e9ca80e9a74ea6ac495c0fddf02e6332722075c93556eb0bd8e

See more details on using hashes here.

File details

Details for the file xcpcio-0.64.2-py3-none-any.whl.

File metadata

  • Download URL: xcpcio-0.64.2-py3-none-any.whl
  • Upload date:
  • Size: 31.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.2

File hashes

Hashes for xcpcio-0.64.2-py3-none-any.whl
Algorithm Hash digest
SHA256 63deec71c3ca8bbd974e4b25b511b512830190d23274e4937211633014d7df3a
MD5 59e4cfb7be5fcc22ed27170c359fee34
BLAKE2b-256 4715f885db79375dd7837c244ede47dccafefa186906ee3072b0cbdd4bf20c8c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page