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.8.tar.gz (103.0 kB view details)

Uploaded Source

Built Distribution

multinode-0.0.8-py3-none-any.whl (137.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: multinode-0.0.8.tar.gz
  • Upload date:
  • Size: 103.0 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.8.tar.gz
Algorithm Hash digest
SHA256 280d7be745d79a11248e05b8efe9f869397cc6321ba03fdd0f413154d55aa907
MD5 e2cd7fa52e86de26af7e3afbe71ffe27
BLAKE2b-256 8856436f5247bee7a7c843456bff4673c2435272a087c7aafbeed348c3c884fd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: multinode-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 137.0 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 59dba6b6cf7a472c465a870e2e6dfabb9fecefaaf0c68cdd8a30af1f5c05725a
MD5 d3f15ade3d0e58c7ad4c54c331d68a6b
BLAKE2b-256 2b5e1661860cafe244d5cab5ff3ad543cb566c80986de95e293d737cd0e8d71e

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