SpartaQube is a plug and play solution to visualize your data and build web components
Project description
SpartaQube
SpartaQube is a plug and play solution to visualize your data and build web components
Use SpartaQube to
- Access your data through already built-in connectors
- Apply transformations to your data using the SpartaQube notebook
- Create charts and web components by dragging & dropping your transformed data
- Launch ephemeral Python kernels to quickly execute Python commands
- Create interactive dashboards
The rich user interface makes it easy to visualize and retrieve all your components
You can expose and share them with a simple html snippet code
Installation
PIP INSTALL
Install the package via pip with code below:
pip install spartaqube
To Upgrade:
pip install --upgrade spartaqube
DOCKER INSTALL
Install the application via docker with the code below:
docker run --restart always -v spartaqube:/spartaqube -p 8664:8664 spartaqube/spartaqube
At ths stage, the application runs locally and is accessible in your browser at http://localhost:8664
You can change the listening port 8664 to any available port you want. For instance, if you want to assign it to port 9000, you can run the following command:
docker run --restart always -v spartaqube:/spartaqube -p 9000:9000 -e port=9000 spartaqube/spartaqube
Do not forget to also pass the environment variable -e port=9000
Here, the application runs locally and is accessible in your browser at http://localhost:9000
You can also use the following docker-compose.yml to better control the settings:
version: '3'
services:
spartaqube:
restart: always
build:
context: .
dockerfile: ./docker/Dockerfile
args:
port: "8664"
http_proxy: ""
https_proxy: ""
workers: ""
hostname: spartaqube
volumes:
- spartaqube:/spartaqube
ports:
- "8664:8664"
volumes:
appdata:
spartaqube:
static:
Then, you just need to run the command: docker-compose.yml up --build
Or if you want to use another port than the default 8664, like port 9000:
version: '3'
services:
spartaqube:
restart: always
build:
context: .
dockerfile: ./docker/Dockerfile
args:
port: "9000"
http_proxy: ""
https_proxy: ""
workers: ""
hostname: spartaqube
volumes:
- spartaqube:/spartaqube
ports:
- "9000:9000"
volumes:
appdata:
spartaqube:
static:
Get more information regarding the docker application at: https://hub.docker.com/r/spartaqube/spartaqube
Jupyter Notebook Integration
SpartaQube can be embedded within your usual Jupyter notebooks
Interact with your data with drag & drop and build your web components in few clicks
- Import library
from spartaqube import Spartaqube as Spartaqube
spartaqube_obj = Spartaqube()
Get your app token and run the API with a registered account:
from spartaqube import Spartaqube as Spartaqube
spartaqube_obj = Spartaqube(app_token)
- List available components
spartaqube_obj.get_widgets()
- Get a specific SpartaQube widget
spartaqube_obj.get_widget("<widget_id>")
- Create a new component using the interactive plot editor
spartaqube_obj.iplot(variable1, variable2, ...)
Check out the documentation of the API at https://spartaqube.com/api for more information
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 spartaqube-0.1.67.tar.gz.
File metadata
- Download URL: spartaqube-0.1.67.tar.gz
- Upload date:
- Size: 59.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
621b471a88d67694d825cadc51221972c2e0fe7067082ee13ad2eebe8b58819b
|
|
| MD5 |
655423d039a07bf8e0d1bea7a9d66c6c
|
|
| BLAKE2b-256 |
09a39402ad3fd0d4123ca07abf863acddfaf2584da2d71f87c2ac71eba3bb114
|