Skip to main content

Multinode's Python client

Project description

Multinode's Python client

Generating missing client code

For the code to work you need to generate control plane client. Ensure its up-to-date schema is in ../api-schemas/control-plane.json and run generate client script:

bash scripts/generate_client.sh

Running CLI

You can run any of the CLI commands using the poetry run multinode prefix. For example:

poetry run multinode --help

Deploying your first project

To deploy your first project in the development mode, first run:

poetry run multinode login

You will be asked for an API key.

Once successfully logged in, create a test.py file with the following content:

from multinode import Multinode

mn = Multinode()


@mn.job()
def a():
    print("Hello, Multinode A!")


@mn.job()
def b():
    print("Hello, Multinode B!")

and run

poetry run multinode deploy test.py --project-name my-first-project

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

multinode-0.0.5.tar.gz (102.5 kB view details)

Uploaded Source

Built Distribution

multinode-0.0.5-py3-none-any.whl (136.4 kB view details)

Uploaded Python 3

File details

Details for the file multinode-0.0.5.tar.gz.

File metadata

  • Download URL: multinode-0.0.5.tar.gz
  • Upload date:
  • Size: 102.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.8.10 Linux/5.15.0-87-generic

File hashes

Hashes for multinode-0.0.5.tar.gz
Algorithm Hash digest
SHA256 a4248c3b923680df5c92b5cfb3ac702531b6180e3e3f5541636cc26ce8ad80c2
MD5 a30b25d41b58cbbf3dc5aa5e4e7b5612
BLAKE2b-256 0c4563b2e6660f52e7e7f254d44cb6bc17a5f99a9912cf7ad7c2a8b8fda9b77b

See more details on using hashes here.

File details

Details for the file multinode-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: multinode-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 136.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.8.10 Linux/5.15.0-87-generic

File hashes

Hashes for multinode-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 4f72ccf24fb1d8bc69a9c52021f739e29f0e75b4874b7761da6746b550372a8c
MD5 2447fed5406434f0b5b5cce26fb5154f
BLAKE2b-256 c708d80b71992f08f680a159f658f861d7741e0a7a0568760b81b229dbeb9e45

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page