Skip to main content

Call RESTai projects using direct functions in Python

Project description

restai-functions

Call RESTai projects like functions in Python

Usage

Create a RESTai Project

RESTai Project

Install

pip install restai-functions

Example

from restai_functions import Restai

restai = Restai(url=os.environ.get("RESTAI_URL"), api_key=os.environ.get("RESTAI_KEY"), auto_load=True)

print(restai.yoda_speak("Hi I'm Pedro"))

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

restai_functions-0.0.3.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

restai_functions-0.0.3-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file restai_functions-0.0.3.tar.gz.

File metadata

  • Download URL: restai_functions-0.0.3.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.12.3 Linux/6.8.0-52-generic

File hashes

Hashes for restai_functions-0.0.3.tar.gz
Algorithm Hash digest
SHA256 bfc89450f66769266d50b797dd0014c528b69f656bc14c9e746fd81d361ecb8a
MD5 3162bd0500e0cb068f3433a4d2b58c52
BLAKE2b-256 8cee7a96af5ee6fee422853c5792f3179de5c86a65cb413ef026a9816f8f8a4c

See more details on using hashes here.

File details

Details for the file restai_functions-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: restai_functions-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.12.3 Linux/6.8.0-52-generic

File hashes

Hashes for restai_functions-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ba4778bbfee509eb97895f19fbe30d7cc4eefa365f7ae9c9e64e7d469c0523fe
MD5 460af46562c69796a0444d8afd265a05
BLAKE2b-256 5499ad3d6f40ee9991a778e5e1314efa043b1399234ed9f0c4debf37dbd408e6

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