A Python SDK for interacting with the Datura API service.
Project description
Datura
Datura API in Python
Installation
pip install datura-py
Usage
Import the package and initialize the Datura client with your API key:
from datura_py import Datura
datura = Datura(api_key="your-api-key")
Common requests
# Desearch AI Search
result = datura.ai_search(
prompt="Bittensor",
tools=[
"Web Search",
"Hacker News Search",
"Reddit Search",
"Wikipedia Search",
"Youtube Search",
"Twitter Search",
"ArXiv Search"
],
model="NOVA",
date_filter="PAST_24_HOURS",
streaming=False,
)
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 Distribution
datura_py-0.0.5.tar.gz
(9.7 kB
view details)
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 datura_py-0.0.5.tar.gz.
File metadata
- Download URL: datura_py-0.0.5.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2485ddd10e2b0cbfc9abf49d94b9d0cd4327aab48f903e3c86b75be181c3f79d
|
|
| MD5 |
a72fb15b2c5ed979c538a3b7b2de2110
|
|
| BLAKE2b-256 |
e7e205a035ae52016c82a893b34688e8702f0cca7c855992150c8d596e87410b
|
File details
Details for the file datura_py-0.0.5-py3-none-any.whl.
File metadata
- Download URL: datura_py-0.0.5-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0157e34d42acaa0e99a838b07781c21ce4097123427508ce8f9ea604fc484fce
|
|
| MD5 |
5a1d47b55c78ab6db2c41d5ab70fd7a9
|
|
| BLAKE2b-256 |
e8f78929aaa667f943fbf661e134a5fe9da39894bcc6a627b446f792f851de55
|