https://github.com/datadavev/noidy
NOID Generator
https://github.com/datadavev/noidy
identifier
Last synced: 4 months ago
JSON representation
NOID Generator
- Host: GitHub
- URL: https://github.com/datadavev/noidy
- Owner: datadavev
- License: mit
- Created: 2021-11-12T00:55:55.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-10-11T14:49:26.000Z (over 3 years ago)
- Last Synced: 2025-07-12T13:43:35.517Z (11 months ago)
- Topics: identifier
- Language: Python
- Homepage:
- Size: 19.5 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# README for noidy
Experimental.
Implements a NOID generator based on EZID and N2T NOID code.
Persists the generator state to JSON.
## Installation
```
git clone https://github.com/datadavev/noidy.git
poetry install
```
## Operation
```
$ noid --help
Usage: noid [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
mint Mint next sequence of identifiers for given NAAN and prefix.
```
Mint five NOIDs:
```
$ noid mint 99999 fk4 -n 5
ark:99999/fk44w2s
ark:99999/fk4159p
ark:99999/fk4wc7r
ark:99999/fk4rp4j
ark:99999/fk4mw2m
```
State is persisted to the JSON file "noid_NAAN-SHOULDER.json"