-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathREADME
55 lines (40 loc) · 1.53 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
_ _ _ _ ___
| (_) | | | / __)
____ _ _| |_| | _ | |_____| |__ ___ ____
| _ \| | | | | | || \| (___ ) __)___)/ _ )
| | | | |_| | | | |_) ) |/ __/| | |___ ( (/ /
| ||_/ \__ |_|_|____/|_(_____)_| (___/ \____)
|_| (____/
Overview
========
pyliblzfse is a Python (https://www.python.org/) module that provides LZFSE
and LZVN compression and decompression through the reference implementation
provided by Apple (https://github.com/lzfse/lzfse).
Installation
============
pip3 install pyliblzfse
If you are using python 3.7 or higher, you don't need a dev environment to
install on macOS or Windows.
Building
========
$ git clone --recursive https://github.com/ydkhatri/pyliblzfse
$ python setup.py build
Usage
=====
import liblzfse
try:
decrypted_data = liblzfse.decompress(encrypted_data)
except liblzfse.error:
print('liblzfse had an error!')
The library expects encrypted_data to be of the form b'bvx*......bvx$'.
Notes
=====
This is a fork of pylzfse project, which incorporates certain improvements and
provides python wheel builds (for 3.7+) so end users do not need to compile it.
Credits and Legal Information
=============================
pyliblzfse is free and unencumbered software released under the terms of the MIT
license; see COPYING for the license text. For a list of its authors and
contributors, see AUTHORS.
The ASCII art logo at the top was made using
http://manytools.org/hacker-tools/ascii-banner