{"id":32202868,"url":"https://github.com/pepijn-devries/blosc","last_synced_at":"2026-03-06T20:01:56.171Z","repository":{"id":305232234,"uuid":"1021381918","full_name":"pepijn-devries/blosc","owner":"pepijn-devries","description":"R package for compressing and decompressing data with BLOSC","archived":false,"fork":false,"pushed_at":"2025-12-07T11:04:01.000Z","size":1805,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-08T21:35:56.837Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://pepijn-devries.github.io/blosc/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pepijn-devries.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-17T10:06:13.000Z","updated_at":"2025-12-07T11:01:11.000Z","dependencies_parsed_at":"2025-08-05T18:16:55.796Z","dependency_job_id":"df1a0149-308d-4500-9d7e-19c0d0958c59","html_url":"https://github.com/pepijn-devries/blosc","commit_stats":null,"previous_names":["pepijn-devries/blosc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pepijn-devries/blosc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pepijn-devries%2Fblosc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pepijn-devries%2Fblosc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pepijn-devries%2Fblosc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pepijn-devries%2Fblosc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pepijn-devries","download_url":"https://codeload.github.com/pepijn-devries/blosc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pepijn-devries%2Fblosc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30195530,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T19:07:06.838Z","status":"ssl_error","status_checked_at":"2026-03-06T18:57:34.882Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2025-10-22T04:18:51.578Z","updated_at":"2026-03-06T20:01:56.156Z","avatar_url":"https://github.com/pepijn-devries.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"50%\",\n  fig.width = 5,\n  fig.height = 4\n)\n```\n\n# BLOSC \u003cimg src=\"man/figures/logo.png\" align=\"right\" height=\"139\" alt=\"logo\" /\u003e\n\n\u003c!-- badges: start --\u003e\n[![R-CMD-check](https://github.com/pepijn-devries/blosc/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/pepijn-devries/blosc/actions/workflows/R-CMD-check.yaml)\n[![version](https://www.r-pkg.org/badges/version/blosc)](https://CRAN.R-project.org/package=blosc)\n[![cran checks](https://badges.cranchecks.info/worst/blosc.svg)](https://cran.r-project.org/web/checks/check_results_blosc.html)\n[![R-universe version](https://pepijn-devries.r-universe.dev/blosc/badges/version)](https://pepijn-devries.r-universe.dev/blosc)\n[![Codecov test coverage](https://codecov.io/gh/pepijn-devries/blosc/graph/badge.svg)](https://app.codecov.io/gh/pepijn-devries/blosc)\n\u003c!-- badges: end --\u003e\n\n[Blosc](https://www.blosc.org/) is a blocking, shuffling and lossless compression\nalgorithm. It is often used to compress n-dimensional structured\narray data. It is applied (among others) in the geo-spatial\n[zarr](https://zarr.dev/) file format. This package ports BLOSC compressors and\ndecompressors to R.\n\n## Installation\n\nInstall latest developmental version from R-Universe:\n\n``` r\ninstall.packages(\"blosc\", repos = c('https://pepijn-devries.r-universe.dev', 'https://cloud.r-project.org'))\n```\n\nMacOS users may first need to install system requirements before installing the package using:\n\n```r\nsource(\"https://mac.R-project.org/bin/install.R\")\ninstall.libs(\"blosc\")\n```\n\n## Example\n\nThe blosc package can be used to compress `raw` data, but also vectors of\nother data types. The example below shows how data from the volcano matrix\ncan be compressed with blosc.\n\n```{r example1}\nlibrary(blosc)\n\nvolcano_compressed \u003c-\n  blosc_compress(volcano, typesize = 2L, dtype = \"\u003cf2\")\n\nobject.size(volcano_compressed)\nobject.size(volcano)\n```\n\nNote that 16 bit floating (`\u003cf2`) point numbers are used for the compression which\nare much less precise than R's native 64 bit floating point numbers.\nNonetheless, in this particular case the precision is sufficient to restore\nthe volcano data.\n\n```{r example2}\nvolcano_reconstructed \u003c-\n  matrix(\n    blosc_decompress(volcano_compressed, dtype = \"\u003cf2\"),\n    nrow(volcano),\n    ncol(volcano)\n  )\n\nimage(volcano_reconstructed, col = terrain.colors(24L))\n```\n\n## More details\n\nFor more details about Blosc compression and decompression please check\n`vignette(\"blosc-compression\")`. For more information about data type encoding and decoding\nplease check `vignette(\"dtypes\")`.\n\n## Acknowledgements\n\nBig thanks to Simon Urbanek for assisting with setting up the MacOS config.\n\n## Code of Conduct\n\nPlease note that the blosc project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/1/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpepijn-devries%2Fblosc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpepijn-devries%2Fblosc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpepijn-devries%2Fblosc/lists"}