lastuuid 0.1.1__tar.gz → 0.1.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.

Potentially problematic release.


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

Files changed (27) hide show
  1. {lastuuid-0.1.1 → lastuuid-0.1.2}/.github/workflows/build-wheels.yml +2 -2
  2. lastuuid-0.1.2/CHANGELOG.md +8 -0
  3. {lastuuid-0.1.1 → lastuuid-0.1.2}/Cargo.lock +1 -1
  4. {lastuuid-0.1.1 → lastuuid-0.1.2}/Cargo.toml +1 -1
  5. {lastuuid-0.1.1 → lastuuid-0.1.2}/PKG-INFO +18 -7
  6. {lastuuid-0.1.1 → lastuuid-0.1.2}/README.md +16 -5
  7. {lastuuid-0.1.1 → lastuuid-0.1.2}/pyproject.toml +1 -1
  8. {lastuuid-0.1.1 → lastuuid-0.1.2}/uv.lock +3 -3
  9. lastuuid-0.1.1/CHANGELOG.md +0 -3
  10. {lastuuid-0.1.1 → lastuuid-0.1.2}/.github/workflows/build-sdist.yml +0 -0
  11. {lastuuid-0.1.1 → lastuuid-0.1.2}/.github/workflows/publish-pypi.yml +0 -0
  12. {lastuuid-0.1.1 → lastuuid-0.1.2}/.github/workflows/release.yml +0 -0
  13. {lastuuid-0.1.1 → lastuuid-0.1.2}/.github/workflows/tests-artifacts.yml +0 -0
  14. {lastuuid-0.1.1 → lastuuid-0.1.2}/.github/workflows/tests.yml +0 -0
  15. {lastuuid-0.1.1 → lastuuid-0.1.2}/.gitignore +0 -0
  16. {lastuuid-0.1.1 → lastuuid-0.1.2}/.python-version +0 -0
  17. {lastuuid-0.1.1 → lastuuid-0.1.2}/Justfile +0 -0
  18. {lastuuid-0.1.1 → lastuuid-0.1.2}/lastuuid/__init__.py +0 -0
  19. {lastuuid-0.1.1 → lastuuid-0.1.2}/lastuuid/dummies.py +0 -0
  20. {lastuuid-0.1.1 → lastuuid-0.1.2}/lastuuid/lastuuid.pyi +0 -0
  21. {lastuuid-0.1.1 → lastuuid-0.1.2}/lastuuid/py.typed +0 -0
  22. {lastuuid-0.1.1 → lastuuid-0.1.2}/scripts/get_version.py +0 -0
  23. {lastuuid-0.1.1 → lastuuid-0.1.2}/scripts/write_changelog.py +0 -0
  24. {lastuuid-0.1.1 → lastuuid-0.1.2}/src/lib.rs +0 -0
  25. {lastuuid-0.1.1 → lastuuid-0.1.2}/tests/__init__.py +0 -0
  26. {lastuuid-0.1.1 → lastuuid-0.1.2}/tests/test_dummies.py +0 -0
  27. {lastuuid-0.1.1 → lastuuid-0.1.2}/tests/test_uuid7.py +0 -0
@@ -75,11 +75,11 @@ jobs:
75
75
 
76
76
  - os: windows
77
77
  target: x86_64
78
- interpreter: 3.11 3.12 3.13
78
+ interpreter: 3.10 3.11 3.12 3.13
79
79
  - os: windows
80
80
  target: i686
81
81
  python-architecture: x86
82
- interpreter: 3.11 3.12 3.13
82
+ interpreter: 3.10 3.11 3.12 3.13
83
83
  exclude:
84
84
  # Exclude failed build
85
85
  - os: windows
@@ -0,0 +1,8 @@
1
+ ## 0.1.2 - 2024-12-14
2
+
3
+ * Build library for windows / python 3.10 for x64 and i686 architecture
4
+ * Update readme
5
+
6
+ ## 0.1.1 - 2024-11-10
7
+
8
+ * Initial release
@@ -51,7 +51,7 @@ checksum = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5"
51
51
 
52
52
  [[package]]
53
53
  name = "lastuuid"
