A Python Client Interface for the Daisi Platform
Project description
About PyDaisi
Full documentation on the features of the PyDaisi client, as well as the platform itself, are available at the Daisi Documentation. Below is a quick overview of the basic PyDaisi usage:
Installing PyDaisi
PyDaisi can be installed with PIP:
pip install --upgrade pydaisi
Using PyDaisi
You can execute a Daisi simply by:
- Connecting to the Daisi
- Calling a top-level function fo that Daisi, providing arguments as needed
In this example, we connect to the Titanic Statistic Daisi, and call two different top-level functions (median and percentile):
from pydaisi import Daisi
# instantiate a Daisi object
daisi = Daisi("Titanic Statistics")
# call a Daisi function. You can also use positional parameters: daisi.median("Age")
med = daisi.median(field="Age")
print(f"Median Age of Titanic Passengers was: {med.value}")
print(f"10th Percentile of Titanic Passengers' Ages was: {daisi.percentile('Age', .1).value}")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
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 pydaisi-0.3.3.0-py3-none-any.whl.
File metadata
- Download URL: pydaisi-0.3.3.0-py3-none-any.whl
- Upload date:
- Size: 14.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cbacdb3c9657ac966e13a99669d9efe85ee6d8405d9a57e9d839e6ceda19ac98
|
|
| MD5 |
4180b57effaacecc865dae3e926a563d
|
|
| BLAKE2b-256 |
9e0fb56159bca050ce9ab4c43b18fa33f956191c0c8d8fc14be39a244788d972
|