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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file brasser-1.0.5.tar.gz.

File metadata

  • Download URL: brasser-1.0.5.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for brasser-1.0.5.tar.gz
Algorithm Hash digest
SHA256 7d4d25a14b19de1d3b6c59b2c0c6c19983f9e0dd2d66f333c29f4778614f7c6e
MD5 74719e73f3fc6e1adc075a1f698b5472
BLAKE2b-256 b77f1a50e99ebbbba2d57407a6d8089e99abf886a25b245611230729cb3695d1

See more details on using hashes here.

File details

Details for the file brasser-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: brasser-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for brasser-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0e773749277171a2251a4b69f3cc5f4f9ef650e56c446420cdb77159a8c57250
MD5 ec9c73a0c49bd6f7d6794c3d84d80123
BLAKE2b-256 67d5397704cca8d68379a3183f3fea6cd26a84772a5fd31c875e62d209ccade4

See more details on using hashes here.

Supported by

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