{"id":37085141,"url":"https://github.com/asdf-format/asdf-compression","last_synced_at":"2026-01-14T10:27:59.166Z","repository":{"id":176886012,"uuid":"659306150","full_name":"asdf-format/asdf-compression","owner":"asdf-format","description":null,"archived":false,"fork":false,"pushed_at":"2025-11-10T17:32:10.000Z","size":28,"stargazers_count":1,"open_issues_count":4,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-10T19:11:11.810Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/asdf-format.png","metadata":{"files":{"readme":"README.rst","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,"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":"2023-06-27T14:49:26.000Z","updated_at":"2025-11-10T17:32:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"cfb1ad5b-3226-4158-9795-e9994d3e7242","html_url":"https://github.com/asdf-format/asdf-compression","commit_stats":null,"previous_names":["braingram/asdf-zstd","asdf-format/asdf-compression"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/asdf-format/asdf-compression","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asdf-format%2Fasdf-compression","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asdf-format%2Fasdf-compression/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asdf-format%2Fasdf-compression/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asdf-format%2Fasdf-compression/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asdf-format","download_url":"https://codeload.github.com/asdf-format/asdf-compression/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asdf-format%2Fasdf-compression/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28417211,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:25:19.714Z","status":"ssl_error","status_checked_at":"2026-01-14T10:22:49.371Z","response_time":107,"last_error":"SSL_read: 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":"2026-01-14T10:27:58.411Z","updated_at":"2026-01-14T10:27:59.158Z","avatar_url":"https://github.com/asdf-format.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"ASDF support for various compression algorithms\n-----------------------------------------------\n\n.. image:: https://github.com/asdf-format/asdf-compression/workflows/CI/badge.svg\n    :target: https://github.com/asdf-format/asdf-compression/actions\n    :alt: CI Status\n\nThis packages includes a plugin for the Python library\n`asdf \u003chttps://asdf.readthedocs.io/en/latest/\u003e`__ to add support\nfor reading and writing various compression algorithms including:\n\n* `Blosc \u003chttps://www.blosc.org/python-blosc/reference.html\u003e`__\n* `LZ4 Frame \u003chttps://python-lz4.readthedocs.io/en/stable/lz4.frame.html\u003e`__\n* `Zstandard \u003chttp://facebook.github.io/zstd/\u003e`__\n\n\nInstallation\n------------\n\nThis plugin is not yet stable and released on PyPi.\n\nTo install all compression algorithms supported by asdf-compression, install\nusing the ``all`` optional parameters.\n\n.. code-block:: console\n\n    $ pip install \"asdf-compression[all] @ git+https://github.com/asdf-format/asdf-compression\"\n\nOr alternatively by cloning and installing this repository.\n\n.. code-block:: console\n\n    $ git clone https://github.com/asdf-format/asdf-compression\n    $ cd asdf-compression\n    $ pip install \".[all]\"\n\nIf only a specific algorithm is needed, just that algorithm can be installed.\n\n.. code-block:: console\n\n    $ pip install \".[zstd]\"\n\nOr a subset can be selected\n\n.. code-block:: console\n\n    $ pip install \".[zstd,blsc]\"\n\nUsage\n-----\n\nWhen installed ``asdf-compression`` will register any supported and available\ncompression algorithms with asdf using the\n`Compressor \u003chttps://asdf.readthedocs.io/en/latest/asdf/extending/compressors.html\u003e`__\ninterface.\n\nThe following example shows saving an array with ``zstandard`` compression provided\nvia ``asdf-compression``.\n\n.. code-block:: python\n\n    import asdf, numpy as np\n\n    af = asdf.AsdfFile({\"arr\": np.arange(42)})\n    af.set_array_compression(af[\"arr\"], \"zstd\")\n    af.write_to(\"test.asdf\")\n\n\nTesting\n-------\n\n`pytest \u003chttps://docs.pytest.org\u003e`__ is used for testing.\nTests can be run (from the source checkout of this repository):\n\n.. code-block:: console\n\n    $ pytest\n\n\nContributing\n------------\n\nWe welcome feedback and contributions to this project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasdf-format%2Fasdf-compression","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasdf-format%2Fasdf-compression","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasdf-format%2Fasdf-compression/lists"}