Skip to main content

League of Solvers Client CLI

Project description

About

The League of Solvers (LoS) is a SAT solver competition with matches every hour. (In the future we also hope to provide other kinds of competitions.) Everyone is welcome to participate, either with an existing solver or with their own. This program (los_client) is a client to easily participate at the competition.

Getting Started

Step 1. Installation

It is recommended to install via pipx so that the client can run in a seperate environment.

sudo apt install pipx

Once pipx is installed you can install the client via

pipx install los-client

Step 2. Register a Solver

Register a solver and copy the token at los.npify.com.

Step 3. Compete

To use this client to the League of Solvers your solver needs to

  • accept an instances in DIMACS CNF format (description) as the only parameter
  • produce output that is compatible with the SAT competition

If your solver is not compatible, you either need to write a script to adapt or you can adjust the los_client code itself, see under Development.

To add a solver, you use

los_client add [token] [solver]

where [token] is obtained in the previous step and [solver] is the path to your solver binary or wrapper script.

Once you've finished configuring the solver you can run the client via

los_client run

Development

Setup and run through the environment:

pipx install uv
git clone https://github.com/NPify/los_client.git
cd los_client
uv run los_client --help

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

los_client-0.4.0.tar.gz (29.7 kB view details)

Uploaded Source

Built Distribution

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

los_client-0.4.0-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file los_client-0.4.0.tar.gz.

File metadata

  • Download URL: los_client-0.4.0.tar.gz
  • Upload date:
  • Size: 29.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.29

File hashes

Hashes for los_client-0.4.0.tar.gz
Algorithm Hash digest
SHA256 6cfaf30ee47a7a9553f85f5027c913fe7a4da51fabbdd47db27f1ac09c0d3b64
MD5 e8cd1e4f7e445e81f88718e54eff6687
BLAKE2b-256 e8ad608ee708a20603d3a08aee07a3a94cbf1c0abc2507ed1fb6abcef6b7c027

See more details on using hashes here.

File details

Details for the file los_client-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: los_client-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.29

File hashes

Hashes for los_client-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d5d44830f37c54b952d2ba7d7ffc16dc98fdeff1d6e10a663f59dd4418cb23fc
MD5 bca0c5e1f48872ef04909915e54d2927
BLAKE2b-256 921b1e4713c462da6715d6e3def7d63c7be91246154387d5d286c16b0c3c4a27

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