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 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.

test_run_multinode-0.0.17-py3-none-any.whl (139.5 kB view details)

Uploaded Python 3

File details

Details for the file test_run_multinode-0.0.17-py3-none-any.whl.

File metadata

  • Download URL: test_run_multinode-0.0.17-py3-none-any.whl
  • Upload date:
  • Size: 139.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.4 Linux/6.2.0-33-generic

File hashes

Hashes for test_run_multinode-0.0.17-py3-none-any.whl
Algorithm Hash digest
SHA256 d2f6c160c1c449bab71192cfccbcc73483daca774ed80daf8f8f17932370e93b
MD5 f3cf552f49ddddf57344525fbd2a34f1
BLAKE2b-256 8308ca28840e901033b8063321581c6a38dedea9e480847a86ca3663a35f0997

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