gxhash 0.1.0__tar.gz → 0.1.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.

Potentially problematic release.


This version of gxhash might be problematic. Click here for more details.

Files changed (42) hide show
  1. gxhash-0.1.1/PKG-INFO +72 -0
  2. gxhash-0.1.1/py-gxhash/README.md +62 -0
  3. {gxhash-0.1.0 → gxhash-0.1.1}/pyproject.toml +8 -7
  4. gxhash-0.1.0/PKG-INFO +0 -15
  5. gxhash-0.1.0/py-gxhash/README.md +0 -5
  6. {gxhash-0.1.0 → gxhash-0.1.1}/.cargo/config.toml +0 -0
  7. {gxhash-0.1.0 → gxhash-0.1.1}/.gitattributes +0 -0
  8. {gxhash-0.1.0 → gxhash-0.1.1}/.github/workflows/bench.yml +0 -0
  9. {gxhash-0.1.0 → gxhash-0.1.1}/.github/workflows/build_test.yml +0 -0
  10. {gxhash-0.1.0 → gxhash-0.1.1}/.github/workflows/cross_compile.yml +0 -0
  11. {gxhash-0.1.0 → gxhash-0.1.1}/.github/workflows/rust_version.yml +0 -0
  12. {gxhash-0.1.0 → gxhash-0.1.1}/.gitignore +0 -0
  13. {gxhash-0.1.0 → gxhash-0.1.1}/CITATION.cff +0 -0
  14. {gxhash-0.1.0 → gxhash-0.1.1}/Cargo.lock +0 -0
  15. {gxhash-0.1.0 → gxhash-0.1.1}/Cargo.toml +0 -0
  16. {gxhash-0.1.0 → gxhash-0.1.1}/LICENSE +0 -0
  17. {gxhash-0.1.0 → gxhash-0.1.1}/README.md +0 -0
  18. {gxhash-0.1.0 → gxhash-0.1.1}/benches/hashset.rs +0 -0
  19. {gxhash-0.1.0 → gxhash-0.1.1}/benches/ilp.rs +0 -0
  20. {gxhash-0.1.0 → gxhash-0.1.1}/benches/quality/main.rs +0 -0
  21. {gxhash-0.1.0 → gxhash-0.1.1}/benches/throughput/aarch64.svg +0 -0
  22. {gxhash-0.1.0 → gxhash-0.1.1}/benches/throughput/main.rs +0 -0
  23. {gxhash-0.1.0 → gxhash-0.1.1}/benches/throughput/result_processor.rs +0 -0
  24. {gxhash-0.1.0 → gxhash-0.1.1}/benches/throughput/x86_64-avx2.svg +0 -0
  25. {gxhash-0.1.0 → gxhash-0.1.1}/benches/throughput/x86_64-hybrid.svg +0 -0
  26. {gxhash-0.1.0 → gxhash-0.1.1}/benches/throughput/x86_64.svg +0 -0
  27. {gxhash-0.1.0 → gxhash-0.1.1}/benches/throughput_criterion.rs +0 -0
  28. {gxhash-0.1.0 → gxhash-0.1.1}/build.rs +0 -0
  29. {gxhash-0.1.0 → gxhash-0.1.1}/examples/hello_world.rs +0 -0
  30. {gxhash-0.1.0 → gxhash-0.1.1}/py-gxhash/Cargo.lock +0 -0
  31. {gxhash-0.1.0 → gxhash-0.1.1}/py-gxhash/Cargo.toml +0 -0
  32. {gxhash-0.1.0 → gxhash-0.1.1}/py-gxhash/gxhash.pyi +0 -0
  33. {gxhash-0.1.0 → gxhash-0.1.1}/py-gxhash/main.py +0 -0
  34. {gxhash-0.1.0 → gxhash-0.1.1}/py-gxhash/src/lib.rs +0 -0
  35. {gxhash-0.1.0 → gxhash-0.1.1}/py-gxhash/uv.lock +0 -0
  36. {gxhash-0.1.0 → gxhash-0.1.1}/rustfmt.toml +0 -0
  37. {gxhash-0.1.0 → gxhash-0.1.1}/src/gxhash/mod.rs +0 -0
  38. {gxhash-0.1.0 → gxhash-0.1.1}/src/gxhash/platform/arm.rs +0 -0
  39. {gxhash-0.1.0 → gxhash-0.1.1}/src/gxhash/platform/mod.rs +0 -0
  40. {gxhash-0.1.0 → gxhash-0.1.1}/src/gxhash/platform/x86.rs +0 -0
  41. {gxhash-0.1.0 → gxhash-0.1.1}/src/hasher.rs +0 -0
  42. {gxhash-0.1.0 → gxhash-0.1.1}/src/lib.rs +0 -0
