Skip to content

observerss/bsc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BSC: Python bingding for libbsc

Install

pip install bsc

Usage

API mimics zlib's

import bsc
assert b'1234' == bsc.decompress(bsc.compress(b'1234'))

# Incremental compressing
# Note that default block size is 25M, you'd better use it on
# very large streams
c = bsc.compressobj()
r = c.compress(b'1234')
r += c.compress(b'2345')
r += c.flush()

Performance

See Squash Benchmark

Link

libbsc

About

Python binding for libbsc, a fast yet capable compressor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published