Giter Site home page Giter Site logo

pmedepal1 / stanford_compression_library Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kedartatwawadi/stanford_compression_library

0.0 0.0 0.0 3.18 MB

The goal of the library is to help with research in the area of data compression. This is not meant to be fast or efficient implementation, but rather for educational purpose

License: MIT License

Python 100.00%

stanford_compression_library's Introduction

Stanford Compression Library

The goal of the library is to help with research in the area of data compression. This is not meant to be fast or efficient implementation, but rather for educational purpose

Compression algorithms

Here is a list of algorithms implemented.

NOTE -> the tests in each file should be helpful as a "usage" example of each of the compressors. More details are also available on the wiki page.

Getting started

  • Create conda environment and install required packages:

    conda create --name myenv python=3.8.2
    conda activate myenv
    python -m pip install -r requirements.txt
    
  • Add path to the repo to PYTHONPATH:

    export PYTHONPATH=$PYTHONPATH:<path_to_repo>
    
  • Run unit tests

    To run all tests:

    find . -name "*.py" -exec py.test -s -v {} +
    

    To run a single test

    py.test -s -v core/data_stream_tests.py
    

Getting started with understanding the library

In-depth information about the library will be in the comments. Tutorials/articles etc will be posted on the wiki page: https://github.com/kedartatwawadi/stanford_compression_library/wiki/Introduction-to-the-Stanford-Compression-Library

How to submit code

Run a formatter before submitting PR

black <dir/file> --line-length 100

Note that the Github actions CI uses flake8 as a lint (see .github/workflows/python-app.yml), which is compatible with the black formatter as discussed here.

Contact

The best way to contact the maintainers is to file an issue with your question. If not please use the following email:

stanford_compression_library's People

Contributors

kedartatwawadi avatar tpulkit avatar shubhamchandak94 avatar

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.