https://github.com/juntyr/numcodecs-observers
Observe encoding and decoding in the numcodecs buffer compression API
https://github.com/juntyr/numcodecs-observers
compression numcodecs observer
Last synced: 5 months ago
JSON representation
Observe encoding and decoding in the numcodecs buffer compression API
- Host: GitHub
- URL: https://github.com/juntyr/numcodecs-observers
- Owner: juntyr
- License: mpl-2.0
- Created: 2025-02-05T06:05:24.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-04-12T07:32:52.000Z (9 months ago)
- Last Synced: 2025-07-27T13:46:06.969Z (5 months ago)
- Topics: compression, numcodecs, observer
- Language: Python
- Homepage: https://numcodecs-observers.readthedocs.io/en/stable/
- Size: 47.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/juntyr/numcodecs-observers/actions/workflows/ci.yml?query=branch%3Amain)
[](https://pypi.python.org/pypi/numcodecs-observers)
[](https://github.com/juntyr/numcodecs-observers/blob/main/LICENSE)
[](https://pypi.python.org/pypi/numcodecs-observers)
[](https://numcodecs-observers.readthedocs.io/en/latest/?badge=latest)
# numcodecs-observers
Observe encoding and decoding in the [`numcodecs`] buffer compression API.
The following observers, implementing the `CodecObserver` class are provided:
- `BytesizeObserver`: measure the byte size of the data before and after encoding / decoding
- `WalltimeObserver`: measure the walltime it takes to encode / decode
[`numcodecs`]: https://numcodecs.readthedocs.io/en/stable/
## License
Licensed under the Mozilla Public License, Version 2.0 ([LICENSE](LICENSE) or https://www.mozilla.org/en-US/MPL/2.0/).
## Funding
The `numcodecs-observers` package has been developed as part of [ESiWACE3](https://www.esiwace.eu), the third phase of the Centre of Excellence in Simulation of Weather and Climate in Europe.
Funded by the European Union. This work has received funding from the European High Performance Computing Joint Undertaking (JU) under grant agreement No 101093054.