Skip to main content

Ownlayer Python SDK

Project description

Ownlayer Python SDK

Python SDK to integrate Ownlayer

Usage

Install SDK

pip install ownlayer

Change openai import to use Ownlayer wrapper

- import openai
+ from ownlayer.openai import openai


def some_AI_func:
    # use AI as you did before
    return openai.chat.completions.create(
        ...
    )

Be sure to have add OWNLAYER_API_KEY to your .env file:

OWNLAYER_API_KEY=ey...xxx

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

ownlayer-0.1.2.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

ownlayer-0.1.2-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file ownlayer-0.1.2.tar.gz.

File metadata

  • Download URL: ownlayer-0.1.2.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for ownlayer-0.1.2.tar.gz
Algorithm Hash digest
SHA256 75fe55165d19efc0440851d88e6dbfb5f74bbc30c17b5e20d1929d7102cfefd4
MD5 4dc860669be7364205319fa1350f7b95
BLAKE2b-256 f0beceddf410139dd4c4177ae955dcb902cbdba62370914101154bb6cf3712d2

See more details on using hashes here.

File details

Details for the file ownlayer-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: ownlayer-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for ownlayer-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f1641b5a1b0f18d20d760483d52a527b761343633ccf23d8953f447e035ed2bd
MD5 286238451d2186d6d1b282f80cc50f29
BLAKE2b-256 febed0f3aaec39e2ee1ceefe982b1e745296e36e69ce8e0d3103977decc3f0e1

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