taiypeo / isd_homework_1

HSE Industrial Software Development Elective HW 1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HSE Industrial Software Development Elective HW 1

Code style: black License: MIT

A simple Flask archiving application.

Usage

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*)

Testing

python3 -m isd_homework_1  (run the server for integration testing)
pytest isd_homework_1

Available formats

  • tar
  • tar.gz
  • tar.bz2
  • tar.xz
  • zip

About

HSE Industrial Software Development Elective HW 1

License:MIT License


Languages

Language:Python 80.5%Language:HTML 19.5%