The official Askdata Python SDK
Project description
Askdata Examples
This repository contains examples of Askdata usage in serving different types of data.
Installation
pip install askdata
or
pip install -r requirements.txt
Authentication
Lets handle our authenticaton
from askdata import Askdata
askdata = Askdata()
Once your insert your account and password you're all set
Query your data
# Load the list of the agents connected to your account as a pandas dataframe
get_agents_df = askdata.agents_dataframe()
#get one agent
agent = askdata.agent("sales_demo")
# Simple query
df = agent.ask('give me sales by countries')
df
Create a new Workspace (agent) and Create a dataset Starting from a Dataframe
# Load the list of the agents connected to your account as a pandas dataframe
agent.create_dataset(frame=df, dataset_name='Web Sources')
Askdata Demo
Check the following tutorial, to learn more about Askdata end-to-end.
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
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 askdata-1.0.21.tar.gz.
File metadata
- Download URL: askdata-1.0.21.tar.gz
- Upload date:
- Size: 41.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce1779f08a789b5044348ebe7858a82331f14f847ebeef096fdfa5cd5e4e42b1
|
|
| MD5 |
84dc598aba5517c42bfcaacd0a02db17
|
|
| BLAKE2b-256 |
890ad9b15d9d02268dae21f8ebf548409290f9ad66323f6a36922c655caf9868
|
File details
Details for the file askdata-1.0.21-py3-none-any.whl.
File metadata
- Download URL: askdata-1.0.21-py3-none-any.whl
- Upload date:
- Size: 43.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc0e7d9388fb55d2b0e20d68488bffbdd9ec6ecb6afbc512e71aee94e483ff27
|
|
| MD5 |
7b46efaec39e9b492b829e29d971b256
|
|
| BLAKE2b-256 |
a7aa70b03d48e3f577b28236d4254eb04d90a389daf2cb71c7a348de69107e1d
|