Silasyn UID Studio Pro - Python Client
Official, zero-dependency Python client for generating secure, customizable unique identifiers using the Silasyn UID Studio Pro API.
Features
Zero Dependencies: Built entirely on Python's native standard libraries (urllib, json, uuid, secrets, time). No need to install requests.
Automatic Offline Fallback: If the API endpoint at silasyn.com is unreachable (due to network, firewall, or DNS issues), the client automatically switches to a high-precision local generation engine to guarantee 100% uptime.
Highly Customizable: Supports UUIDv4, UUIDv7 (Time-ordered), NanoID, Hexadecimal, Pure Numeric, and Custom pools with prefixes, suffixes, custom casings, and formatting.
Installation
Install the package from PyPI:
pip install silasyn-uid
Quick Start
from silasyn_uid import UIDStudio
# 1. Generate standard UUIDv4
uuids = UIDStudio.uuid4(count=2)
print(uuids)
# 2. Generate Time-ordered UUIDv7
uuid7s = UIDStudio.uuid7(count=1)
print(uuid7s)
# 3. Generate NanoIDs with a prefix
nanoids = UIDStudio.nanoid(count=3, length=12, prefix="user_")
print(nanoids)
# 4. Generate custom hexadecimal keys
custom_keys = UIDStudio.custom(pool="ABCDEF1234567890", count=2, length=16, hyphens=True)
print(custom_keys)
Configuration Parameters
The core generate method accepts the following arguments:
Parameter
Type
Default
Description
format_type
str
"uuid4"
Options: "uuid4", "uuid7", "nanoid", "hex", "numeric", "custom"
count
int
1
Number of identifiers to generate (Max: 5000)
length
int
21
Overall length of generated string (ignored for UUIDs)
prefix
str
""
Optional string to prepend
suffix
str
""
Optional string to append
hyphens
bool
True
Group characters into blocks separated by hyphens
casing
str
"mixed"
Set character case: "mixed", "lower", "upper"
custom_pool
str
""
Alphanumeric pool used only when format_type="custom"
License
Copyright © 2026 Silasyn. All rights reserved.
Distributed under the MIT License. See LICENSE for details.
Metadata
Release files for silasyn-uid 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| silasyn_uid-1.0.0.tar.gz | 4.9 kB | Without provenance | Details for silasyn_uid-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| silasyn_uid-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for silasyn_uid-1.0.0-py3-none-any.whl |
Total release size: 10.4 kB
Release files / silasyn_uid-1.0.0.tar.gz
| Download URL | silasyn_uid-1.0.0.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c6d5a31e3b822c7d14f718a939a672aa1f832ddc035911612780d3f6b89c1d1b
|
|
BLAKE2b-256 checksum How to use checksums |
e1a4257c627e8f3360fd0bca78f2821314a40c97e424cb1fd4eb6bc57911ee1e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Release files / silasyn_uid-1.0.0-py3-none-any.whl
| Download URL | silasyn_uid-1.0.0-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a820c4afa810c77ae0725b2a74e9d2bd10545e803879a27a23b3294cfc791905
|
|
BLAKE2b-256 checksum How to use checksums |
5e48c4dd125eb01ffc4678aa29e657c4851ac4544e4466f7dbc138d920c88ec9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Security for silasyn-uid 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.