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.0

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

Built distribution (wheel)

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

Total release size: 9.3 kB

Release files / rayid-1.1.0.tar.gz

Download URL rayid-1.1.0.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f21c8ad541e19cced5030a2e48ef903f411431b3592276eb186207ce868b36ee
BLAKE2b-256 checksum
How to use checksums
fd9b143f2ba599a57ea30d4bb4c93c314914a50cca2adb12b8313a49fd81527b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / rayid-1.1.0-py3-none-any.whl

Download URL rayid-1.1.0-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c7dedc923d21e0385f8fcc9c90188b86a4703346f224a823304430e7c47caca8
BLAKE2b-256 checksum
How to use checksums
450d185e0a1b1465f7824de969440ec156208bad2af3ed7cff52dd8d2b29431b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Security for rayid 1.1.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.

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