Phrazor is a Python library that converts your data into textual insights.
Project description
Phrazor API Postman Workspace
Phrazor Insights Collection
For Postman Docs visit Phrazor Postman Docs
Phrazor Python Library
Phrazor is a Python library that converts your data into textual insights.
You can find usage examples for the Phrazor Python library in our Phrazor Docs
Quick Start
Click here to go to Quick start of Phrazor SDK
Installation
You don't need this source code unless you want to modify the package. If you just want to use the package, just run:
pip install --upgrade phrazor
Install from source with:
python setup.py install
Usage
The library needs to be configured with your account's secret key which is available on the website.
Or set phrazor.API_KEY to its value:
import phrazor
phrazor.API_KEY = "YOUR API KEY"
phrzr = phrazor.Phrazor()
# set data
phrzr.set_data({"Column Name 1": [list of values], "Column Name 2": [list of values]})
# set column meta
phrzr.set_column_meta(
date_column="Date Column Name", metric_column=["Metric Column Name 2"],
dimension_column="Dimension Column Name"
)
# supported analysis - ("descriptor", "change", "compare_measure", "compare_dimension", "target_vs_achievement", "budget" or "trend")
# print the generated insights
print(phrzr.get_insights("descriptor"))
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
File details
Details for the file phrazor-0.0.3.tar.gz.
File metadata
- Download URL: phrazor-0.0.3.tar.gz
- Upload date:
- Size: 18.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.17 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f27a925b13ebab86bb03d958992521631285aa24801987918b42065a68b669aa
|
|
| MD5 |
f1fd458918c8c6e1ed73fadcb0676297
|
|
| BLAKE2b-256 |
680b926858dbf7e369010c6f9a416b56e650fc0f38907a29e2a7e08bdcbb0991
|