Registry / web-framework / spotrix

spotrix

JSON →
library1.2.0pypypiunverified

Spotrix is a modern, enterprise-ready business intelligence web application that allows users to explore and visualize data using a no-code viz builder or a state-of-the-art SQL IDE. Version 1.2.0 is the latest stable release, with active development.

pip install spotrix
INSTALL
IMPORT
SIG · SPOTRIX
S
spotrix
web-frameworkpythonv1.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SpotrixApp
from spotrix import SpotrixApp
Main application class. No known common mistake.
Config
from spotrix.config import Config
from spotrix import Config
Config class is moved to a separate module in 1.1.0+.

Initialize and run Spotrix with default settings. For production, configure via environment variables or config file.

from spotrix import SpotrixApp app = SpotrixApp() app.run(host='0.0.0.0', port=8080)
Debug
Known issues
breakingIn version 1.0.0-alpha, the configuration schema was reworked. Configs from older versions may not be compatible.
fix
Refer to the migration guide in the documentation to update your config.yaml.
affects: <1.0.0-alpha
deprecatedThe `spotrix.views` module is deprecated as of 1.2.0. Use `spotrix.routes` instead.
fix
Replace `from spotrix.views import ...` with `from spotrix.routes import ...`.
affects: 1.2.0+
gotchaSpotrix requires a running database backend (e.g., PostgreSQL) for persistent storage. In-memory SQLite works for development but not for production.
fix
Set the `DATABASE_URL` environment variable to a proper database connection string.
affects: All
Upgrade
Version history
1.2.0latest on PyPI · released Dec 1, 2022
Audit
Dependencies
sqlalchemyrequiredRequired for SQL database connectivity
flaskrequiredWeb framework used by Spotrix
pandasrequiredData manipulation and analysis
plotlyoptionalVisualization library (may be replaced in future versions)
Agent activity
3 hits · last 30 days
node
2
OpenAI (training)
1
Resources
spotrix — pip install spotrix · libregistry