From 442ce7c5fecdb9bb260a139ad7fb52d06116f804 Mon Sep 17 00:00:00 2001 From: bossOfCode <95505913+bossOfCode@users.noreply.github.com> Date: Mon, 2 Sep 2024 14:16:34 +0000 Subject: [PATCH] push again --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ba8b932..cf78849 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,27 @@ # Generate UUID + Generates a random UUID using the `uuid` module in python. [![test](https://github.com/bossOfCode/generate-uuid/actions/workflows/manual.yml/badge.svg)](https://github.com/bossOfCode/generate-uuid/actions/workflows/manual.yml) [![test2](https://github.com/bossOfCode/generate-uuid/actions/workflows/manual2.yml/badge.svg)](https://github.com/bossOfCode/generate-uuid/actions/workflows/manual2.yml) ## Inputs + * `version` - REQIURED - Version of UUID to generate. Versions are 1, 3, 4, and 5. + > Note: Version 1 may pose a safety risk because it uses your network info. + * `namespace` - optional - namespace of the UUID. Can be DNS, URL, OID, or X500. + * `name` - optional - string that will be used to create the UUID. ## Outputs + * `uuid` - The generated UUID * `safe` - The safeness of the UUID. `safe` means the UUID was generated by the platform in a multiprocessing-safe way, `unsafe` means the UUID was not generated in a multiprocessing-safe way, and `unknown` means the platform did not provide information on whether the UUID was generated safely or not. Source: [[1]](https://docs.python.org/3/library/uuid.html#uuid.SafeUUID) ## Usage + ```yaml - uses: actions/checkout@v4.1.7 - uses: actions/setup-python@v5.1.1 @@ -24,5 +31,3 @@ Generates a random UUID using the `uuid` module in python. with: - version: 5 #v1, 3, 4, snd 5 are avaliable ``` -

-