Skip to main content

CALICOlib

CALICOlib is a framework to help facilitate problem creation on DOMjudge. Currently, the library helps with test generation and creating problem zip, which is based on the ICPC problem package specification

Installing

python -m pip install calico_lib

Alternatively, install the development version using flit.

brew install flit # or another package manager like pip or pipx
git clone https://github.com/calico-team/CALICOlib.git
cd CALICOlib
PIP_BREAK_SYSTEM_PACKAGES=1 flit install --symlink

Quick Start

See examples/add. Also see https://github.com/calico-team/CALICOlib/blob/main/examples/add/main.py

Development

Bump version number in __init__.py and run flit publish or another build tool. See documentation for flit.

Roadmap

Problem / Test Generation / Test Verification:

  • Remove problem dir thingy, just cd
  • Support test case from file
  • Rethink API (Subproblem should be Problem and Problem should be MultipartProblem)
  • I thought about it, it's a bad idea

Other stuff:

  • Upload problem to testing contest
  • Create contest
  • Create contest.zip

Similar tools

https://github.com/RagnarGrootKoerkamp/BAPCtools

Metadata

Release files for calico_lib 0.1.21

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for calico_lib 0.1.21
File Size Uploaded Provenance Actions
calico_lib-0.1.21.tar.gz 18.6 kB Without provenance Details for calico_lib-0.1.21.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for calico_lib 0.1.21
File Interpreter ABI Platform Actions
calico_lib-0.1.21-py2.py3-none-any.whl Python 2, Python 3 none any Details for calico_lib-0.1.21-py2.py3-none-any.whl

Total release size: 32.0 kB

Release files / calico_lib-0.1.21.tar.gz

Download URL calico_lib-0.1.21.tar.gz
Size 18.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c7d590956ff77e8f0cb2708f434f52aec2edfaf7f7eebe0a698be23203881c3b
BLAKE2b-256 checksum
How to use checksums
c37d6b9c84d5ba29efd9f83c7579398a83eae121eb6abc67712f207659437fc3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.32.5

Release files / calico_lib-0.1.21-py2.py3-none-any.whl

Download URL calico_lib-0.1.21-py2.py3-none-any.whl
Size 13.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
ec8cf7bf974587d0fa4fad4a1e376e7f7009f11644e4b193741301a4ca52dd7b
BLAKE2b-256 checksum
How to use checksums
da8aae1dfc5f296c50f9e0ae86ff6ef1e2c3c07e7faadd73766153add6f8a349
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.32.5

Security for calico_lib 0.1.21

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page