An AI-powered Python programming assistant built with Streamlit and Groq API.
Python AI Coder is a web-based assistant designed to help beginner and intermediate developers learn Python programming.
The application uses Large Language Models (LLMs) through the Groq API to provide:
- Python code examples
- Concept explanations
- Programming guidance
- Best practice recommendations
- Links to official documentation
The project was originally developed as part of the Data Science Academy Python Fundamentals Programme and was subsequently enhanced as a personal portfolio project.
- Interactive chat interface
- Python-focused AI assistant
- Conversation history management
- Secure API key input
- Python code generation
- Detailed explanations
- Documentation references
- Responsive Streamlit interface
- Python
- Streamlit
- Groq API
- OpenAI GPT OSS 20B
- Git
- GitHub
- Virtual Environments (venv)
python-ai-coder/
│
├── app.py
├── requirements.txt
├── README.md
└── .gitignore
Clone the repository:
git clone https://github.com/PauloF7319/python-ai-coder.git
cd python-ai-coderCreate a virtual environment:
python -m venv .venvActivate the environment:
.venv\Scripts\activatesource .venv/bin/activateInstall dependencies:
pip install -r requirements.txtstreamlit run app.pyThe application will be available at:
http://localhost:8501
- How do I create a Hello World program in Python?
- How does a for loop work in Python?
- What is a lambda function?
- How can I use the map() function?
- What is the difference between a list and a tuple?
- Chat export functionality
- Multiple model selection
- Conversation reset button
- Deployment to Streamlit Community Cloud
- Enhanced user interface
- Usage analytics dashboard
AI-generated responses may contain inaccuracies. Always validate code and technical recommendations before using them in production environments.
Paulo Faria
Software Development | Data Engineering | Analytics | AI Applications
GitHub: https://github.com/PauloF7319
