Skip to main content

nlp-viz-pro

A deterministic visualization planning engine. It transforms a natural language query and data schema into a JSON visualization plan.

Installation

pip install nlp-viz-pro

Usage

import pandas as pd
from nlp_viz_pro import generate_plan, render_chart

# 1. Define your schema
schema = [
    {"name": "Date", "dtype": "datetime"},
    {"name": "Sales", "dtype": "float"}
]

# 2. Generate the plan from natural language
query = "show sales trend over time"
plan = generate_plan(query, schema)
print(plan)
# Output:
# {
#   "chart_type": "line",
#   "x": "Date",
#   "y": "Sales", ...
# }

# 3. Create your data
df = pd.DataFrame({
    "Date": pd.date_range(start="2026-01-01", periods=5),
    "Sales": [100, 150, 130, 180, 200]
})

# 4. Render the interactive Plotly chart!
fig = render_chart(plan, df)
fig.show() # Opens interactive chart in your browser

Metadata

Release files for nlp-viz-pro 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nlp-viz-pro 1.0.0
File Size Uploaded Provenance Actions
nlp_viz_pro-1.0.0.tar.gz 4.9 kB Without provenance Details for nlp_viz_pro-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nlp-viz-pro 1.0.0
File Interpreter ABI Platform Actions
nlp_viz_pro-1.0.0-py3-none-any.whl Python 3 none any Details for nlp_viz_pro-1.0.0-py3-none-any.whl

Total release size: 10.2 kB

Release files / nlp_viz_pro-1.0.0.tar.gz

Download URL nlp_viz_pro-1.0.0.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
4998061296d73c39dc91fdcec5e53565ca7238dcfb047db128ea99c2c08a91f3
BLAKE2b-256 checksum
How to use checksums
792a1a2f5b8a16f9d2d55e4824e9cd9d003268136dba822a1e5f57e2d10cc84a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.5

Release files / nlp_viz_pro-1.0.0-py3-none-any.whl

Download URL nlp_viz_pro-1.0.0-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6f6236088ee3b4e709ca3d7816e966e130289cac1e0eae10aaca13af69c46158
BLAKE2b-256 checksum
How to use checksums
c1eb7d96807eacec0848fbce46c7d5c4c8d8c38bb89c5ec85e3b74894cb71740
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.5

Security for nlp-viz-pro 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page