numcodecs-wasm-round 0.2.2__tar.gz → 0.3.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (17) hide show
  1. {numcodecs_wasm_round-0.2.2 → numcodecs_wasm_round-0.3.1}/PKG-INFO +10 -4
  2. {numcodecs_wasm_round-0.2.2 → numcodecs_wasm_round-0.3.1}/README.md +7 -1
  3. {numcodecs_wasm_round-0.2.2 → numcodecs_wasm_round-0.3.1}/pyproject.toml +5 -2
  4. {numcodecs_wasm_round-0.2.2 → numcodecs_wasm_round-0.3.1}/src/numcodecs_wasm_round/__init__.pyi +4 -2
  5. numcodecs_wasm_round-0.3.1/src/numcodecs_wasm_round/codec.wasm +0 -0
  6. {numcodecs_wasm_round-0.2.2 → numcodecs_wasm_round-0.3.1}/src/numcodecs_wasm_round.egg-info/PKG-INFO +10 -4
  7. {numcodecs_wasm_round-0.2.2 → numcodecs_wasm_round-0.3.1}/src/numcodecs_wasm_round.egg-info/SOURCES.txt +1 -0
  8. numcodecs_wasm_round-0.3.1/src/numcodecs_wasm_round.egg-info/entry_points.txt +2 -0
  9. numcodecs_wasm_round-0.3.1/src/numcodecs_wasm_round.egg-info/requires.txt +1 -0
  10. numcodecs_wasm_round-0.2.2/src/numcodecs_wasm_round/codec.wasm +0 -0
  11. numcodecs_wasm_round-0.2.2/src/numcodecs_wasm_round.egg-info/requires.txt +0 -1
  12. {numcodecs_wasm_round-0.2.2 → numcodecs_wasm_round-0.3.1}/LICENSE +0 -0
  13. {numcodecs_wasm_round-0.2.2 → numcodecs_wasm_round-0.3.1}/setup.cfg +0 -0
  14. {numcodecs_wasm_round-0.2.2 → numcodecs_wasm_round-0.3.1}/src/numcodecs_wasm_round/__init__.py +0 -0
  15. {numcodecs_wasm_round-0.2.2 → numcodecs_wasm_round-0.3.1}/src/numcodecs_wasm_round/py.typed +0 -0
  16. {numcodecs_wasm_round-0.2.2 → numcodecs_wasm_round-0.3.1}/src/numcodecs_wasm_round.egg-info/dependency_links.txt +0 -0
  17. {numcodecs_wasm_round-0.2.2 → numcodecs_wasm_round-0.3.1}/src/numcodecs_wasm_round.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: numcodecs_wasm_round
3
- Version: 0.2.2
3
+ Version: 0.3.1
4
4
  Summary: numcodecs-round compression codec compiled to WebAssembly
5
5
  Author-email: Juniper Tyree <juniper.tyree@helsinki.fi>
6
6
  Maintainer-email: Juniper Tyree <juniper.tyree@helsinki.fi>
@@ -382,13 +382,19 @@ License: Copyright (c) 2024-2025, Juniper Tyree
382
382
 
383
383
  Requires-Python: >=3.10
384
384
  Description-Content-Type: text/markdown
385
- Requires-Dist: numcodecs-wasm~=0.1.1
385
+ Requires-Dist: numcodecs-wasm~=0.1.5
386
386
 
387
- [![CI Status]][workflow]
387
+ [![CI Status]][workflow] [![PyPi Release]][pypi] [![Read the Docs]][rtdocs]
388
388
 
389
389
  [CI Status]: https://img.shields.io/github/actions/workflow/status/juntyr/numcodecs-rs/ci.yml?branch=main
390
390
  [workflow]: https://github.com/juntyr/numcodecs-rs/actions/workflows/ci.yml?query=branch%3Amain
391
391
 
392
+ [PyPi Release]: https://img.shields.io/pypi/v/numcodecs-wasm-round.svg
393
+ [pypi]: https://pypi.python.org/pypi/numcodecs-wasm-round
394
+
395
+ [Read the Docs]: https://img.shields.io/readthedocs/numcodecs-wasm?label=readthedocs
396
+ [rtdocs]: https://numcodecs-wasm.readthedocs.io/en/stable/api/numcodecs_wasm_round/
397
+
392
398
  # numcodecs-wasm-round
393
399
 
394
400
  [`numcodecs`] compression for the [`numcodecs-round`] codec compiled to WebAssembly.
@@ -1,8 +1,14 @@
1
- [![CI Status]][workflow]
1
+ [![CI Status]][workflow] [![PyPi Release]][pypi] [![Read the Docs]][rtdocs]
2
2
 
3
3
  [CI Status]: https://img.shields.io/github/actions/workflow/status/juntyr/numcodecs-rs/ci.yml?branch=main
4
4
  [workflow]: https://github.com/juntyr/numcodecs-rs/actions/workflows/ci.yml?query=branch%3Amain
