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
Release history Release notifications | RSS feed
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)
Built Distribution
mayalabs-0.0.2-py3-none-any.whl
(15.4 kB
view hashes)