๐ Python vibe: Unleash the Magic of AI-Powered Coding Wizardry! ๐
Project description
๐ Python AI Console: The Ultimate AI-Powered Coding EXPLOSION! ๐๐ฅ๐
WOWZA! Dive headfirst into this AMAZING, WONDERFUL, MIND-BLOWING interactive command-line beast that turns your craziest prompts into EXECUTABLE PYTHON MAGIC using the sheer power of OpenAI! Generate code like a wizard, run it on the spot, capture every wild stdout/stderr outburst, and keep a super-smart history in JSON for non-stop contextual awesomeness! It's not just a tool โ it's a CODE REVOLUTION for hackers, dreamers, and AI fanatics! ๐ฅ๐
๐ Features That'll Make Your Eyes POP! ๐
- INTERACTIVE PROMPT MADNESS: Type your wild ideas and watch AI spit out Python gold! ๐ก
- AI-GENERATED CODE WIZARDRY: Powered by OpenAI โ prompts + history = PERFECT scripts! ๐คโจ
- SAFE EXECUTION EXTRAVAGANZA: Run code with output capturing โ no disasters, just pure thrill! โก
- PERSISTENT HISTORY OVERLOAD: Pydantic models store EVERYTHING in JSON โ context forever! ๐
- ENV VAR CUSTOMIZATION FRENZY: Tweak it your way for ultimate control! ๐ง
- DOCKER DOMINATION: Run it anywhere, anytime โ easy-peasy deployment! ๐ณ
๐ ๏ธ Installation: Get This Party Started in SECONDS! ๐
From Source: Clone, Install, BLAST OFF! ๐
- CLONE THE AWESOMENESS:
git clone https://github.com/OldTyT/python-ai-console.git - JUMP IN:
cd python-ai-console - INSTALL THE MAGIC:
pip install -r requirements.txt - LAUNCH THE BEAST:
python3 main.py
BOOM! You're in the zone! ๐ฃ
Using Docker: Containerized CHAOS โ Ready to RUMBLE! ๐ณ๐ฅ
Fire it up with this epic command:
docker run --rm -ti -e HISTORY_PATH=/history/history.json -e OPENAI_API_KEY=YOUR_KEY -v my_history:/history ghcr.io/oldtyt/autopost-python-ai-console
- Plug in
YOUR_KEYwith your OpenAI super-key! ๐ DOCKER DELIGHT: Persistent history, zero hassle! ๐
๐ฎ Usage: Dive into the FUN ZONE! ๐น๏ธ
Fire it up and get prompted:
- SMASH IN A PROMPT (e.g., "Code me a factorial frenzy!").
- AI UNLEASHES CODE CHAOS based on your prompt + history vibes.
- EXECUTE? Y/N โ YOU DECIDE! Run it, capture outputs, and watch the sparks fly! โก
- HISTORY SAVES THE DAY: Everything logged for eternal glory.
EXIT? Ctrl+C โ but why would you? It's TOO MUCH FUN! ๐
๐ Environment Variables: Customize Like a BOSS! ๐ช
Supercharge your setup with these EPIC vars:
- HISTORY_PATH: Your JSON history fortress! Default:
history.json. ๐ฐ - HISTORY_SIZE: How many past blasts to feed the AI? Default:
20โ keep it contextual! ๐ - OPENAI_API_KEY: MUST-HAVE โ your ticket to AI heaven! (Required, duh!) ๐
Example (Unix-style domination):
export OPENAI_API_KEY=your-api-key
export HISTORY_SIZE=10
python3 main.py
TWEAK AND CONQUER! ๐ก๏ธ
๐ฆ Dependencies: The Power Behind the THRILL! โ๏ธ
- Python 3.10+ (Blasting up to 3.13 โ future-proofed!) ๐
- Libraries of LEGEND: openai, pydantic, loguru, and more! Check
requirements.txtfor the full squad. ๐
๐ค Contributing: Join the CODE CARNIVAL! ๐ช
GOT IDEAS? Open an issue or slam in a pull request โ let's make this even MORE INSANE! ๐ Contributions = Eternal Fame!
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
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 vibepython-0.0.1.tar.gz.
File metadata
- Download URL: vibepython-0.0.1.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b13d79c3ecec876f75c80081e28578fd6969194c82faa2d9334aa2744f8219f
|
|
| MD5 |
ba50a2a8d41157f29ec3ac807ce51f1a
|
|
| BLAKE2b-256 |
2c65a5a13166f46167854b62e229a68a3d240b6e0477df58e11d977ab6b2e948
|
Provenance
The following attestation bundles were made for vibepython-0.0.1.tar.gz:
Publisher:
publish.yml on OldTyT/vibepython
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vibepython-0.0.1.tar.gz -
Subject digest:
9b13d79c3ecec876f75c80081e28578fd6969194c82faa2d9334aa2744f8219f - Sigstore transparency entry: 381604640
- Sigstore integration time:
-
Permalink:
OldTyT/vibepython@b688dd70a0130889dfaee6dfb8ca8ed50608dcea -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/OldTyT
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b688dd70a0130889dfaee6dfb8ca8ed50608dcea -
Trigger Event:
push
-
Statement type:
File details
Details for the file vibepython-0.0.1-py3-none-any.whl.
File metadata
- Download URL: vibepython-0.0.1-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9dfff7cbac611cb450534faf3dc7366b900603d2e12c5a6547c8d37935e2bf79
|
|
| MD5 |
14370cb23372217a5275ae101f10e92a
|
|
| BLAKE2b-256 |
ec9eb430fa0e9d73fafc817321ba1d437f061c52e7c44aec47ddfc9fda5cb715
|
Provenance
The following attestation bundles were made for vibepython-0.0.1-py3-none-any.whl:
Publisher:
publish.yml on OldTyT/vibepython
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vibepython-0.0.1-py3-none-any.whl -
Subject digest:
9dfff7cbac611cb450534faf3dc7366b900603d2e12c5a6547c8d37935e2bf79 - Sigstore transparency entry: 381604647
- Sigstore integration time:
-
Permalink:
OldTyT/vibepython@b688dd70a0130889dfaee6dfb8ca8ed50608dcea -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/OldTyT
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b688dd70a0130889dfaee6dfb8ca8ed50608dcea -
Trigger Event:
push
-
Statement type: