GithubHelp home page GithubHelp logo

newmsk / python-lzf-emotet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from joaogodinho/python-lzf-emotet

0.0 0.0 1.0 64 KB

python bindings to liblzf, a speed demon compression library

Home Page: http://github.com/teepark/python-lzf

License: Other

C 73.62% C++ 18.75% Python 7.63%

python-lzf-emotet's Introduction

Library updated to compress/decompress Emotet data.

Install using `pip install git+https://github.com/newmsk/python-lzf-emotet.git`

python-lzf: liblzf python bindings

This package is just a straight translation of the C api of liblzf to python.
It has two functions: compress() and decompress().

compress() accepts a string to compress and an optional maximum length for the
output. If it cannot compress the string down to the requested size is to
return None. The default behavior if no size is explicitly requested is to use
one less than the length of the input, so the caller must always be prepared
for a return value of None.

decompress() accepts a string and a size in which the uncompressed result must
fit. If the uncompressed version doesn't fit in the specified size then the
function returns None.

python-lzf-emotet's People

Contributors

joaogodinho avatar newmsk avatar teepark avatar

Forkers

synodriver

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.