Skip to main content

Phrazor is a Python library that converts your data into textual insights.

Project description

Python versions

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

phrazor-0.0.2.tar.gz (19.1 kB view details)

Uploaded Source

File details

Details for the file phrazor-0.0.2.tar.gz.

File metadata

  • Download URL: phrazor-0.0.2.tar.gz
  • Upload date:
  • Size: 19.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for phrazor-0.0.2.tar.gz
Algorithm Hash digest
SHA256 b3b1cf8a27f5b50e352dcc658c2d6bb00cbece3cde1b7eb0195c480ad6b27bea
MD5 f0865db382bdf5f02001b06ffe513d41
BLAKE2b-256 7cf6a3c74eec8c5422d3daead63b8d14210c7fe8146977fd4504574f8d9c1b49

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page