Skip to main content

Call RESTai projects using direct functions in Python

Project description

restai-functions

Call RESTai projects like functions in Python

Usage

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.1.tar.gz (5.8 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.1-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: restai_functions-0.0.1.tar.gz
  • Upload date:
  • Size: 5.8 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.1.tar.gz
Algorithm Hash digest
SHA256 c0d783702b2091fd80d6556cba2abaab714aefe313437f9bd797302accb36736
MD5 c16e7e475f59aec4b013107084382d37
BLAKE2b-256 2ef8c4bf43598b74992af6c2dd2f1b02cd0c6289dca4a3dd8dd294d852d4dcde

See more details on using hashes here.

File details

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

File metadata

  • Download URL: restai_functions-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.7 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1568a5e8e759a7fb15c40d1c9e3a32401bdc1b9dedfefc58f5137c88bb9079b5
MD5 5066cf0c05589b48efaa52c8ce912f77
BLAKE2b-256 be2c94cd47b04ac1c54b5c7b65e1754204cd0d20ddbf783ce79fa55dee36513a

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