Skip to main content

SpartaQube is a plug and play solution to visualize your data and build web components

Project description

SpartaQube icon SpartaQube

SpartaQube is a plug and play solution to visualize your data and build web components

Use SpartaQube to

  1. Access your data through already built-in connectors
  2. Apply transformations to your data using the SpartaQube notebook
  3. Create charts and web components by dragging & dropping your transformed data
  4. Launch ephemeral Python kernels to quickly execute Python commands
  5. 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

  1. 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)
  1. List available components
spartaqube_obj.get_widgets()
  1. Get a specific SpartaQube widget
spartaqube_obj.get_widget("<widget_id>")
  1. 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


Download files

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

Source Distribution

spartaqube-0.1.65.tar.gz (47.2 MB view details)

Uploaded Source

File details

Details for the file spartaqube-0.1.65.tar.gz.

File metadata

  • Download URL: spartaqube-0.1.65.tar.gz
  • Upload date:
  • Size: 47.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.4

File hashes

Hashes for spartaqube-0.1.65.tar.gz
Algorithm Hash digest
SHA256 18acd36d679a169d8e4bbefc25ff0188e13a00410debe60d3293539f6a8ddb55
MD5 7f476cfc65ee758c52487f532b9e50b3
BLAKE2b-256 d023f5f3417705803227c25b7c7a42ce14a0893e287c92d690cad2bfec187286

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