5
5
 
6
+ [PyPi Release]: https://img.shields.io/pypi/v/numcodecs-wasm-round.svg
7
+ [pypi]: https://pypi.python.org/pypi/numcodecs-wasm-round
8
+
9
+ [Read the Docs]: https://img.shields.io/readthedocs/numcodecs-wasm?label=readthedocs
10
+ [rtdocs]: https://numcodecs-wasm.readthedocs.io/en/stable/api/numcodecs_wasm_round/
11
+
6
12
  # numcodecs-wasm-round
7
13
 
8
14
  [`numcodecs`] compression for the [`numcodecs-round`] codec compiled to WebAssembly.
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "numcodecs_wasm_round"
7
- version = "0.2.2"
7
+ version = "0.3.1"
8
8
  description = "numcodecs-round compression codec compiled to WebAssembly"
9
9
 
10
10
  authors = [{ name = "Juniper Tyree", email = "juniper.tyree@helsinki.fi" }]
@@ -16,9 +16,12 @@ license = { file = "LICENSE" }
16
16
  requires-python = ">=3.10"
17
17
 
18
18
  dependencies = [
19
- "numcodecs-wasm~=0.1.1", # wasi 0.2.3
19
+ "numcodecs-wasm~=0.1.5", # wasi 0.2.3
20
20
  ]
21
21
 
22
+ [project.entry-points."numcodecs.codecs"]
23
+ "round.rs" = "numcodecs_wasm_round:Round"
24
+
22
25
  [tool.setuptools.packages.find]
23
26
  where = ["src"]
24
27
 
@@ -13,11 +13,13 @@ class Round(numcodecs.abc.Codec):
13
13
  ----------
14
14
  precision : ...
15
15
  Precision of the rounding operation
16
+ _version : ..., optional, default = "1.0.0"
17
+ The codec's encoding format version. Do not provide this parameter explicitly.
16
18
  """
17
19
 
18
- def __init__(self, precision): ...
20
+ def __init__(self, precision, _version='1.0.0'): ...
19
21
 
20
- codec_id = 'round'
22
+ codec_id = 'round.rs'
21
23
 
22
24
  def decode(self, buf, out=None):
23
25
  r"""
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: numcodecs_wasm_round
3
- Version: 0.2.2
3
+ Version: 0.3.1
4
4
  Summary: numcodecs-round compression codec compiled to WebAssembly
5
5
  Author-email: Juniper Tyree <juniper.tyree@helsinki.fi>
6
6
  Maintainer-email: Juniper Tyree <juniper.tyree@helsinki.fi>
@@ -382,13 +382,19 @@ License: Copyright (c) 2024-2025, Juniper Tyree
382
382
 
383
383
  Requires-Python: >=3.10
384
384
  Description-Content-Type: text/markdown
385
- Requires-Dist: numcodecs-wasm~=0.1.1
385
+ Requires-Dist: numcodecs-wasm~=0.1.5
386
386
 
387
- [![CI Status]][workflow]
387
+ [![CI Status]][workflow] [![PyPi Release]][pypi] [![Read the Docs]][rtdocs]
388
388
 
389
389
  [CI Status]: https://img.shields.io/github/actions/workflow/status/juntyr/numcodecs-rs/ci.yml?branch=main
390
390
  [workflow]: https://github.com/juntyr/numcodecs-rs/actions/workflows/ci.yml?query=branch%3Amain
391
391
 
392
+ [PyPi Release]: https://img.shields.io/pypi/v/numcodecs-wasm-round.svg
393
+ [pypi]: https://pypi.python.org/pypi/numcodecs-wasm-round
394
+
395
+ [Read the Docs]: https://img.shields.io/readthedocs/numcodecs-wasm?label=readthedocs
396
+ [rtdocs]: https://numcodecs-wasm.readthedocs.io/en/stable/api/numcodecs_wasm_round/
397
+
392
398
  # numcodecs-wasm-round
393
399
 
394
400
  [`numcodecs`] compression for the [`numcodecs-round`] codec compiled to WebAssembly.
@@ -8,5 +8,6 @@ src/numcodecs_wasm_round/py.typed
8
8
  src/numcodecs_wasm_round.egg-info/PKG-INFO
9
9
  src/numcodecs_wasm_round.egg-info/SOURCES.txt
10
10
  src/numcodecs_wasm_round.egg-info/dependency_links.txt
11
+ src/numcodecs_wasm_round.egg-info/entry_points.txt
11
12
  src/numcodecs_wasm_round.egg-info/requires.txt
12
13
  src/numcodecs_wasm_round.egg-info/top_level.txt
@@ -0,0 +1,2 @@
1
+ [numcodecs.codecs]
2
+ round.rs = numcodecs_wasm_round:Round
@@ -0,0 +1 @@
1
+ numcodecs-wasm~=0.1.5
@@ -1 +0,0 @@
1
- numcodecs-wasm~=0.1.1