python-ulid 2.4.0__py3-none-any.whl → 2.5.0__py3-none-any.whl

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.
@@ -1,10 +1,13 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: python-ulid
3
- Version: 2.4.0
3
+ Version: 2.5.0
4
4
  Summary: Universally unique lexicographically sortable identifier
5
5
  Project-URL: Homepage, https://github.com/mdomke/python-ulid
6
+ Project-URL: Documentation, https://python-ulid.readthedocs.io
7
+ Project-URL: Changelog, https://python-ulid.readthedocs.io/en/latest/changelog.html
8
+ Project-URL: Issues, https://github.com/mdomke/python-ulid/issues
9
+ Project-URL: CI, https://github.com/mdomke/python-ulid/actions
6
10
  Project-URL: Repository, https://github.com/mdomke/python-ulid
7
- Project-URL: Documentation, https://python-ulid.readthedocs.io/
8
11
  Author-email: Martin Domke <mail@martindomke.net>
9
12
  License-Expression: MIT
10
13
  License-File: LICENSE
@@ -0,0 +1,10 @@
1
+ ulid/__init__.py,sha256=zy-30DJ8TvBy4TbOg5Jg3nYO8K6IN1O-6VN1X179EzY,9410
2
+ ulid/__main__.py,sha256=Cmg0NEz3GUZ2WhsZVpY3-Kq-JOkxJFaLsRNgj3Aosyw,5341
3
+ ulid/base32.py,sha256=OkU4FBqohJgV_ZRc3dTbjPlUTSSeC9ddFlPXD2vA8vc,5832
4
+ ulid/constants.py,sha256=N_nw4W2ciXO8C1IeuO3YK3j4_x9QW-0KyvrSQUuM-G4,241
5
+ ulid/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
+ python_ulid-2.5.0.dist-info/METADATA,sha256=7BkkVqpVMiLr6U7aN1GGwfybKl-GP7BDz2-St3wO5BU,5782
7
+ python_ulid-2.5.0.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
8
+ python_ulid-2.5.0.dist-info/entry_points.txt,sha256=9214ghzfSgS8a-TjjlWDF7bI7KSaeewOCBKn5uz7bdU,50
9
+ python_ulid-2.5.0.dist-info/licenses/LICENSE,sha256=DiDPNhW5yUHIqaKowvX0c1c9xWiI0xW4ji8R9N2NJbw,1056
10
+ python_ulid-2.5.0.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: hatchling 1.22.4
2
+ Generator: hatchling 1.24.2
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
ulid/__init__.py CHANGED
@@ -259,6 +259,8 @@ class ULID:
259
259
  [
260
260
  core_schema.is_instance_schema(ULID),
261
261
  core_schema.no_info_plain_validator_function(ULID),
262
+ core_schema.str_schema(pattern=r"[A-Z0-9]{26}", min_length=26, max_length=26),
263
+ core_schema.bytes_schema(min_length=16, max_length=16),
262
264
  ]
263
265
  ),
264
266
  serialization=core_schema.to_string_ser_schema(
@@ -1,10 +0,0 @@
1
- ulid/__init__.py,sha256=7wY5wUQGwcUhreFESFX6MCrimPbaJOjXUY0XEZvU9Cg,9235
2
- ulid/__main__.py,sha256=Cmg0NEz3GUZ2WhsZVpY3-Kq-JOkxJFaLsRNgj3Aosyw,5341
3
- ulid/base32.py,sha256=OkU4FBqohJgV_ZRc3dTbjPlUTSSeC9ddFlPXD2vA8vc,5832
4
- ulid/constants.py,sha256=N_nw4W2ciXO8C1IeuO3YK3j4_x9QW-0KyvrSQUuM-G4,241
5
- ulid/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
- python_ulid-2.4.0.dist-info/METADATA,sha256=ET_sWGfqWfhjEiThmFtNrpHet16cPGEsJe4NKVOgKbU,5570
7
- python_ulid-2.4.0.dist-info/WHEEL,sha256=uNdcs2TADwSd5pVaP0Z_kcjcvvTUklh2S7bxZMF8Uj0,87
8
- python_ulid-2.4.0.dist-info/entry_points.txt,sha256=9214ghzfSgS8a-TjjlWDF7bI7KSaeewOCBKn5uz7bdU,50
9
- python_ulid-2.4.0.dist-info/licenses/LICENSE,sha256=DiDPNhW5yUHIqaKowvX0c1c9xWiI0xW4ji8R9N2NJbw,1056
10
- python_ulid-2.4.0.dist-info/RECORD,,