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.3.0.tar.gz (29.4 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.3.0-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for los_client-0.3.0.tar.gz
Algorithm Hash digest
SHA256 084a0f59249160b0f6b07935f21cc93c74be9c0dbcab3155c9e1bfc2115de58f
MD5 7d4353c7ead2f50282e88bf05b052578
BLAKE2b-256 dbd5c4364637e0d840a571cf70f5d0871d981733bb52ef412f84806414f28ad3

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for los_client-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ea7c05cfd1a66095c60c13f2d702529810f9197d9a033f48f5badac1e90b72d8
MD5 43ff10b98b673781e6c4bcc94f32e992
BLAKE2b-256 03e8ff7342084048e199c2b3b3c1442c610bda74f1237d22fac6b7cef67a1101

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