Skip to main content

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.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 rayid 1.1.1
File Size Uploaded Provenance Actions
rayid-1.1.1.tar.gz 4.3 kB Without provenance Details for rayid-1.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rayid 1.1.1
File Interpreter ABI Platform Actions
rayid-1.1.1-py3-none-any.whl Python 3 none any Details for rayid-1.1.1-py3-none-any.whl

Total release size: 9.0 kB

Release files / rayid-1.1.1.tar.gz

Download URL rayid-1.1.1.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
45f21c0d67a2808b1ee290aa27cbe5b66fec2f2522e9324afcc44ee10ba67487
BLAKE2b-256 checksum
How to use checksums
848a3d8875569e5796bda6cdf182b92cc25b8d5eba94ebb1f2a79bec32e831f9
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.1-py3-none-any.whl

Download URL rayid-1.1.1-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2bd339e11205f89fab236e847fa15214e380b5a3d4c3f0779618378a2ac3cbe9
BLAKE2b-256 checksum
How to use checksums
6aee1670401a33ec2c65836a46a791bb23907a2467064b9dd64d6f55fc893825
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.1

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.

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