Skip to content

Repository files navigation

How It works

First of all clone the repository using this command

$git clone https://github.com/nitish771/reducer

Now import it inside your python/jupyter notebook

$ import reducer as r

Instanciate the class

$ r.Compress(remote='/path/to/remote/directory/which/you/want/to/compress', local='/where/to/save', **kwargs)

Keyword Arguments

You can pass following keyword arguments

Argsuse
res:intsets compression resolution
cmd:(convert or compress)what to do
quitIfFolderExists:boolif local folder exists it will quit immediately
encrypt:boolafter compression it will compress entire compressed folder with shift cipher
shuffle:boolshuffle compresssion
delete_dup:boolremove duplicates after compression
hidden:boolcount hidden files too (e.g. - .git)

ToDos

  1. Compression details(e.g. start time, taken time, end time)
  2. colorful details to distinguish files

About

Reduce Video Size upto 20X without loosing much quality

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages