Skip to main content

A simple Python client for Puter AI API with GPT-4 and Claude support

Project description

puter-ai 🤖

a simple python client for puter.ai api that lets u use gpt-4o-mini and claude models for free!

installation

pip install puter

usage

from puter import ChatCompletion

response = ChatCompletion.create(
    messages=[{"role": "user", "content": "tell me a joke"}],
    model="gpt-4o-mini",
    driver="openai-completion",
    api_key="your-api-key"
)

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

puter-0.0.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

puter-0.0.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: puter-0.0.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.6

File hashes

Hashes for puter-0.0.1.tar.gz
Algorithm Hash digest
SHA256 9ef5601b94848d4aeb3c60047219c16c80bd8300dc037faa6489f56e9a30c3dd
MD5 dce6f5038a0dc695e25e09bdbfbb7527
BLAKE2b-256 f18baad4cc13281727a4ed17dff9e53ac08b28c93aeb5bbc4bbbbfc249320b71

See more details on using hashes here.

File details

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

File metadata

  • Download URL: puter-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.6

File hashes

Hashes for puter-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 791e2a9594605a1045ba09e197d449dfcf6508d38eb81629c253923078586c86
MD5 be6aa02033bc4b55d9bc5e1d13b3f519
BLAKE2b-256 72b87e7e1377ebff2b76a9f4a08c4ecd471ad211101ec066d7bea07ad5555b06

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