Skip to main content

serp-uuid

uuid4() for Serpentine ([R] runtime-backed): native builds draw 16 bytes from the OS CSPRNG (BCryptGenRandom on Windows, /dev/urandom elsewhere) and format an RFC 4122 version-4 UUID; under CPython this package delegates to stdlib uuid.

API

  • uuid4() -> UUID — a random version-4 UUID, e.g. "f47ac10b-58cc-4372-a567-0e02b2c3d479".
  • UUID(text) — parse and normalize. Dashed, bare 32-hex, brace-wrapped and urn:uuid:-prefixed spellings are all accepted (any case); anything else raises ValueError("badly formed hexadecimal UUID string").
  • parse(text) — an alias for UUID(text).
  • str(u) / u.hex / u.urn / u.version / u.variant.

Caps: only version-4 generation, and no .int / .bytes / .fields (a 128-bit int does not fit int64). UUID(bytes=...) / UUID(fields=...) keyword forms are absent.

Install

serp add serp-uuid
pip install serp-uuid

Metadata

Release files for serp-uuid 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for serp-uuid 0.2.0
File Size Uploaded
serp_uuid-0.2.0.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for serp-uuid 0.2.0
File Interpreter ABI Platform
serp_uuid-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.0 kB

Release files / serp_uuid-0.2.0.tar.gz

Download URL serp_uuid-0.2.0.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a433c61f4394fa16f0470dbcf5b32e292a4f20a8a8a9f8c353aa02dfef40b5ad
BLAKE2b-256 checksum
How to use checksums
00bbe7c411d9f52a94bd101c60c45726e9c33a0baa3eae9a797b959d1b44d1e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.

Transparency log

Release files / serp_uuid-0.2.0-py3-none-any.whl

Download URL serp_uuid-0.2.0-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
416317bf19c43cdc1abe99a62a8337a6a34df30acfd9092f9830e6127dba8800
BLAKE2b-256 checksum
How to use checksums
83016b1341a560c77ef591743ad2cf280f7503506d38bd9835a2c5fb01d7e0ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page