A simple Flask archiving application.
Installation:
git clone https://github.com/QwertygidQ/isd_homework_1.git
cd isd_homework_1
pip3 install -r requirements.txt
Running:
cd .. (if inside isd_homework_1/)
python3 -m isd_homework_1
UI will be displayed on http://localhost:8080.
Usage with curl:
curl -F 'file=@/path/to/your/file' http://127.0.0.1:8080/convert/*ARCHIVE TYPE* (--output *FILENAME*)
python3 -m isd_homework_1 (run the server for integration testing)
pytest isd_homework_1
- tar
- tar.gz
- tar.bz2
- tar.xz
- zip