have your terminal talking to and running codes from open-ai
Project description
Vibepy
Talking to and running codes from open-ai.
Installation
pip install vibepy
Or if use uv
uv pip install --no-cache vibepy==0.1.7
Usage
Have OPENAI_API_KEYS as one of your environment variables.
-
Start the vibepy CLI, and have conversation with open-ai
Default gpt-4o-mini
vibepy
- Specify model
vibepy --model gpt-4.1-mini
- automatically run the returned code blocks:
vibepy -e
This will automatically run the returned code blocks once and present again a user input prompt.
If the execution returns errors,
You can then either
- press any key, or add say anything (add information) to continue, then it will catch the error messages and input to the model to debug until 5 times
- press q to quit
Cases when running vibepy -e
Welcome to Vibepy! Press 'q' to exit Say something: print hello world
Vibepy: To print "hello world" in Python, you just need to use the
print()function. Here is the code you should execute:print("hello world")hello world Press 'q' to exit Say something: calculate 1+1
Vibepy: ```bash source .venv/bin/activate
```python result = 1 + 1 print(result)2 Press 'q' to exit Say something: q
Vibepy: It seems like your message got cut off. Could you please provide more details or clarify your request?
Exiting vibepy...
Development
# Install development dependencies
pip install -e ".[dev]"
License
MIT License
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 vibepy-0.2.3.tar.gz.
File metadata
- Download URL: vibepy-0.2.3.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff45bfd736e8f7faee90c7080533cb9849e709d4d32c22d8a2b1f81cea0c03ba
|
|
| MD5 |
149b6556dd8858d2d0101aaed4338b2d
|
|
| BLAKE2b-256 |
b028ca1b3c0acdbd64595b0b47f7adacfec891215d6bb18597cee5c17be78bde
|
File details
Details for the file vibepy-0.2.3-py3-none-any.whl.
File metadata
- Download URL: vibepy-0.2.3-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01f9712a70a7de718e2e32f9514070512155e7138438b779e4de5d4d2b8cf3d3
|
|
| MD5 |
5f38ac81010ba1be3f13a3404b70e4e6
|
|
| BLAKE2b-256 |
1b80ebc06ff802528c1e5ec4570d3906087a45c000fd8f300253d71858a52f74
|