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.11.tar.gz (3.1 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.11-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: puter-0.0.11.tar.gz
  • Upload date:
  • Size: 3.1 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.11.tar.gz
Algorithm Hash digest
SHA256 f231e041afefb49d8b662388dc2ca1f0232c43ec691707192325a07679e02c71
MD5 863e6394a3bbf7b220e24cefc9f0f8e3
BLAKE2b-256 fd8b4db732ca40a10aec05324468b56a6ef579af13c240326851eba2d9c8cf72

See more details on using hashes here.

File details

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

File metadata

  • Download URL: puter-0.0.11-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.11-py3-none-any.whl
Algorithm Hash digest
SHA256 80748d7eb2e516da0ed75bdd73f6219860aa70b97be04bf84a53cf411fda1231
MD5 9964ce0fadf9631ee31075a827705c59
BLAKE2b-256 dda7e1daabb3ba990625778188394e011afc39fd48df381786c2bc201db414a6

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