Skip to main content

Decrement library that uses GPT to decrement positive numbers by 1

Project description

vibedecrement

AI-powered number decrementing using GPT.

Usage

Install the package:

pip install vibedecrement

Set your OpenAI API key as an environment variable.

export OPENAI_API_KEY=your_key_here
from vibedecrement import vibedecrement

result = vibedecrement(5)
print(result)  # 4

result = vibedecrement(42)
print(result)  # 41

# Edge case - decrementing 1 returns 0
result = vibedecrement(1)
print(result)  # 0

Test

pytest tests/

Dependencies

  • openai
  • pydantic
  • typing-extensions

⚠️ Requires OpenAI API key. Only accepts positive numbers (> 0). Experimental project - not for production use.

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

vibedecrement-0.1.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

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

vibedecrement-0.1.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file vibedecrement-0.1.0.tar.gz.

File metadata

  • Download URL: vibedecrement-0.1.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for vibedecrement-0.1.0.tar.gz
Algorithm Hash digest
SHA256 96eb453ea519ef522fd9aa5ed03a37e4bc8d5788930f0390b66f4c1ebb541060
MD5 30962d54666f0cff174686a1530ced24
BLAKE2b-256 87d8a77f07d3bbfc7fbbce87d0ec51b6b32292b8a4abe158f431d91ee935de04

See more details on using hashes here.

File details

Details for the file vibedecrement-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: vibedecrement-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for vibedecrement-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 39adc464dbd01111d07d17a01cada24c8b91bb66da760672d91faf2914e4f930
MD5 5d3dcec8fff0182edc78c5ad36cacd81
BLAKE2b-256 00955e0fcf94b359e7711519278e4c27fb98141064987a9e948cafc041f8ce29

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