bitstring 4.3.0__tar.gz → 4.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 (45) hide show
  1. {bitstring-4.3.0/bitstring.egg-info → bitstring-4.3.1}/PKG-INFO +4 -3
  2. {bitstring-4.3.0 → bitstring-4.3.1}/bitstring/__init__.py +1 -1
  3. {bitstring-4.3.0 → bitstring-4.3.1}/bitstring/bits.py +1 -1
  4. {bitstring-4.3.0 → bitstring-4.3.1/bitstring.egg-info}/PKG-INFO +4 -3
  5. bitstring-4.3.1/bitstring.egg-info/requires.txt +1 -0
  6. {bitstring-4.3.0 → bitstring-4.3.1}/pyproject.toml +2 -2
  7. {bitstring-4.3.0 → bitstring-4.3.1}/release_notes.md +8 -1
  8. bitstring-4.3.0/bitstring.egg-info/requires.txt +0 -1
  9. {bitstring-4.3.0 → bitstring-4.3.1}/LICENSE +0 -0
  10. {bitstring-4.3.0 → bitstring-4.3.1}/MANIFEST.in +0 -0
  11. {bitstring-4.3.0 → bitstring-4.3.1}/README.md +0 -0
  12. {bitstring-4.3.0 → bitstring-4.3.1}/bitstring/__main__.py +0 -0
  13. {bitstring-4.3.0 → bitstring-4.3.1}/bitstring/array_.py +0 -0
  14. {bitstring-4.3.0 → bitstring-4.3.1}/bitstring/bitarray_.py +0 -0
  15. {bitstring-4.3.0 → bitstring-4.3.1}/bitstring/bitstore.py +0 -0
  16. {bitstring-4.3.0 → bitstring-4.3.1}/bitstring/bitstore_helpers.py +0 -0
  17. {bitstring-4.3.0 → bitstring-4.3.1}/bitstring/bitstream.py +0 -0
  18. {bitstring-4.3.0 → bitstring-4.3.1}/bitstring/bitstring_options.py +0 -0
  19. {bitstring-4.3.0 → bitstring-4.3.1}/bitstring/dtypes.py +0 -0
  20. {bitstring-4.3.0 → bitstring-4.3.1}/bitstring/exceptions.py +0 -0
  21. {bitstring-4.3.0 → bitstring-4.3.1}/bitstring/fp8.py +0 -0
  22. {bitstring-4.3.0 → bitstring-4.3.1}/bitstring/luts.py +0 -0
  23. {bitstring-4.3.0 → bitstring-4.3.1}/bitstring/methods.py +0 -0
  24. {bitstring-4.3.0 → bitstring-4.3.1}/bitstring/mxfp.py +0 -0
  25. {bitstring-4.3.0 → bitstring-4.3.1}/bitstring/py.typed +0 -0
  26. {bitstring-4.3.0 → bitstring-4.3.1}/bitstring/utils.py +0 -0
  27. {bitstring-4.3.0 → bitstring-4.3.1}/bitstring.egg-info/SOURCES.txt +0 -0
  28. {bitstring-4.3.0 → bitstring-4.3.1}/bitstring.egg-info/dependency_links.txt +0 -0
  29. {bitstring-4.3.0 → bitstring-4.3.1}/bitstring.egg-info/top_level.txt +0 -0
  30. {bitstring-4.3.0 → bitstring-4.3.1}/setup.cfg +0 -0
  31. {bitstring-4.3.0 → bitstring-4.3.1}/tests/__init__.py +0 -0
  32. {bitstring-4.3.0 → bitstring-4.3.1}/tests/smalltestfile +0 -0
  33. {bitstring-4.3.0 → bitstring-4.3.1}/tests/test.m1v +0 -0
  34. {bitstring-4.3.0 → bitstring-4.3.1}/tests/test_array.py +0 -0
  35. {bitstring-4.3.0 → bitstring-4.3.1}/tests/test_benchmarks.py +0 -0
  36. {bitstring-4.3.0 → bitstring-4.3.1}/tests/test_bitarray.py +0 -0
  37. {bitstring-4.3.0 → bitstring-4.3.1}/tests/test_bits.py +0 -0
  38. {bitstring-4.3.0 → bitstring-4.3.1}/tests/test_bitstore.py +0 -0
  39. {bitstring-4.3.0 → bitstring-4.3.1}/tests/test_bitstream.py +0 -0
  40. {bitstring-4.3.0 → bitstring-4.3.1}/tests/test_bitstring.py +0 -0
  41. {bitstring-4.3.0 → bitstring-4.3.1}/tests/test_constbitstream.py +0 -0
  42. {bitstring-4.3.0 → bitstring-4.3.1}/tests/test_dtypes.py +0 -0
  43. {bitstring-4.3.0 → bitstring-4.3.1}/tests/test_fp8.py +0 -0
  44. {bitstring-4.3.0 → bitstring-4.3.1}/tests/test_mxfp.py +0 -0
  45. {bitstring-4.3.0 → bitstring-4.3.1}/tests/test_scaled_dtypes.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: bitstring
