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

Uploaded Python 3

File details

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

File metadata

  • Download URL: restai_functions-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 e631b63c262b54c707f288fcad8a365f3c7d93e976d840aa08c77c3981dc345e
MD5 9cdd0c0b242622864809eb2f3e5fbd0c
BLAKE2b-256 2b23a3a40230bac8c2bd9a2aee2ed444e8d783a9d4660cc3d97debb3c1354708

See more details on using hashes here.

File details

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

File metadata

  • Download URL: restai_functions-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8648acb70734063fa75d93f1cc20e892d37e1ed19363d072bbd76df96adfea9e
MD5 656278f02fc5ae8fd231f3937194e98b
BLAKE2b-256 f5a6a1c4771efa93d219aa198e460c0838cfeea6983d4698052b2a4242f92b2d

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