BRIM cloud client
Project description
brim-cloud-client
BRIM Cloud Client is a minimal implementation of the REST interface used to communicate with BRIM servers.
Quick start
Installation
pip install brim-cloud-client
Usage - Solve a CNF file
from brim_cloud_client.BRIM import TMB
# Set parameters
tmb_client = TMB(cm=0.9, cb=0.6, p='tmb', Rc=31000, C=49e-15, anneal=0.00011, seed=0)
# Submit cnf file to the server and wait for the results
state, status, results = tmb_client.solve('cust-u500-01.cnf')
print(state, status, results)
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
brim_cloud_client-1.0.3.tar.gz
(15.8 kB
view hashes)
Built Distribution
Close
Hashes for brim_cloud_client-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be5521b81ad078cc31d4f1a3db47219aed36223b6dbfd2fbd8db19e8d23f952f |
|
MD5 | 2446f6f337c11be632404b251dc08e0b |
|
BLAKE2b-256 | 6f770839cc1b034e30e51a28157424a4b9aaabc57313f1d75814f8a4ae5112dc |