{"id":52702,"library":"zappy","title":"Zappy","description":"Package zappy implements the zappy block-based compression format, a fork of snappy with improved RLE handling and better compression for sparse data.","status":"active","version":"1.1.0","language":"go","source_language":null,"source_url":null,"tags":["compression","zappy","snappy","block-compression"],"install":[{"cmd":"go get modernc.org/zappy","lang":"bash","label":"Install modernc.org/zappy"}],"dependencies":[],"imports":[{"symbol":"zappy","correct":"modernc.org/zappy"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"modernc.org/zappy\"\n)\n\nfunc main() {\n\tdata := []byte(\"Hello, World!\")\n\tencoded, err := zappy.Encode(nil, data)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tdecoded, err := zappy.Decode(nil, encoded)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tfmt.Println(string(decoded))\n}","lang":"go","description":"Compresses and decompresses data using the zappy format."},"warnings":[{"fix":"Set CGO_ENABLED=1 when building for better performance.","message":"CGO_ENABLED=1 required for optimal performance; pure Go fallback is slower.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'base':9 'better':21 'block':8,30 'block-bas':7 'block-compress':29 'compress':10,22,26,31 'data':25 'fork':13 'format':11 'handl':19 'implement':4 'improv':17 'packag':2 'rle':18 'snappi':15,28 'spars':24 'zappi':1,3,6,27","created_at":"2026-06-15T07:08:15.644704+00:00","updated_at":"2026-06-15T07:08:15.644704+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://gitlab.com/cznic/zappy","github":null,"docs":"https://pkg.go.dev/modernc.org/zappy#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}