3
- Version: 4.3.0
3
+ Version: 4.3.1
4
4
  Summary: Simple construction, analysis and modification of binary data.
5
5
  Author-email: Scott Griffiths <dr.scottgriffiths@gmail.com>
6
6
  Project-URL: homepage, https://github.com/scott-griffiths/bitstring
@@ -21,7 +21,8 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
21
21
  Requires-Python: >=3.8
22
22
  Description-Content-Type: text/markdown
23
23
  License-File: LICENSE
24
- Requires-Dist: bitarray<3.1,>=3.0.0
24
+ Requires-Dist: bitarray<4.0,>=3.0.0
25
+ Dynamic: license-file
25
26
 
26
27
 
27
28
 
@@ -55,7 +55,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
55
55
  THE SOFTWARE.
56
56
  """
57
57
 
58
- __version__ = "4.3.0"
58
+ __version__ = "4.3.1"
59
59
 
60
60
  __author__ = "Scott Griffiths"
61
61
 
@@ -159,7 +159,7 @@ class Bits:
159
159
  f"The 'auto' parameter should not be given explicitly - just use the first positional argument. "
160
160
  f"Instead of '{self.__class__.__name__}(auto=x)' use '{self.__class__.__name__}(x)'.")
161
161
  if offset is not None:
162
- raise bitstring.CreationError("offset cannot be used when initialising with '{k}'.")
162
+ raise bitstring.CreationError(f"offset cannot be used when initialising with '{k}'.")
163
163
  try:
164
164
  Dtype(k, length).set_fn(self, v)
165
165
  except ValueError as e:
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: bitstring
3
- Version: 4.3.0
3
+ Version: 4.3.1
4
4
  Summary: Simple construction, analysis and modification of binary data.
5
5
  Author-email: Scott Griffiths <dr.scottgriffiths@gmail.com>
6
6
  Project-URL: homepage, https://github.com/scott-griffiths/bitstring
@@ -21,7 +21,8 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
21
21
  Requires-Python: >=3.8
22
22
  Description-Content-Type: text/markdown
23
23
  License-File: LICENSE
24
- Requires-Dist: bitarray<3.1,>=3.0.0
24
+ Requires-Dist: bitarray<4.0,>=3.0.0
25
+ Dynamic: license-file
25
26
 
26
27
 
27
28
 
@@ -0,0 +1 @@
1
+ bitarray<4.0,>=3.0.0
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "bitstring"
7
- version = "4.3.0"
7
+ version = "4.3.1"
8
8
  authors = [
9
9
  { name="Scott Griffiths", email="dr.scottgriffiths@gmail.com" },
10
10
  ]
@@ -27,7 +27,7 @@ classifiers = [
27
27
  ]
28
28
  keywords = ["binary", "bitarray", "bitvector", "bitfield"]
29
29
  dependencies = [
30
- "bitarray >= 3.0.0, < 3.1"
30
+ "bitarray >= 3.0.0, < 4.0"
31
31
  ]
32
32
 
33
33
  [project.urls]
@@ -1,12 +1,19 @@
1
1
 
2
2
  # Release Notes
3
3
 
4
+ ### March 2025: version 4.3.1
5
+
6
+ * Updated bitarray dependency to allow for v3.x.
7
+
4
8
  ### January 2025: version 4.3.0
5
9
 
10
+ #### A minor update.
11
+
6
12
  * Upgraded bitarray dependency to >= 3.0.0.
7
13
  * Explicit support for Python 3.13.
14
+ * Added `i` and `I` struct codes for 32-bit ints. Bug #340.
8
15
  * Removed the 'experimental feature' label from the new exotic floating point types.
9
- * Fix for LSB0 slicing issue. Bug #343.
16
+ * Fix for negative index LSB0 slicing issue. Bug #343.
10
17
 
11
18
  ### May 2024: version 4.2.3
12
19
 
@@ -1 +0,0 @@
1
- bitarray<3.1,>=3.0.0
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