Skip to content

Commit e647035

Browse files
authored
Draft -> Proposed RFC 9562 (#158)
1 parent 7b1b69f commit e647035

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ New time-based UUID formats which are suited for use as a database key.
77
[![Python versions supported](https://img.shields.io/pypi/pyversions/uuid6.svg?logo=python)](https://pypi.org/project/uuid6/)
88
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
99

10-
This module extends immutable UUID objects (the UUID class) with the functions `uuid6()`, `uuid7()`, and `uuid8()` from [the IETF draft][draft repository].
10+
This module extends immutable UUID objects (the UUID class) with the functions `uuid6()`, `uuid7()`, and `uuid8()` from the proposed [IETF RFC 9562][rfc9562].
1111

1212
## Install
1313

@@ -156,6 +156,6 @@ Mean +- std dev: 1.78 us +- 0.02 us
156156
+-----------+--------+-----------------------+-----------------------+-----------------------+-----------------------+
157157
```
158158

159-
[draft repository]: https://github.com/ietf-wg-uuidrev/rfc4122bis
159+
[rfc9562]: https://datatracker.ietf.org/doc/rfc9562/
160160
[python randbits]: https://docs.python.org/3/library/secrets.html#secrets.randbits
161161
[bench]: https://github.com/oittaa/uuid6-python/blob/main/bench.sh

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"uuidv8",
4040
],
4141
classifiers=[
42-
"Development Status :: 3 - Alpha",
42+
"Development Status :: 4 - Beta",
4343
"Intended Audience :: Developers",
4444
"License :: OSI Approved :: MIT License",
4545
"Operating System :: OS Independent",

src/uuid6/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
r"""UUID draft version objects (universally unique identifiers).
1+
r"""UUID objects (universally unique identifiers) according to RFC 9562.
2+
23
This module provides the functions uuid6(), uuid7(), and uuid8() for
3-
generating version 6, 7, and 8 UUIDs as specified in
4-
https://github.com/ietf-wg-uuidrev/rfc4122bis
4+
generating version 6, 7, and 8 UUIDs as specified in RFC 9562.
55
"""
66

77
import secrets
@@ -11,7 +11,7 @@
1111

1212

1313
class UUID(uuid.UUID):
14-
r"""UUID draft version objects"""
14+
r"""Instances of the UUID class represent UUIDs as specified in RFC 9562."""
1515

1616
__slots__ = ()
1717

test/test_vectors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
https://datatracker.ietf.org/doc/html/draft-ietf-uuidrev-rfc4122bis-14#appendix-A
2+
https://www.rfc-editor.org/rfc/rfc9562.html#name-test-vectors
33
44
Unix 64 bit Nanosecond Timestamp:
55
Unix NS: Tuesday, February 22, 2022 2:22:22 PM GMT-05:00

0 commit comments

Comments
 (0)