{"id":16021770,"url":"https://github.com/ararslan/shoco.jl","last_synced_at":"2025-03-18T03:31:41.139Z","repository":{"id":61799497,"uuid":"53558204","full_name":"ararslan/Shoco.jl","owner":"ararslan","description":"Julia wrapper for the shoco string compression C library","archived":false,"fork":false,"pushed_at":"2021-10-21T23:01:50.000Z","size":24,"stargazers_count":9,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-22T18:05:45.681Z","etag":null,"topics":["compression","julia","strings"],"latest_commit_sha":null,"homepage":null,"language":"Julia","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ararslan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-03-10T05:38:41.000Z","updated_at":"2022-08-01T00:17:57.000Z","dependencies_parsed_at":"2022-10-21T11:30:44.645Z","dependency_job_id":null,"html_url":"https://github.com/ararslan/Shoco.jl","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ararslan%2FShoco.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ararslan%2FShoco.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ararslan%2FShoco.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ararslan%2FShoco.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ararslan","download_url":"https://codeload.github.com/ararslan/Shoco.jl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243897192,"owners_count":20365527,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["compression","julia","strings"],"created_at":"2024-10-08T18:05:39.808Z","updated_at":"2025-03-18T03:31:40.832Z","avatar_url":"https://github.com/ararslan.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shoco.jl\n\n[![Build Status](https://github.com/ararslan/Shoco.jl/workflows/CI/badge.svg)](https://github.com/ararslan/Shoco.jl/actions?query=workflow%3ACI+branch%3Amaster)\n[![codecov.io](http://codecov.io/github/ararslan/Shoco.jl/coverage.svg?branch=master)](http://codecov.io/github/ararslan/Shoco.jl?branch=master)\n\n**Shoco.jl** is a Julia package that provides access to the compression and decompression functions in the [**Shoco**](https://github.com/Ed-von-Schleck/shoco) C library.\nThe algorithms are optimized for short strings and perform well in comparison to [smaz](https://github.com/antirez/smaz), [gzip](https://en.wikipedia.org/wiki/Gzip), and [xz](https://en.wikipedia.org/wiki/Xz).\nCompression is performed using [entropy encoding](https://en.wikipedia.org/wiki/Entropy_encoding).\n\nTwo functions are exported by this package: `compress` and `decompress`.\nBoth accept a single `AbstractString` argument and return a `String`.\nIt's important to note that the output from `compress` may not be valid UTF-8, which the `String` type doesn't care about, but your use case might.\n\nHere's an example using the functions at the REPL.\n\n```julia\njulia\u003e using Shoco\n\njulia\u003e compress(\"what's happening\")\n\"؉'s ⎨\u003cg\"\n\njulia\u003e decompress(\"؉'s ⎨\u003cg\")\n\"what's happening\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fararslan%2Fshoco.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fararslan%2Fshoco.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fararslan%2Fshoco.jl/lists"}