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
If you have a solver that produces output compatible with the SAT competition and accepts a cnf file as its only parameter, you just need to run
los_client run --solver [path_to_solver] --token [token]
and wait for the next match to start.
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.
You can also save a configuration using
los_client --config los.json set --solver [path_to_solver] --token [token]
which creates a new file in the current working directory, so the next time you only need to run
los_client --config los.json 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file los_client-0.1.0.tar.gz.
File metadata
- Download URL: los_client-0.1.0.tar.gz
- Upload date:
- Size: 50.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.30
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31589d64497a1cf85da0290c697ff5428d65a8845be2517f1b9fa9b89018796d
|
|
| MD5 |
5956ccc37538d423cb98dea7caf937df
|
|
| BLAKE2b-256 |
4ee726c86d263eaae2ff78b8ac3d9bcf4e8cbebc670d9b391d37029e8da2bbcb
|
File details
Details for the file los_client-0.1.0-py3-none-any.whl.
File metadata
- Download URL: los_client-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.30
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51c4c43188be56f909b9fc7660f6084d8d5ccca012e62b23481d40f08dec235c
|
|
| MD5 |
2862cc4b7bb896b99438df0648fe3677
|
|
| BLAKE2b-256 |
9c62782f2f937233243e241753cc7215a89143de1b7045547a5e8e140fd3de26
|