Skip to main content

A library for generating cryptographically random UUIDs

Project description

brasser.py

A Python library for generating cryptographically random UUIDs.

Installation

$ pip install brasser

Brief

"Brasser" is a Python library that provides a function for generating cryptographically random UUIDs (Universally Unique Identifiers). UUIDs are used to uniquely identify resources, and are often used as keys in databases or as part of URLs to identify web resources. The UUIDs generated by the generate_uuid function in the "brasser" library are randomly generated using the os.urandom function, which generates random bytes using the operating system's secure random number generator. This makes the UUIDs generated by "brasser" suitable for use in security-sensitive applications where uniqueness and unpredictability are important.

Example Usage

from brasser import generate_uuid

uuid = generate_uuid()
print(uuid)  # Prints a new random UUID each time

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

brasser-1.0.5.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

brasser-1.0.5-py3-none-any.whl (3.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page