kopia lustrzana https://github.com/thinkst/zippy
Updated docs for newly packaged directory structure
Signed-off-by: Jacob Torrey <jacob@thinkst.com>pull/6/head
rodzic
f88f262b8a
commit
03cde408af
|
@ -30,7 +30,7 @@ Here are each of them compared with both the LZMA and zlib detector across the t
|
||||||
|
|
||||||
ZipPy will read files passed as command-line arguments, or will read from stdin to allow for piping of text to it.
|
ZipPy will read files passed as command-line arguments, or will read from stdin to allow for piping of text to it.
|
||||||
```
|
```
|
||||||
$ python3 zippy.py -h
|
$ python3 zippy/zippy.py -h
|
||||||
usage: zippy.py [-h] [-p P] [-e {zlib,lzma,brotli,ensemble}] [-s | sample_files ...]
|
usage: zippy.py [-h] [-p P] [-e {zlib,lzma,brotli,ensemble}] [-s | sample_files ...]
|
||||||
|
|
||||||
positional arguments:
|
positional arguments:
|
||||||
|
@ -42,7 +42,7 @@ options:
|
||||||
-e {zlib,lzma,brotli,ensemble}
|
-e {zlib,lzma,brotli,ensemble}
|
||||||
Which compression engine to use: lzma, zlib, brotli, or an ensemble of all engines
|
Which compression engine to use: lzma, zlib, brotli, or an ensemble of all engines
|
||||||
-s Read from stdin until EOF is reached instead of from a file
|
-s Read from stdin until EOF is reached instead of from a file
|
||||||
$ python3 zippy.py samples/human-generated/about_me.txt
|
$ python3 zippy/zippy.py samples/human-generated/about_me.txt
|
||||||
samples/human-generated/about_me.txt
|
samples/human-generated/about_me.txt
|
||||||
('Human', 0.06013429262166636)
|
('Human', 0.06013429262166636)
|
||||||
```
|
```
|
||||||
|
|
Ładowanie…
Reference in New Issue