54
- version = "0.1.1"
54
+ version = "0.1.2"
55
55
  dependencies = [
56
56
  "pyo3",
57
57
  "uuid7",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "lastuuid"
3
- version = "0.1.1"
3
+ version = "0.1.2"
4
4
  authors = ["Guillaume Gauvrit <guillaume@gauvr.it>"]
5
5
  edition = "2021"
6
6
  description = "Yest another UUID library."
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.3
1
+ Metadata-Version: 2.4
2
2
  Name: lastuuid
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Classifier: License :: OSI Approved :: MIT License
5
5
  Classifier: Programming Language :: Python :: 3
6
6
  Classifier: Programming Language :: Rust
@@ -22,6 +22,8 @@ Project-URL: Changelog, https://github.com/mardiros/lastuuid/blob/main/CHANGELOG
22
22
  UUID type is awesome, but, at the moment, the UUID type in the standard library
23
23
  does not support the uuid7 format.
24
24
 
25
+ This is where lastuuid library is usefull.
26
+
25
27
  ## Usage
26
28
 
27
29
  ### UUID7
@@ -65,9 +67,15 @@ $ python -m timeit "from uuid import uuid4; uuid4()"
65
67
  200000 loops, best of 5: 1.82 usec per loop
66
68
  ```
67
69
 
68
- ### Testing with uuid without brain
70
+ ### Testing with uuid without a brain
71
+
72
+ The uuidgen method is not made for production code, it is not suited to be
73
+ fast, it is here to generate uuid has autoincrement or as redictable ids,
74
+ because UUID are made to create an identifier before it's saved into a
75
+ database.
76
+
69
77
 
70
- Autoincrement your uuid in a test suite avoid some brain pain.
78
+ Autoincrement your uuid in a test suite avoid some brain pain:
71
79
 
72
80
  ```python
73
81
  >>> from lastuuid.dummies import uuidgen
@@ -77,14 +85,17 @@ UUID('00000000-0000-0000-0000-000000000001')
77
85
  UUID('00000000-0000-0000-0000-000000000002')
78
86
  ```
79
87
 
80
- Or event more readable;
81
- UUID predicted, where only the first bytes needs to be read.
88
+ Or even more usefull:
89
+
90
+ UUID predicted, where only the first bunch of bytes needs to be read; or a few,
91
+ to arrange some object ids.
92
+
82
93
 
83
94
  ```python
84
95
  >>> from lastuuid.dummies import uuidgen
85
96
  >>> uuidgen(1)
86
97
  UUID('00000001-0000-0000-0000-000000000000')
87
- >>> uuidgen(1,2,3,4,5)
98
+ >>> uuidgen(1, 2, 3, 4, 5)
88
99
  UUID('00000001-0002-0003-0004-000000000005')
89
100
  ```
90
101
 
@@ -3,6 +3,8 @@
3
3
  UUID type is awesome, but, at the moment, the UUID type in the standard library
4
4
  does not support the uuid7 format.
5
5
 
6
+ This is where lastuuid library is usefull.
7
+
6
8
  ## Usage
7
9
 
8
10
  ### UUID7
@@ -46,9 +48,15 @@ $ python -m timeit "from uuid import uuid4; uuid4()"
46
48
  200000 loops, best of 5: 1.82 usec per loop
47
49
  ```
48
50
 
49
- ### Testing with uuid without brain
51
+ ### Testing with uuid without a brain
52
+
53
+ The uuidgen method is not made for production code, it is not suited to be
54
+ fast, it is here to generate uuid has autoincrement or as redictable ids,
55
+ because UUID are made to create an identifier before it's saved into a
56
+ database.
57
+
50
58
 
51
- Autoincrement your uuid in a test suite avoid some brain pain.
59
+ Autoincrement your uuid in a test suite avoid some brain pain:
52
60
 
53
61
  ```python
54
62
  >>> from lastuuid.dummies import uuidgen
@@ -58,13 +66,16 @@ UUID('00000000-0000-0000-0000-000000000001')
58
66
  UUID('00000000-0000-0000-0000-000000000002')
59
67
  ```
60
68
 
61
- Or event more readable;
62
- UUID predicted, where only the first bytes needs to be read.
69
+ Or even more usefull:
70
+
71
+ UUID predicted, where only the first bunch of bytes needs to be read; or a few,
72
+ to arrange some object ids.
73
+
63
74
 
64
75
  ```python
65
76
  >>> from lastuuid.dummies import uuidgen
66
77
  >>> uuidgen(1)
67
78
  UUID('00000001-0000-0000-0000-000000000000')
68
- >>> uuidgen(1,2,3,4,5)
79
+ >>> uuidgen(1, 2, 3, 4, 5)
69
80
  UUID('00000001-0002-0003-0004-000000000005')
70
81
  ```
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "lastuuid"
3
- version = "0.1.1"
3
+ version = "0.1.2"
4
4
  description = "UUID gen for the python standard library."
5
5
  readme = "README.md"
6
6
  license = { text = "MIT License" }
@@ -43,10 +43,10 @@ wheels = [
43
43
 
44
44
  [[package]]
45
45
  name = "lastuuid"
46
- version = "0.1.1"
46
+ version = "0.1.2"
47
47
  source = { editable = "." }
48
48
 
49
- [package.dependency-groups]
49
+ [package.dev-dependencies]
50
50
  dev = [
51
51
  { name = "mypy" },
52
52
  { name = "pip" },
@@ -56,7 +56,7 @@ dev = [
56
56
 
57
57
  [package.metadata]
58
58
 
59
- [package.metadata.dependency-groups]
59
+ [package.metadata.requires-dev]
60
60
  dev = [
61
61
  { name = "mypy", specifier = ">=1.4.0,<2" },
62
62
  { name = "pip", specifier = ">=24.2" },
@@ -1,3 +0,0 @@
1
- ## 0.1.1 - 2024-11-10
2
-
3
- * Initial release
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