String R-counting library that uses GPT to count occurrences of the letter R
Project description
VibeHowManyRs
AI-powered letter R counting using GPT.
Usage
Install the package:
pip install vibehowmanyrs
Set your OpenAI API key as an environment variable.
export OPENAI_API_KEY=your_key_here
from vibehowmanyrs import vibehowmanyrs
result = vibehowmanyrs("Raspberry")
print(result) # 3
result = vibehowmanyrs("ROAR")
print(result) # 2
Test
pytest tests/
Dependencies
- openai
- pydantic
- typing-extensions
⚠️ Requires OpenAI API key. Experimental project - not for production use.
Why?
Because strawberry has 2 r's
DISCLAIMER
Will not work half the time :) Enjoy!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vibehowmanyrs-0.1.0.tar.gz.
File metadata
- Download URL: vibehowmanyrs-0.1.0.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b00a0311ab7a1d4010a8f564fc0d8dcc6864f9d9385abc46027b2d5d3597bd20
|
|
| MD5 |
83c9f39302db5299a835f850f2461c35
|
|
| BLAKE2b-256 |
1d6cd71758b238fdecb9b62ce203491bf3ec7f95902041fd7cb800f0d1e4fcb6
|
File details
Details for the file vibehowmanyrs-0.1.0-py3-none-any.whl.
File metadata
- Download URL: vibehowmanyrs-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f074c8d494eb3c5678e4cb5ef62cd0a796b43b52d861de23803ca655ffae7056
|
|
| MD5 |
a2670340edbaf80d01bb0c0b643eb1d8
|
|
| BLAKE2b-256 |
810988595a062a3ad9c056aa990337946a3d72ffb15d533edcd748d3f10c5af9
|