Skip to main content

CALICO lib for all your problem writing needs

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

calico_lib-0.1.21.tar.gz (18.6 kB view details)

Uploaded Source

Built Distribution

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

calico_lib-0.1.21-py2.py3-none-any.whl (13.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file calico_lib-0.1.21.tar.gz.

File metadata

  • Download URL: calico_lib-0.1.21.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.5

File hashes

Hashes for calico_lib-0.1.21.tar.gz
Algorithm Hash digest
SHA256 c7d590956ff77e8f0cb2708f434f52aec2edfaf7f7eebe0a698be23203881c3b
MD5 d8ae11cc889e160d30427aa6006bc9e2
BLAKE2b-256 c37d6b9c84d5ba29efd9f83c7579398a83eae121eb6abc67712f207659437fc3

See more details on using hashes here.

File details

Details for the file calico_lib-0.1.21-py2.py3-none-any.whl.

File metadata

  • Download URL: calico_lib-0.1.21-py2.py3-none-any.whl
  • Upload date:
  • Size: 13.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.5

File hashes

Hashes for calico_lib-0.1.21-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ec8cf7bf974587d0fa4fad4a1e376e7f7009f11644e4b193741301a4ca52dd7b
MD5 57841d0f2940f277cfa9bef8379252ce
BLAKE2b-256 da8aae1dfc5f296c50f9e0ae86ff6ef1e2c3c07e7faadd73766153add6f8a349

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