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
mayalabs.api_key = <MAYA_API_KEY>
script = """
1. receive message {{payload}}
2. respond back with {{payload}}
"""
function = mayalabs.Function.create(name="Function1", script=script)
function.deploy()
output = function.call(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.4.tar.gz
(16.3 kB
view hashes)
Built Distribution
mayalabs-0.0.4-py3-none-any.whl
(19.1 kB
view hashes)