Skip to main content

BRIM cloud client

Project description

brim-cloud-client

PyPI version

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)

Uploaded Source

Built Distribution

brim_cloud_client-1.0.3-py3-none-any.whl (16.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page