Skip to main content

Node side software of the Manta platform. It is responsible for the communication with the Manta Core and the execution of the tasks.

Project description

Manta Node Python

Version Python version Coverage Badge Ruff

Overview

Distributed edge execution agent for the Manta platform. Manages containerized task execution on compute nodes and provides local services to running tasks.

Quick Start

# Install
pip install -e ".[all]"

# Run node
python -m manta_node --manager-host localhost --manager-port 50051 --token <jwt_token>

# Run multiple nodes
python -c "from manta_node import start_nodes; import asyncio; asyncio.run(start_nodes(3, 'localhost', 50051, '<jwt_token>'))"

Documentation

📚 Full documentation is available at manta-docs

For developers working on this component:

Architecture

  • Container Management: Docker-based task execution
  • gRPC Services: LocalServicer and WorldServicer for task communication
  • MQTT Integration: Asynchronous command reception
  • Resource Monitoring: Real-time metrics collection

Testing

python -m pytest tests/ --cov=manta_node

Docker Setup

For Linux users encountering permission issues:

# Follow Docker post-installation steps
# https://docs.docker.com/engine/install/linux-postinstall/
sudo usermod -aG docker $USER

License

GNU Affero General Public License

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.

manta_node-0.5b0.dev88-py3-none-any.whl (98.0 kB view details)

Uploaded Python 3

File details

Details for the file manta_node-0.5b0.dev88-py3-none-any.whl.

File metadata

File hashes

Hashes for manta_node-0.5b0.dev88-py3-none-any.whl
Algorithm Hash digest
SHA256 28d0b4b7309ca4825e456687458bbde2facaa0c271226c85c0c4a7b89654fbc1
MD5 1003188d7b6e2aaa32af308c77efa6a0
BLAKE2b-256 a84a9232cd8e70d0bb852e6494be43a5d4b4a4db8b1dfc63e7de4901e1654afa

See more details on using hashes here.

Provenance

The following attestation bundles were made for manta_node-0.5b0.dev88-py3-none-any.whl:

Publisher: publish.yml on mantatech/manta-deploy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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