hexconv 0.2.1__tar.gz → 0.2.2__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.
- {hexconv-0.2.1/src/hexconv.egg-info → hexconv-0.2.2}/PKG-INFO +5 -5
- {hexconv-0.2.1 → hexconv-0.2.2}/README.md +4 -4
- {hexconv-0.2.1 → hexconv-0.2.2}/pyproject.toml +1 -1
- {hexconv-0.2.1 → hexconv-0.2.2/src/hexconv.egg-info}/PKG-INFO +5 -5
- {hexconv-0.2.1 → hexconv-0.2.2}/LICENSE +0 -0
- {hexconv-0.2.1 → hexconv-0.2.2}/MANIFEST.in +0 -0
- {hexconv-0.2.1 → hexconv-0.2.2}/setup.cfg +0 -0
- {hexconv-0.2.1 → hexconv-0.2.2}/src/hexconv/__init__.py +0 -0
- {hexconv-0.2.1 → hexconv-0.2.2}/src/hexconv/_core.py +0 -0
- {hexconv-0.2.1 → hexconv-0.2.2}/src/hexconv/py.typed +0 -0
- {hexconv-0.2.1 → hexconv-0.2.2}/src/hexconv.egg-info/SOURCES.txt +0 -0
- {hexconv-0.2.1 → hexconv-0.2.2}/src/hexconv.egg-info/dependency_links.txt +0 -0
- {hexconv-0.2.1 → hexconv-0.2.2}/src/hexconv.egg-info/requires.txt +0 -0
- {hexconv-0.2.1 → hexconv-0.2.2}/src/hexconv.egg-info/top_level.txt +0 -0
- {hexconv-0.2.1 → hexconv-0.2.2}/tests/test_hexconv.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: hexconv
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: Pythonic conversion toolkit for bytes, hex, integers, arrays, binary strings, base64, and text.
|
|
5
5
|
Author: hexconv contributors
|
|
6
6
|
License-Expression: MIT
|
|
@@ -40,8 +40,8 @@ import hexconv as hx
|
|
|
40
40
|
|
|
41
41
|
decode = hx.HexArray() >> hx.Text()
|
|
42
42
|
|
|
43
|
-
decode([
|
|
44
|
-
# '
|
|
43
|
+
decode([0x48, 0x65, 0x6C, 0x6C, 0x6F])
|
|
44
|
+
# 'Hello'
|
|
45
45
|
```
|
|
46
46
|
|
|
47
47
|
## Install
|
|
@@ -82,8 +82,8 @@ Use `>>` to compose reusable converters:
|
|
|
82
82
|
|
|
83
83
|
```python
|
|
84
84
|
to_text = hx.HexArray() >> hx.Text()
|
|
85
|
-
to_text([
|
|
86
|
-
# '
|
|
85
|
+
to_text([0x48, 0x65, 0x6C, 0x6C, 0x6F])
|
|
86
|
+
# 'Hello'
|
|
87
87
|
|
|
88
88
|
to_hex = hx.Text() >> hx.Hex(prefix=True)
|
|
89
89
|
to_hex("data")
|
|
@@ -11,8 +11,8 @@ import hexconv as hx
|
|
|
11
11
|
|
|
12
12
|
decode = hx.HexArray() >> hx.Text()
|
|
13
13
|
|
|
14
|
-
decode([
|
|
15
|
-
# '
|
|
14
|
+
decode([0x48, 0x65, 0x6C, 0x6C, 0x6F])
|
|
15
|
+
# 'Hello'
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
## Install
|
|
@@ -53,8 +53,8 @@ Use `>>` to compose reusable converters:
|
|
|
53
53
|
|
|
54
54
|
```python
|
|
55
55
|
to_text = hx.HexArray() >> hx.Text()
|
|
56
|
-
to_text([
|
|
57
|
-
# '
|
|
56
|
+
to_text([0x48, 0x65, 0x6C, 0x6C, 0x6F])
|
|
57
|
+
# 'Hello'
|
|
58
58
|
|
|
59
59
|
to_hex = hx.Text() >> hx.Hex(prefix=True)
|
|
60
60
|
to_hex("data")
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "hexconv"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.2"
|
|
8
8
|
description = "Pythonic conversion toolkit for bytes, hex, integers, arrays, binary strings, base64, and text."
|
|
9
9
|
readme = { file = "README.md", content-type = "text/markdown" }
|
|
10
10
|
requires-python = ">=3.10"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: hexconv
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: Pythonic conversion toolkit for bytes, hex, integers, arrays, binary strings, base64, and text.
|
|
5
5
|
Author: hexconv contributors
|
|
6
6
|
License-Expression: MIT
|
|
@@ -40,8 +40,8 @@ import hexconv as hx
|
|
|
40
40
|
|
|
41
41
|
decode = hx.HexArray() >> hx.Text()
|
|
42
42
|
|
|
43
|
-
decode([
|
|
44
|
-
# '
|
|
43
|
+
decode([0x48, 0x65, 0x6C, 0x6C, 0x6F])
|
|
44
|
+
# 'Hello'
|
|
45
45
|
```
|
|
46
46
|
|
|
47
47
|
## Install
|
|
@@ -82,8 +82,8 @@ Use `>>` to compose reusable converters:
|
|
|
82
82
|
|
|
83
83
|
```python
|
|
84
84
|
to_text = hx.HexArray() >> hx.Text()
|
|
85
|
-
to_text([
|
|
86
|
-
# '
|
|
85
|
+
to_text([0x48, 0x65, 0x6C, 0x6C, 0x6F])
|
|
86
|
+
# 'Hello'
|
|
87
87
|
|
|
88
88
|
to_hex = hx.Text() >> hx.Hex(prefix=True)
|
|
89
89
|
to_hex("data")
|
|
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
|