gxhash-0.1.1/PKG-INFO ADDED
@@ -0,0 +1,72 @@
1
+ Metadata-Version: 2.4
2
+ Name: gxhash
3
+ Version: 0.1.1
4
+ Classifier: Programming Language :: Rust
5
+ Classifier: Programming Language :: Python :: Implementation :: CPython
6
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
7
+ Requires-Python: >=3.7
8
+ Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
9
+
10
+ # gxhash-py
11
+
12
+ Python bindings for [GxHash](https://github.com/ogxd/gxhash), a blazingly fast and robust non-cryptographic hashing algorithm.
13
+
14
+ ## Features
15
+
16
+ - **Blazingly Fast**: Minimal-overhead binding to leverage the full speed of GxHash.
17
+ - **Zero Python**: Pure Rust backend with zero additional Python runtime overhead.
18
+ - **Fine-Grained Control**: Build true multi-threaded or async hashing pipelines with GIL-free APIs.
19
+ - **Faster File Hashing**: Hash files directly using memory-mapped I/O via Rust — 3x faster than Python's sequential I/O.
20
+ - **Async-Ready**: Tokio-powered async hashing for fast and efficient concurrency.
21
+ - **Fully Typesafe**: Predictable, clean API with complete type safety.
22
+
23
+ ## Installation
24
+
25
+ ```bash
26
+ pip install gxhash
27
+ ```
28
+
29
+ ## Usage
30
+
31
+ Hashing bytes.
32
+
33
+ ```python
34
+ from gxhash import GxHash32
35
+
36
+ def main():
37
+ gxhash = GxHash32(seed=0)
38
+ result = gxhash.hash(b"Hello, world!")
39
+
40
+ if __name__ == "__main__":
41
+ main()
42
+ ```
43
+
44
+ Hashing a file.
45
+
46
+ ```python
47
+ from gxhash import GxHash64
48
+
49
+ def main():
50
+ gxhash = GxHash64(seed=0)
51
+ file = open("path/to/file.dmg", "rb")
52
+ result = gxhash.hash_file(file)
53
+
54
+ if __name__ == "__main__":
55
+ main()
56
+ ```
57
+
58
+ Hashing a file asynchronously.
59
+
60
+ ```python
61
+ from asyncio import run
62
+ from gxhash import GxHash128
63
+
64
+ async def main():
65
+ gxhash = GxHash128(seed=0)
66
+ file = open("path/to/file.dmg", "rb")
67
+ result = await gxhash.hash_file_async(file)
68
+
69
+ if __name__ == "__main__":
70
+ run(main())
71
+ ```
72
+
@@ -0,0 +1,62 @@
1
+ # gxhash-py
2
+
3
+ Python bindings for [GxHash](https://github.com/ogxd/gxhash), a blazingly fast and robust non-cryptographic hashing algorithm.
4
+
5
+ ## Features
6
+
7
+ - **Blazingly Fast**: Minimal-overhead binding to leverage the full speed of GxHash.
8
+ - **Zero Python**: Pure Rust backend with zero additional Python runtime overhead.
9
+ - **Fine-Grained Control**: Build true multi-threaded or async hashing pipelines with GIL-free APIs.
10
+ - **Faster File Hashing**: Hash files directly using memory-mapped I/O via Rust — 3x faster than Python's sequential I/O.
11
+ - **Async-Ready**: Tokio-powered async hashing for fast and efficient concurrency.
12
+ - **Fully Typesafe**: Predictable, clean API with complete type safety.
13
+
14
+ ## Installation
15
+
16
+ ```bash
17
+ pip install gxhash
18
+ ```
19
+
20
+ ## Usage
21
+
22
+ Hashing bytes.
23
+
24
+ ```python
25
+ from gxhash import GxHash32
26
+
27
+ def main():
28
+ gxhash = GxHash32(seed=0)
29
+ result = gxhash.hash(b"Hello, world!")
30
+
31
+ if __name__ == "__main__":
32
+ main()
33
+ ```
34
+
35
+ Hashing a file.
36
+
37
+ ```python
38
+ from gxhash import GxHash64
39
+
40
+ def main():
41
+ gxhash = GxHash64(seed=0)
42
+ file = open("path/to/file.dmg", "rb")
43
+ result = gxhash.hash_file(file)
44
+
45
+ if __name__ == "__main__":
46
+ main()
47
+ ```
48
+
49
+ Hashing a file asynchronously.
50
+
51
+ ```python
52
+ from asyncio import run
53
+ from gxhash import GxHash128
54
+
55
+ async def main():
56
+ gxhash = GxHash128(seed=0)
57
+ file = open("path/to/file.dmg", "rb")
58
+ result = await gxhash.hash_file_async(file)
59
+
60
+ if __name__ == "__main__":
61
+ run(main())
62
+ ```
@@ -1,9 +1,6 @@
1
- [build-system]
2
- requires = ["maturin>=1.7,<2.0"]
3
- build-backend = "maturin"
4
-
5
1
  [project]
6
2
  name = "gxhash"
3
+ version = "0.1.1"
7
4
  requires-python = ">=3.7"
8
5
  dynamic = ["version"]
9
6
  classifiers = [
@@ -12,9 +9,13 @@ classifiers = [
12
9
  "Programming Language :: Python :: Implementation :: PyPy",
13
10
  ]
14
11
 
12
+ [dependency-groups]
13
+ dev = ["maturin>=1.7.4"]
14
+
15
+ [build-system]
16
+ requires = ["maturin>=1.7,<2.0"]
17
+ build-backend = "maturin"
18
+
15
19
  [tool.maturin]
16
20
  features = ["pyo3/extension-module"]
17
21
  manifest-path = "py-gxhash/Cargo.toml"
18
-
19
- [dependency-groups]
20
- dev = ["maturin>=1.7.4"]
gxhash-0.1.0/PKG-INFO DELETED
@@ -1,15 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: gxhash
3
- Version: 0.1.0
4
- Classifier: Programming Language :: Rust
5
- Classifier: Programming Language :: Python :: Implementation :: CPython
6
- Classifier: Programming Language :: Python :: Implementation :: PyPy
7
- Requires-Python: >=3.7
8
- Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
9
-
10
- # py-gxhash
11
-
12
- ```bash
13
- uv sync --reinstall
14
- ```
15
-
@@ -1,5 +0,0 @@
1
- # py-gxhash
2
-
3
- ```bash
4
- uv sync --reinstall
5
- ```
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes