Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tonytech83/python-db
Softuni - Python DB - September 2023
https://github.com/tonytech83/python-db
django plpgsql python sql
Last synced: 7 days ago
JSON representation
Softuni - Python DB - September 2023
- Host: GitHub
- URL: https://github.com/tonytech83/python-db
- Owner: tonytech83
- License: mit
- Created: 2023-09-13T10:56:11.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-04T08:12:53.000Z (12 days ago)
- Last Synced: 2025-01-04T09:34:38.217Z (12 days ago)
- Topics: django, plpgsql, python, sql
- Language: Python
- Homepage:
- Size: 3.61 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Python DB - September 2023
In the "Python DB" module, knowledge about PostgreSQL and popular ORM (Object-Relational Mapping) tools for handling databases with Python is acquired. The first part of the module focuses on PostgreSQL, introducing students to basic concepts in the world of databases. The module will familiarize them with one of the most widely used Database Management Systems (DBMS) in the development of modern applications - PostgreSQL. They will gain skills in working with relational databases, with emphasis on core functionalities such as working with tables, aggregate functions, transactions, procedures, etc. The second course is related to working with databases using the standard for object-oriented data modeling in Python - Django and SQLAlchemy. Students will use the knowledge accumulated so far in object-oriented programming and PostgreSQL, in order to be able to build large projects by the end of the module, navigate through them, and apply popular methodologies and best practices for code writing.
## Languages
- `SQL`
- `Python`## Frameworks
- `Django`
- `SQLAlchemy`## Judge System
- [`Problem descriptiom and online judge system`](https://judge.softuni.org/Contests#!/List/ByCategory/426/Python-DB)
## Table of Contents:
### 1. [PostgreSQL](https://softuni.bg/trainings/4244/postgresql-september-2023#lesson-59874)
Databases are the standard way of utilizing dynamic information in modern technologies, making them an integral part of almost every application. The intensive course on database fundamentals will acquaint students with one of the most widely used Database Management Systems (DBMS) employed in the development of contemporary information systems - PostgreSQL. The course places significant emphasis on the relational model, ER diagrams (tables and relational connections), and working with the SQL language (data retrieval, selection, projection, joins, aggregation, grouping, modification, deletion, and insertion). Fundamental knowledge is provided for working with functions, procedures, transactions, and triggers. This course lays the groundwork for working with databases, making their use in real applications easier and facilitating the understanding of concepts such as transforming a database into an object-oriented model (ORM).- [`PostgreSQL Introduction. Data Types. Working with Tables`](https://github.com/tonytech83/Python-DB/tree/main/01_PostgreSQL/01_Data_Types_and_Table_Basics)
- [`Basic CRUD`](https://github.com/tonytech83/Python-DB/tree/main/01_PostgreSQL/02_Basic_CRUD)
- [`Built-in Functions`](https://github.com/tonytech83/Python-DB/tree/main/01_PostgreSQL/03_Built_in_Functions)
- [`Data Aggregation`](https://github.com/tonytech83/Python-DB/tree/main/01_PostgreSQL/04_Data_Aggregation)
- [`Table Relations`](https://github.com/tonytech83/Python-DB/tree/main/01_PostgreSQL/05_Table_Relations)
- [`Subqueries and JOINs`](https://github.com/tonytech83/Python-DB/tree/main/01_PostgreSQL/06_Subqueries_and_JOINs)
- [`Database Programmability and Transactions`](https://github.com/tonytech83/Python-DB/tree/main/01_PostgreSQL/07_Database_Programmability)### 2. [Python ORM](https://softuni.bg/trainings/4253/python-orm-october-2023#lesson-59955)
The course covers the basics of mapping between a relational database and an object-oriented model (ORM) with a focus on the Django framework. It starts with an introduction to ORM and its key concepts before moving on to working with models in Django, including defining models, fields, and methods. Next, the course delves into advanced topics such as migrations and the Django admin interface, query operations, relationships between models, and inheritance. Students will also learn more complex techniques for working with models and using ORM queries in Django. The course also covers another popular Python ORM framework - SQLAlchemy, which offers an alternative approach. Exercises will be provided during the training to help participants solidify their knowledge at each step. By the end of this course, they will acquire foundational skills for building stable, scalable, and efficient web applications driven by databases using Python ORM frameworks.- [`ORM Introduction`](https://github.com/tonytech83/Python-DB/tree/main/02_Python_ORM/00_ORM_Introduction)
- [`Django Models Basics`](https://github.com/tonytech83/Python-DB/tree/main/02_Python_ORM/01_Django_Models_Basics)
- [`Migrations and Django Admin`](https://github.com/tonytech83/Python-DB/tree/main/02_Python_ORM/02_Migrations_and_Django_Admin)
- [`Data Operations in Django with Queries`](https://github.com/tonytech83/Python-DB/tree/main/02_Python_ORM/03_Data_Operations_in_Django_with_Queries)
- [`Working with Queries in Django`](https://github.com/tonytech83/Python-DB/tree/main/02_Python_ORM/04_Working_with_Queries_in_Django)
- [`Django Models Relations`](https://github.com/tonytech83/Python-DB/tree/main/02_Python_ORM/05_Django_Models_Relations)
- [`Models Inheritance and Customization`](https://github.com/tonytech83/Python-DB/tree/main/02_Python_ORM/06_Models_Inheritance_and_Customization)
- [`Advanced Django Model Techniques`](https://github.com/tonytech83/Python-DB/tree/main/02_Python_ORM/07_Advanced_Django_Model_Techniques)
- [`Advanced Queries in Django`](https://github.com/tonytech83/Python-DB/tree/main/02_Python_ORM/08_Advanced_Queries_in_Django)
- [`SQLAlchemy`](https://github.com/tonytech83/Python-DB/tree/main/02_Python_ORM/09_SQLAlchemy)
Made with by Anton Petrov