How andersonr7/tecemer-lab1 works
This repository is a collection of course exercises rather than one integrated application: a joke-fetching example, a Huancayo weather-data workflow, a file organizer, and a NumPy demonstration. The weather workflow runs from API retrieval through analysis and exported summaries; the organizer classifies and optionally moves files. Relationships reflect the sampled scripts and README. The README documents capabilities not all represented in the sampled source, so those are shown only where their paths and behavior are supported.
Main entry points: clima.py Fetch forecast · analisis.py Analyze forecast · app.py Joke app · organizador.py Organize folder
Components 16
Joke example
- Joke app
src/tecemer_lab1/app.py - Joke API
Weather analysis
- Fetch forecast
clima.py - Open-Meteo
- Raw forecast
pronostico_huancayo.json - Forecast CSV
pronostico_huancayo.csv - Analyze forecast
analisis.py - Processed forecast
pronostico_huancayo_procesado.csv - Category summary
resumen_por_categoria.csv
File organizer
- Organizer CLI
organizador.py - Organize folder
organizador.py - Classify file
organizador.py
NumPy demo
- Array demo
numpy_demo.py
Other components
- User
- Console
- Input folder
Connections 17
- User → Joke app: runs
- Joke app → Joke API: requests joke
- Joke app → Console: prints joke
- User → Fetch forecast: runs
- Fetch forecast → Open-Meteo: requests forecast
- Fetch forecast → Raw forecast: writes response
- Fetch forecast → Forecast CSV: writes daily data
- User → Analyze forecast: runs
- Analyze forecast → Forecast CSV: reads data
- Analyze forecast → Processed forecast: writes derived data
- Analyze forecast → Category summary: writes aggregation
- User → Organizer CLI: runs with folder
- Organizer CLI → Organize folder: calls
- Organize folder → Classify file: classifies
- Organize folder → Input folder: reads and moves files
- User → Array demo: runs
- Array demo → Console: prints results