Gzip decompressor in ~300 lines of readable Python

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • tiralabra

    gzip decompressor in ~300 lines of readable python

  • pyflate

    Pure Python zlib/gzip/bzip2 decompessor/bitstream dumper, plus additional utilities

  • The code looks clean and it works. It's fun to implement your own understandable parser. After doing such an exercise, suddenly a seemingly complex file format doesn't look like such a black box anymore. When I implemented my decompressor, I also looked at https://github.com/pfalcon/pyflate , to understand and verify the inner gzip/deflate RFC workings. Pyflate is also pretty small, especially after removing the bzip2 code, after which only ~450 lines are left. Laiho's code seems more readable, though.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts