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.6.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.6.tar.gz.
File metadata
- Download URL: datura_py-0.0.6.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 |
def99c3f2231160ba0999126380f35bcece4bc80d3bd9b51e8a83506394e6e63
|
|
| MD5 |
fd5fddd0f212f13a65e0f663d17b81bc
|
|
| BLAKE2b-256 |
8c73ac6bcd07736afe064143a7c58847a7ac0afff234472eb7a7603b6cede646
|
File details
Details for the file datura_py-0.0.6-py3-none-any.whl.
File metadata
- Download URL: datura_py-0.0.6-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 |
ce24107ba4f08141f53c38547fbc40069e579eb8a6a79cd0c8c2fea7563fa8cb
|
|
| MD5 |
cf92b32d77a5ee7f5c48c77e74581452
|
|
| BLAKE2b-256 |
6c40b591714e01f93687ca71d99ab6a9ab2405069f68493624d392d880c54bd6
|