Skip to main content

Collection of Python modules for generating unique identifiers.

Installation

pip install kis-uid-generator-utils

Usage

Example Python script:

from kis_uid_generator_utils import constants
from kis_uid_generator_utils.generator import Generator

config_file = constants.DEFAULT_CONFIG_FILE

# Example usage
if __name__ == "__main__":
    generator = Generator(config_file=config_file)

    # Generate some example IDs
    print(generator.generate_id("gene"))  # e.g., "GN-5f8b3a2e-20250304"
    print(generator.generate_id("protein", "BRCA1"))  # e.g., "PR-BRCA1-7a9c2d1f-20250304"
    print(generator.generate_id("variant"))  # e.g., "VR-8b3e4f5a-20250304"

Invocation:

python example.py
GN-192f63b6-20250305
PR-BRCA1-0ed3e01b-20250305
VR-6e2bf02e-20250305

Metadata

Release files for kis-uid-generator-utils 0.1.1

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

Source distribution (sdist)

Source distribution for kis-uid-generator-utils 0.1.1
File Size Uploaded
kis_uid_generator_utils-0.1.1.tar.gz 13.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for kis-uid-generator-utils 0.1.1
File Interpreter ABI Platform
kis_uid_generator_utils-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 23.0 kB

Release files / kis_uid_generator_utils-0.1.1.tar.gz

Download URL kis_uid_generator_utils-0.1.1.tar.gz
Size 13.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7ea19cdf211dfcdd19fde0083903cdfb59cd8c51b2697f9e1a2780ddb099aaac
BLAKE2b-256 checksum
How to use checksums
9ef7fe0bb4201a809daac5f8b8cd6c1208ff09c4d1c9b563822544ed76068dfa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.12

Release files / kis_uid_generator_utils-0.1.1-py3-none-any.whl

Download URL kis_uid_generator_utils-0.1.1-py3-none-any.whl
Size 9.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
83d2fd05a4971e93a54c187f058ac353c1a29d279baa25dc65bdefe04b1d1d66
BLAKE2b-256 checksum
How to use checksums
68383f44e6c9bf381f54d1c872b226fc049526c43e7d3641ca7560d530724aae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.1.1 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