Skip to main content

Python SDK for Maya Labs' natural language programming paradigm

Project description

Maya Labs Python SDK

A new way to program machines, using natural language.

WIP version : alpha - 0.0.1.

Requirements : Python and PIP >v3.6+ and <3.10

Installation

pip install mayalabs

Usage

import mayalabs

script = """
1. receive message {{payload}}
2. respond back with {{payload}}
"""

function = mayalabs.Function(name="Function1", script=script)

function.deploy()

output = function(term = "Hello, World")

# this will stop and delete your worker from profile. Comment out to view it on your worker dashboard.
function.clear()

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

mayalabs-0.0.2.tar.gz (13.3 kB view hashes)

Uploaded Source

Built Distribution

mayalabs-0.0.2-py3-none-any.whl (15.4 kB view hashes)

Uploaded Python 3

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