Skip to main content

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

Metadata

Release files for restai-functions 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for restai-functions 0.0.4
File Size Uploaded
restai_functions-0.0.4.tar.gz 5.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for restai-functions 0.0.4
File Interpreter ABI Platform
restai_functions-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 12.7 kB

Release files / restai_functions-0.0.4.tar.gz

Download URL restai_functions-0.0.4.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
be480ae6ff627047c70f76c008ac92b21c7ebbcf13d94aee29727d5e67d8bef5
BLAKE2b-256 checksum
How to use checksums
78fa046aa1f8b0bd60779e175e64b0d2739283c05749177ed13a9f87e0c59834
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.0.1 CPython/3.12.3 Linux/6.8.0-53-generic

Release files / restai_functions-0.0.4-py3-none-any.whl

Download URL restai_functions-0.0.4-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0f1a88e20534e10560ef19ad4364732490a9492a959e7f1bdbebbb9ed2ede1e3
BLAKE2b-256 checksum
How to use checksums
3e636645c4a54ccc7a4a808814a3f0dd84cfc4d9a2e525346bb45bb70cc61556
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.0.1 CPython/3.12.3 Linux/6.8.0-53-generic

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page