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.16-py3-none-any.whl (139.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: test_run_multinode-0.0.16-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.16-py3-none-any.whl
Algorithm Hash digest
SHA256 f56287f1c95872e807b34073a066c6a2f63ab34bdfdc720954e9484af3ca0b89
MD5 178c77006d5da282609d295ca57b1eaa
BLAKE2b-256 ec0350e4b6796ea7fee21bbb3c46205c3005948de00687bb9e2aacd372104a71

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