RayID
RayID is a generated code that we use to track logs, posts or events. You can generate your own rayid, but we made your job easier!
In this instructure you will learn about how to use this package in your apps.
Table of content
Languages
I created rayid for JavaScript too.
Installation
How to install RayID? To install this package, use pip or pipenv.
$ pip3 install rayid
# Or
$ pipenv install rayid
Config
So, import the package.
from rayid import RayID
rayid = RayID("digit")
Now create your instance with what kind of rayid you want.
- digit: Numbers
- lower: Alphabet in lower case.
- upper: Alphabet in upper case.
- all: Combine of all types.
No type means all combined togather.
rayid = RayID("digit")
Methods
Only one method! gen(len).
gen(len)
in gen(len) just say the length.
There is no limit :)
id = rayid.gen(25);
print(id); # 9514992619709220193874433
Examples
Create common instances.
all = RayID("all"); # All values
str = RayID("lower"); # Loercase generator
int = RayID("digit"); # Only int generator
Now use them:
print(all.gen(10)); # Z*jVQ3c:+H
print(str.gen(10)); # ksixvpqohi
print(int.gen(10)); # 4748182066
All done!
Development
If you want to develop the package, it is so simple. just follow steps below.
- Clone the project
- Start changing!
Before you start: Remember the base or code are stored in
rayid/rayid.py. You need to edit there.
Cloning the project
To clone the project, you need to have git installed. Ok, now clone it same as command below.
$ git clone https:#github.com/BlackIQ/rayid
Changing
To change package or anything, your need a testing environment to use linked package. Just change rayid/rayid.py.
Test
Your test app is linked. Change anything in package and test it in test.py file.
Metadata
Release files for rayid 1.1.2
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 |
|---|---|---|---|---|
| rayid-1.1.2.tar.gz | 4.3 kB | Without provenance | Details for rayid-1.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rayid-1.1.2-py3-none-any.whl | Python 3 | none | any | Details for rayid-1.1.2-py3-none-any.whl |
Total release size: 9.0 kB
Release files / rayid-1.1.2.tar.gz
| Download URL | rayid-1.1.2.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
813eceb89fdc77b18f3092bda951c73880e5f6baf1b92ec209a8c1ec8f1c24a2
|
|
BLAKE2b-256 checksum How to use checksums |
db6613be46de80fea20c11085a9ac5a0b3f77d071b533e27094e995450ad6334
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / rayid-1.1.2-py3-none-any.whl
| Download URL | rayid-1.1.2-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8fffb2a30491165be71c6562a837fb884b5efd0391c966a75b3c956b24cc6c59
|
|
BLAKE2b-256 checksum How to use checksums |
9c8745776907807a688abb4fee2eebe3a2fb3c6e4256c991aa77a1a8fc95ab60
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for rayid 1.1.2
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.