Skip to main content

Local NeuronSphere Control CLI

Project description

A CLI tool for controlling the Local NeuronSphere.

Additional Requirements

  • Docker Compose

  • Docker

Configuration

Required Environment Variables:

  • HMD_HOME: folder to store data and configuration for Local NeuronSphere

  • HMD_REPO_HOME: folder containing NeuronSphere compliant projects, it is mounted into some services

Commands

  • hmd neuronsphere up: starts all enabled services in the Local NeuronSphere

  • hmd neuronsphere down: stops all enabled services in the Local NeuronSphere

  • hmd neuronsphere run: run within a NeuronSphere Microservice project to run it locally for testing

  • hmd neuronsphere update-images: pull down updated images to run

Included Services

All services are enabled by default.

  • Gateway Proxy Server: used to forward calls to running NeuronSphere Microservices

  • Postgres Database: relational storage backend for running NeuronSphere Microservices

  • DynamoDB: NoSQL storage backend for running NeuronSphere Microservices

  • Jupyter Lab Server: used to run Jupyter Notebooks, mounts HMD_REPO_HOME for project access, located at http://localhost:8888/

  • NeuronSphere Transform Service: a local instance of the NeuronSphere Transform service to test NeuronSphere Transforms locally

  • Trino: a Trino database instance to use with local Transforms http://localhost:8081

  • Airflow: an Airflow instance used by the Transform Service, located at http://localhost:175/

  • Explorer Portal: an instance of the NeuronSphere Explorer portal for local dashboard development, located at http://localhost:8088/

  • Minio Object Storage: http://localhost:9001

  • SQS Queues: http://localhost:9235

The following environment variables disable certain services by setting them to ‘false’. For example, hmd configure set-env HMD_LOCAL_NEURONSPHERE_ENABLE_TRINO false will disable Trino.

  • HMD_LOCAL_NEURONSPHERE_ENABLE_TRINO: disables Trino services

  • HMD_LOCAL_NEURONSPHERE_ENABLE_AIRFLOW: disables Airflow

  • HMD_LOCAL_NEURONSPHERE_ENABLE_TRANSFORM: disables Transform Service

  • HMD_LOCAL_NEURONSPHERE_ENABLE_DYNAMODB: disables DynamoDb

  • HMD_LOCAL_NEURONSPHERE_ENABLE_APACHE_SUPERSET: disables Explorer portal

Disabled services are not started and removed the next time you run hmd neuronsphere up.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hmd_cli_neuronsphere-0.4.176-py3-none-any.whl (212.2 kB view details)

Uploaded Python 3

File details

Details for the file hmd_cli_neuronsphere-0.4.176-py3-none-any.whl.

File metadata

File hashes

Hashes for hmd_cli_neuronsphere-0.4.176-py3-none-any.whl
Algorithm Hash digest
SHA256 d1671b554a869809a53c07aaae3a225a523aece4bca05f2a4d95df51c6acc3ec
MD5 9d067a0cc9d3f098f73d592d17e12d34
BLAKE2b-256 138a4a87d24b9d580091251a26c3cda4bdc47d445ad8bc12e1e8b7a478a5f8ac

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