Skip to content

M602A Computer Programming (WS0124) course of Gisma University of Applied Sciences

License

Notifications You must be signed in to change notification settings

Pakhomovskii/gisma_computer_programming_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CO2 Reduction Project

This project is a pivotal component of the M602A Computer Programming (WS0124) course, aiming to provide a practical experience in programming.

API Documentation

Explore my simple API Documentation (its http!) to get started with integrating your applications or conducting assessments. Also, I have a simple streamlit application for this project.

Project Overview

In an era where environmental sustainability is not just a choice but a necessity, the CO2 Reduction Project stands out by providing users with a simple analysis of their carbon footprint. Leveraging data and guidelines from the European Environment Agency (EEA), the project focuses on the environmental impacts of transportation, among other factors contributing to carbon emissions.

Features

  • Energy Consumption Analysis: Assess the carbon footprint resulting from various energy sources.
  • Waste Production Evaluation: Understand the impact of different waste production patterns.
  • Business Travel Insights: Gain insights into how business travel contributes to overall carbon emissions.
  • Tailored Recommendations: Receive personalized suggestions to reduce your carbon footprint based on your assessment results.

Technologies Used

This project is built using cutting-edge technologies and frameworks to ensure high performance and scalability:

  • Python 3.11
  • aiohttp 3.9.3
  • asyncpg
  • psycopg2
  • PostgreSQL 14

DB structure

DB_structure Text

Project structure

├── app/
│   ├── __init__.py (Required for future use as a package directory)
│   ├── main.py (Main entry endpoint that invokes handlers)
│   ├── app.log (Retained for educational purposes)
│   ├── handlers/
│   │   ├── __init__.py
│   │   ├── config_handlers.py (Contains shared logic for handlers)
│   │   ├── handlers.py (Contains API handlers)
│   │   └── recommendation.py (Due to the complexity of generating recommendations, it is implemented here)
│   ├── models/
│   │   ├── __init__.py
│   │   ├── base_model.py (Contains the base model with encapsulated logic)
│   │   └── models.py (Contains the model classes with encapsulated logic)
│   ├── services/
│   │   ├── __init__.py
│   │   └── database.py (Connects to the Postgres DB)
│   ├── swagger/ (Swagger YAML configuration files)
│   ├── templates/
│   │   ├── __init__.py
│   │   └── constants.py (Contains constants)
├── tests/
│   └── api-tests.py (Includes API tests only; no unit tests for now)
├── .gitignore
├── pyproject.toml (Project information)
├── poetry.lock (System information for Poetry)
├── script_create_db.sh (Retained for educational purposes)
├── LICENSE (CC-BY-SA-4.0 license)
└── README.md

Useful Links

License

This project is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License (CC BY-SA 4.0).

About

M602A Computer Programming (WS0124) course of Gisma University of Applied Sciences

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published