https://github.com/cuppilekkia/youmanity-contest-exporter
https://github.com/cuppilekkia/youmanity-contest-exporter
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cuppilekkia/youmanity-contest-exporter
- Owner: cuppilekkia
- Created: 2021-01-30T16:03:44.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-09-12T16:58:17.000Z (almost 2 years ago)
- Last Synced: 2025-02-02T09:33:21.211Z (5 months ago)
- Language: Python
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Youmanity Photos exporter
Utility to export contest photos in a unique folder.
It renames the files with the following format:
```sh
[participant name]-[email]-[entry number: 1, 2...].[extension]
```## Setup
Install requirements
```sh
pip3 install -r requirements.txt
```Export the DB table with the entries as CSV file and put it in the contest folder.
Setup the folders starting from this as root, like:
```sh
youma-contest-2022/
iscrizioni2022.csv
photos/
[all the photos]
exports/
[initially empty]
constants.py
main.py
[...]
```Check the constants in `constants.py` file to reflect the folder setup and the CSV delimiter.
## Run
```sh
python3 main.py
```