Metadata-Version: 2.1
Name: opvious
Version: 0.1.5
Summary: Opvious Python SDK
Home-page: https://github.com/opvious/sdk.py
Author: Opvious engineering
Author-email: eng@opvious.ai
Project-URL: Bug Tracker, https://github.com/opvious/sdk.py
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

# Opvious SDK

https://opvious.ai

## Quickstart

You'll first need an API access token. You can generate a new one at
https://console.opvious.dev/authorizations.

```py
import opvious

client = opvious.Client(ACCESS_TOKEN)

# Create a new model formulation
client.register_specification(
  formulation_name='my-model',
  source_text='...'
)

# Attempt to solve a formulation
solution = client.run_attempt(
  formulation_name='my-model',
  # inputs...
)
```

### Jupyter integration

From within a Jupyter notebook, you can register a specification directly from
Markdown cells:

```py
opvious.jupyter.save_specification(client=client, formulation_name='my-model')
```
