Quantum-CLI: A powerful CLI to build, run, and test Quantum Machines.
Project description
Quantum Machine
Quantum-Machine CLI is a command-line interface developed by QuantumDatalytica LLC to help developers build, run, test, logs, and manage modular analytics components called Quantum Machines. These machines are the foundation of scalable, distributed data workflows within the QuantumDatalytica ecosystem. The CLI streamlines local development and ensures consistent behavior across environments.
Note:
quantum-core-engineis a public dependency and must be installed manually. Please contact the QuantumDatalytica team or refer to internal documentation for setup instructions.
🚀 Features
- 🧱 Initialize new Quantum Machines with starter templates
- 🧪 Test and lint your machine logic
- 🐳 Build Container images for machine deployment
- ▶️ Run machines locally or in containers
- 🔎 Validate
Project.jsonand dependencies - 🔁 Create Workflows and define DAG-style machine dependencies
- 📜 View logs of machine executions
📦 Installation
pip install quantum-machine
📖 Usage
quantum --help
Available Commands
| Command | Description |
|---|---|
init machine |
Initialize a new Quantum Machine project with boilerplate files |
run machine |
Run a machine and observe its behavior locally |
build machine |
Build a Container image for the specified machine |
test machine |
Run unit tests defined for the machine |
lint machine |
Check the machine's code for linting/style issues |
validate machine |
Validate the machine's Project.json and required structure |
init workflow |
Initialize a new workflow YAML file with DAG structure |
add machine |
Add a machine as a task to a workflow and define its dependencies |
run workflow |
Run a workflow DAG by executing machines in topological order |
logs machine |
View logs from the last execution of a specified machine |
🧪 Example Commands
🔧 Initialize a machine
quantum init machine HelloWorld
Creates:
HelloWorld/main.pyHelloWorld/Project.jsonHelloWorld/requirements.txtHelloWorld/DockerfileHelloWorld/input.jsonHelloWorld/output.json
▶️ Run the machine
quantum run machine HelloWorld [--container] [--kube] [--rebuild] [--no-rebuild]
🐳 Build the machine as Container Image
quantum build machine HelloWorld
Builds a Container image with dependencies for the machine.
🧪 Test your machine
quantum test machine HelloWorld
Runs the test suite defined under the machine's directory.
🎯 Lint your machine
quantum lint machine HelloWorld
Applies flake8 or equivalent linting tools to maintain code standards.
🛡 Validate machine structure
quantum validate machine HelloWorld\<file_name>
Ensures the machine has the correct Project.json, required fields, and structure.
🦮 Create a Workflow
quantum init workflow my_workflow
Creates a workflow.yaml file to define machine dependencies.
➕ Add DAG Machine to Workflow
quantum add machine 1st_Machine -w my_workflow
quantum add machine 2nd_Machine -w my_workflow
quantum add machine 3rd_Machine -p HelloWorld --workflow my_workflow
quantum add machine 4th_Machine -parent 2nd_Machine -w my_workflow
quantum add machine 5th_Machine -p 3rd_Machine 4th_Machine -w my_workflow
🚀 Run a Workflow
quantum run workflow my_workflow [--container] [--kube] [--rebuild] [--no-rebuild]
Executes machines in the correct DAG order as defined in workflow.yaml.
🚀 View machine logs
quantum logs machine HelloWord
Displays the logs from the most recent execution of the HelloWorld machine.
📄 License
This project is licensed under the MIT License. See LICENSE for details.
🧠 About QuantumDatalytica LLC
QuantumDatalytica (QDL) is a modular data automation and analytics platform that empowers developers to build, test, logs, and publish reusable logic units called Quantum Machines. These machines are designed to run as part of scalable, enterprise-grade data pipelines.
As a Machine Developer, QDL gives you the tools to:
- Build data processing logic in isolated, portable units
- Seamlessly integrate your machines into larger workflows
- Automate complex tasks with minimal overhead
- Ensure consistency, reusability, and performance in analytics at scale
With its focus on flexibility, scalability, and workflow automation, QuantumDatalytica enables organizations to transform raw data into actionable insights — faster and more efficiently than ever before.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file quantum_machine-3.0.0.tar.gz.
File metadata
- Download URL: quantum_machine-3.0.0.tar.gz
- Upload date:
- Size: 18.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ec5bff1da1605ea313f6046bfa3f6812825872d2c9247ad4fa6be73b4b4fcd4
|
|
| MD5 |
165895aa4f49613e422a585e30573dfd
|
|
| BLAKE2b-256 |
2922afaac9decfe62a582050bca43b81db1c974baaad33ca654b7620a744bbe8
|
File details
Details for the file quantum_machine-3.0.0-py3-none-any.whl.
File metadata
- Download URL: quantum_machine-3.0.0-py3-none-any.whl
- Upload date:
- Size: 21.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa406d0d26190b51e27696145a061f876ec693fb523e795021ec2b50f76bec93
|
|
| MD5 |
5d8246dfd772340321d23318d11c8963
|
|
| BLAKE2b-256 |
e28afe2206ac466722895ecf15c52dcc455a5483286ceb945d76756d73c1bb54
|