Skip to main content

๐Ÿš€ 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! ๐ŸŒŒ

  1. CLONE THE AWESOMENESS:
    git clone https://github.com/OldTyT/python-ai-console.git
    
  2. JUMP IN:
    cd python-ai-console
    
  3. INSTALL THE MAGIC:
    pip install -r requirements.txt
    
  4. 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_KEY with 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.txt for 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

vibepython-0.0.1.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

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

vibepython-0.0.1-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

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

Hashes for vibepython-0.0.1.tar.gz
Algorithm Hash digest
SHA256 9b13d79c3ecec876f75c80081e28578fd6969194c82faa2d9334aa2744f8219f
MD5 ba50a2a8d41157f29ec3ac807ce51f1a
BLAKE2b-256 2c65a5a13166f46167854b62e229a68a3d240b6e0477df58e11d977ab6b2e948

See more details on using hashes here.

Provenance

The following attestation bundles were made for vibepython-0.0.1.tar.gz:

Publisher: publish.yml on OldTyT/vibepython

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for vibepython-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9dfff7cbac611cb450534faf3dc7366b900603d2e12c5a6547c8d37935e2bf79
MD5 14370cb23372217a5275ae101f10e92a
BLAKE2b-256 ec9eb430fa0e9d73fafc817321ba1d437f061c52e7c44aec47ddfc9fda5cb715

See more details on using hashes here.

Provenance

The following attestation bundles were made for vibepython-0.0.1-py3-none-any.whl:

Publisher: publish.yml on OldTyT/vibepython

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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