PyClarify
from pyclarify import Client
data = {
"times": ["2023-10-27T00:00:00+02:00"],
"series": {
"temperature": [19],
"pressure": [1025]
}
}
client = Client("credentials.json")
client.insert(data)
PyClarify helps users of Clarify to easily read, write and manipulate data in Clarify.
Data scientists can easily filter data, convert it to
pandas
with our built in methods, and write results back.System integrators can set up pipelines for automatic streaming of data, and update labels on the fly.
Useful tutorials and documentation
Prerequisites
In order to start using the Python SDK, you need
To know a bit of Python. For a refresher, see the Official Python tutorial.
Python3 (>= 3.7) and pip.
Credentials from a Clarify integration. See the introduction notebook for a complete introduction.
Where to get it
The source code is currently hosted on GitHub at: https://github.com/clarify/pyclarify
Binary installers for the latest released version are available at the Python Package Index (PyPI).
# PyPI install
pip install pyclarify
Dependencies
requests - The most used (and trusted) HTTP library.
Pydantic - Allowing for strict typing and data validation.
Typing Extensions - Brings the typing use of new type system features on older Python versions, allowing us to support python 3.7+.
Other information
Indices and tables