https://github.com/manik2000/curling-club-database
A database scheme for a sports club. Assignment from university course about databases.
https://github.com/manik2000/curling-club-database
Last synced: about 1 year ago
JSON representation
A database scheme for a sports club. Assignment from university course about databases.
- Host: GitHub
- URL: https://github.com/manik2000/curling-club-database
- Owner: Manik2000
- Created: 2024-02-09T14:36:39.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-09T15:50:13.000Z (over 2 years ago)
- Last Synced: 2025-01-30T04:25:29.896Z (over 1 year ago)
- Language: Python
- Size: 616 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Curling Club Database
A database scheme for a sports club. Assignment from university course about databases.
## Database scheme

## Data
All data is generated randomly, but realistically.
`txt` directory contains names, surnames, teams names that are used to generate data.
## Database
All tables are created, filled with data using python scripts that are in `src` directory. The name of the files indicate the purpose of the script.
Both low level and high level python connectors are used to interact with the database:
* `tables.py` contains the definition of the tables in sql language and `database_creator.py` uses it to create the tables on the side of the server,
* `pandas` `write_to_sql` method is used to fill the tables with data.
`main.py` is the main scipt that glues everything together.
## Requirements
* Python libraries: `requirements.txt`,
* Database server (please fill in the `config.py` file with your database credentials).
## Collaborators
- [Mikołaj Langner](https://github.com/MikolajLangner)
- [Marcin Miśkiewicz](https://github.com/MarcinBear)