Skip to main content

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.2.3

Usage

Have OPENAI_API_KEYS as one of your environment variables.

  1. Start the vibepy CLI, and have conversation with open-ai

    Default gpt-4o-mini

vibepy
  1. Specify model
vibepy --model gpt-4.1-mini
  1. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vibepy-0.2.4.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

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

vibepy-0.2.4-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file vibepy-0.2.4.tar.gz.

File metadata

  • Download URL: vibepy-0.2.4.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.12

File hashes

Hashes for vibepy-0.2.4.tar.gz
Algorithm Hash digest
SHA256 bca2e356a2c2510a3a3f0ab5b2d15417e6743451581d8f809532f7e1bee5e39d
MD5 81075908293c1e57d7b93fd7fcbd1450
BLAKE2b-256 5c291b7957098b8c86737009acd77a9fc7f70cb82e4dc638d67c3ddb265f28d1

See more details on using hashes here.

File details

Details for the file vibepy-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: vibepy-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.12

File hashes

Hashes for vibepy-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d407396373073f3ec5776dc90aae7d8ba1ab8a60aee387879055190a483c6010
MD5 3141b34b4ca7b3285f74455d74a5f878
BLAKE2b-256 bd38dc5682c970733d832686d1c88b1212080d0a08e46bd72039076f9296a920

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