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"))

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: restai_functions-0.0.4.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-53-generic

File hashes

Hashes for restai_functions-0.0.4.tar.gz
Algorithm Hash digest
SHA256 be480ae6ff627047c70f76c008ac92b21c7ebbcf13d94aee29727d5e67d8bef5
MD5 a3c875fa08fb46ae8c24e684fac0fff6
BLAKE2b-256 78fa046aa1f8b0bd60779e175e64b0d2739283c05749177ed13a9f87e0c59834

See more details on using hashes here.

File details

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

File metadata

  • Download URL: restai_functions-0.0.4-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-53-generic

File hashes

Hashes for restai_functions-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0f1a88e20534e10560ef19ad4364732490a9492a959e7f1bdbebbb9ed2ede1e3
MD5 26d0ce209d02f8bd8883aae6c1f9ad97
BLAKE2b-256 3e636645c4a54ccc7a4a808814a3f0dd84cfc4d9a2e525346bb45bb70cc61556

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