Last updated:
0 purchases
phrazor 0.0.3
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"))
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.