An open API service indexing awesome lists of open source software.

https://github.com/codewithpraveen/claude-code-customization

A demo project demonstrating Claude Code customization for teams. Features BrezyWeather app with examples of CLAUDE.md files, custom slash commands, output styles, and permission rules. Includes main branch (basic app) and feature/team-customization branch (full customization setup).
https://github.com/codewithpraveen/claude-code-customization

ai-powered-development claude-ai claude-code python slash-commands

Last synced: 20 days ago
JSON representation

A demo project demonstrating Claude Code customization for teams. Features BrezyWeather app with examples of CLAUDE.md files, custom slash commands, output styles, and permission rules. Includes main branch (basic app) and feature/team-customization branch (full customization setup).

Awesome Lists containing this project

README

          

# BrezyWeather 🌤️

A simple weather app built with Python and Streamlit that uses OpenAI's API to provide current weather information for any city.

## Course URL
https://www.udemy.com/course/claude-code-customizing-for-your-team

## Features

- Simple and intuitive user interface
- Get current weather for any city worldwide
- Weather details include temperature, conditions, humidity, and wind speed
- Dark mode toggle for comfortable viewing in any lighting condition
- Refresh button to clear weather data and start fresh
- Session state management for persistent weather display
- Responsive error handling with user-friendly messages
- Powered by OpenAI's GPT-3.5 model

## Prerequisites

- Python 3.8 or higher
- OpenAI API key (get one at https://platform.openai.com/api-keys)

## Installation

1. Clone or download this repository

2. Create a Python virtual environment:
```bash
# Create virtual environment
python -m venv .venv

# Activate virtual environment
# On macOS/Linux:
source .venv/bin/activate

# On Windows:
.venv\Scripts\activate
```

3. Install the required dependencies:
```bash
pip install -r requirements.txt
```

4. Create a `.env` file in the project root directory with your OpenAI API key:
```
OPENAI_API_KEY=your_actual_api_key_here
```

## Usage

Run the Streamlit app:
```bash
streamlit run app.py
```

The app will open in your default web browser at `http://localhost:8501`.

### How to use:

1. **Enter a city name** in the text input field (e.g., New York, London, Tokyo)
2. **Click "Get Weather"** to fetch current weather information for that city
3. **Toggle dark mode** using the moon/sun icon in the top right corner
4. **Click "Refresh"** to clear the current weather data and start fresh

## Project Structure

```
brezy-weather/
├── app.py # Main Streamlit application with dark mode and session state
├── requirements.txt # Python dependencies
├── .env # Environment variables (API keys)
├── .streamlit/ # Streamlit configuration directory
├── .venv/ # Virtual environment
└── README.md # This file
```

## Note

This app uses OpenAI's API to generate weather information. Please note that:
- You need a valid OpenAI API key
- API usage may incur costs based on your OpenAI plan
- For real-time weather data, consider integrating with a weather API service