rayid 1.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
rayid-1.0.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 RayID
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
rayid-1.0.0/PKG-INFO ADDED
@@ -0,0 +1,125 @@
1
+ Metadata-Version: 2.1
2
+ Name: rayid
3
+ Version: 1.0.0
4
+ Summary: 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!
5
+ Home-page: https://github.com/BlackIQ/rayid
6
+ Author: Amirhossein Mohammadi
7
+ Author-email: amirhosseinmohammadi1380@yahoo.com
8
+ License: MIT
9
+ Description-Content-Type: text/markdown
10
+ License-File: LICENSE
11
+
12
+ # RayID
13
+
14
+ **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!
15
+
16
+ In this instructure you will learn about how to use this package in your apps.
17
+
18
+ ## Table of content
19
+
20
+ - [Languages](#languages)
21
+ - [Installation](#installation)
22
+ - [methods](#methods)
23
+ - [Development](#development)
24
+
25
+ ## Languages
26
+
27
+ I created rayid for **JavaScript** too.
28
+
29
+ - [GitLab](https://gitlab.com/BlackIQ/rayid)
30
+ - [Npm](https://www.npmjs.com/package/rayid)
31
+
32
+ ## Installation
33
+
34
+ How to install **RayID**? To install this package, use **pip** or **pipenv**.
35
+
36
+ ```shell
37
+ $ pip3 install rayid
38
+ # Or
39
+ $ pipenv install rayid
40
+ ```
41
+
42
+ ## Config
43
+
44
+ So, import the package.
45
+
46
+ ```python
47
+ from rayid import RayID
48
+
49
+ rayid = RayID("digit")
50
+ ```
51
+
52
+ Now create your instance with what kind of rayid you want.
53
+
54
+ - digit: Numbers
55
+ - lower: Alphabet in lower case.
56
+ - upper: Alphabet in upper case.
57
+ - all: Combine of all types.
58
+
59
+ > No type means all combined togather.
60
+
61
+ ```python
62
+ rayid = RayID("digit")
63
+ ```
64
+
65
+ ## Methods
66
+
67
+ Only one method! `gen(len)`.
68
+
69
+ ### `gen(len)`
70
+
71
+ in **gen(len)** just say the length.
72
+
73
+ > There is no limit :)
74
+
75
+ ```python
76
+ id = rayid.gen(25);
77
+ print(id); # 9514992619709220193874433
78
+ ```
79
+
80
+ ## Examples
81
+
82
+ Create common instances.
83
+
84
+ ```python
85
+ all = RayID("all"); # All values
86
+ str = RayID("lower"); # Loercase generator
87
+ int = RayID("digit"); # Only int generator
88
+ ```
89
+
90
+ Now use them:
91
+
92
+ ```python
93
+ print(all.gen(10)); # Z*jVQ3c:+H
94
+ print(str.gen(10)); # ksixvpqohi
95
+ print(int.gen(10)); # 4748182066
96
+ ```
97
+
98
+ All done!
99
+
100
+ ---
101
+
102
+ ## Development
103
+
104
+ If you want to develop the package, it is so simple. just follow steps below.
105
+
106
+ - Clone the project
107
+ - Start changing!
108
+
109
+ > Before you start: **Remember the base or code are stored in `rayid/rayid.py`**. You need to edit there.
110
+
111
+ ### Cloning the project
112
+
113
+ To clone the project, you need to have git installed. Ok, now clone it same as command below.
114
+
115
+ ```shell
116
+ $ git clone https:#github.com/BlackIQ/rayid
117
+ ```
118
+
119
+ ### Changing
120
+
121
+ To change package or anything, your need a testing environment to use linked package. Just change `rayid/rayid.py`.
122
+
123
+ #### Test
124
+
125
+ Your test app is linked. Change anything in package and test it in `test.py` file.
rayid-1.0.0/README.md ADDED
@@ -0,0 +1,114 @@
1
+ # RayID
2
+
3
+ **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!
4
+
5
+ In this instructure you will learn about how to use this package in your apps.
6
+
7
+ ## Table of content
8
+
9
+ - [Languages](#languages)
10
+ - [Installation](#installation)
11
+ - [methods](#methods)
12
+ - [Development](#development)
13
+
14
+ ## Languages
15
+
16
+ I created rayid for **JavaScript** too.
17
+
18
+ - [GitLab](https://gitlab.com/BlackIQ/rayid)
19
+ - [Npm](https://www.npmjs.com/package/rayid)
20
+
21
+ ## Installation
22
+
23
+ How to install **RayID**? To install this package, use **pip** or **pipenv**.
24
+
25
+ ```shell
26
+ $ pip3 install rayid
27
+ # Or
28
+ $ pipenv install rayid
29
+ ```
30
+
31
+ ## Config
32
+
33
+ So, import the package.
34
+
35
+ ```python
36
+ from rayid import RayID
37
+
38
+ rayid = RayID("digit")
39
+ ```
40
+
41
+ Now create your instance with what kind of rayid you want.
42
+
43
+ - digit: Numbers
44
+ - lower: Alphabet in lower case.
45
+ - upper: Alphabet in upper case.
46
+ - all: Combine of all types.
47
+
48
+ > No type means all combined togather.
49
+
50
+ ```python
51
+ rayid = RayID("digit")
52
+ ```
53
+
54
+ ## Methods
55
+
56
+ Only one method! `gen(len)`.
57
+
58
+ ### `gen(len)`
59
+
60
+ in **gen(len)** just say the length.
61
+
62
+ > There is no limit :)
63
+
64
+ ```python
65
+ id = rayid.gen(25);
66
+ print(id); # 9514992619709220193874433
67
+ ```
68
+
69
+ ## Examples
70
+
71
+ Create common instances.
72
+
73
+ ```python
74
+ all = RayID("all"); # All values
75
+ str = RayID("lower"); # Loercase generator
76
+ int = RayID("digit"); # Only int generator
77
+ ```
78
+
79
+ Now use them:
80
+
81
+ ```python
82
+ print(all.gen(10)); # Z*jVQ3c:+H
83
+ print(str.gen(10)); # ksixvpqohi
84
+ print(int.gen(10)); # 4748182066
85
+ ```
86
+
87
+ All done!
88
+
89
+ ---
90
+
91
+ ## Development
92
+
93
+ If you want to develop the package, it is so simple. just follow steps below.
94
+
95
+ - Clone the project
96
+ - Start changing!
97
+
98
+ > Before you start: **Remember the base or code are stored in `rayid/rayid.py`**. You need to edit there.
99
+
100
+ ### Cloning the project
101
+
102
+ To clone the project, you need to have git installed. Ok, now clone it same as command below.
103
+
104
+ ```shell
105
+ $ git clone https:#github.com/BlackIQ/rayid
106
+ ```
107
+
108
+ ### Changing
109
+
110
+ To change package or anything, your need a testing environment to use linked package. Just change `rayid/rayid.py`.
111
+
112
+ #### Test
113
+
114
+ Your test app is linked. Change anything in package and test it in `test.py` file.
@@ -0,0 +1,125 @@
1
+ Metadata-Version: 2.1
2
+ Name: rayid
3
+ Version: 1.0.0
4
+ Summary: 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!
5
+ Home-page: https://github.com/BlackIQ/rayid
6
+ Author: Amirhossein Mohammadi
7
+ Author-email: amirhosseinmohammadi1380@yahoo.com
8
+ License: MIT
9
+ Description-Content-Type: text/markdown
10
+ License-File: LICENSE
11
+
12
+ # RayID
13
+
14
+ **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!
15
+
16
+ In this instructure you will learn about how to use this package in your apps.
17
+
18
+ ## Table of content
19
+
20
+ - [Languages](#languages)
21
+ - [Installation](#installation)
22
+ - [methods](#methods)
23
+ - [Development](#development)
24
+
25
+ ## Languages
26
+
27
+ I created rayid for **JavaScript** too.
28
+
29
+ - [GitLab](https://gitlab.com/BlackIQ/rayid)
30
+ - [Npm](https://www.npmjs.com/package/rayid)
31
+
32
+ ## Installation
33
+
34
+ How to install **RayID**? To install this package, use **pip** or **pipenv**.
35
+
36
+ ```shell
37
+ $ pip3 install rayid
38
+ # Or
39
+ $ pipenv install rayid
40
+ ```
41
+
42
+ ## Config
43
+
44
+ So, import the package.
45
+
46
+ ```python
47
+ from rayid import RayID
48
+
49
+ rayid = RayID("digit")
50
+ ```
51
+
52
+ Now create your instance with what kind of rayid you want.
53
+
54
+ - digit: Numbers
55
+ - lower: Alphabet in lower case.
56
+ - upper: Alphabet in upper case.
57
+ - all: Combine of all types.
58
+
59
+ > No type means all combined togather.
60
+
61
+ ```python
62
+ rayid = RayID("digit")
63
+ ```
64
+
65
+ ## Methods
66
+
67
+ Only one method! `gen(len)`.
68
+
69
+ ### `gen(len)`
70
+
71
+ in **gen(len)** just say the length.
72
+
73
+ > There is no limit :)
74
+
75
+ ```python
76
+ id = rayid.gen(25);
77
+ print(id); # 9514992619709220193874433
78
+ ```
79
+
80
+ ## Examples
81
+
82
+ Create common instances.
83
+
84
+ ```python
85
+ all = RayID("all"); # All values
86
+ str = RayID("lower"); # Loercase generator
87
+ int = RayID("digit"); # Only int generator
88
+ ```
89
+
90
+ Now use them:
91
+
92
+ ```python
93
+ print(all.gen(10)); # Z*jVQ3c:+H
94
+ print(str.gen(10)); # ksixvpqohi
95
+ print(int.gen(10)); # 4748182066
96
+ ```
97
+
98
+ All done!
99
+
100
+ ---
101
+
102
+ ## Development
103
+
104
+ If you want to develop the package, it is so simple. just follow steps below.
105
+
106
+ - Clone the project
107
+ - Start changing!
108
+
109
+ > Before you start: **Remember the base or code are stored in `rayid/rayid.py`**. You need to edit there.
110
+
111
+ ### Cloning the project
112
+
113
+ To clone the project, you need to have git installed. Ok, now clone it same as command below.
114
+
115
+ ```shell
116
+ $ git clone https:#github.com/BlackIQ/rayid
117
+ ```
118
+
119
+ ### Changing
120
+
121
+ To change package or anything, your need a testing environment to use linked package. Just change `rayid/rayid.py`.
122
+
123
+ #### Test
124
+
125
+ Your test app is linked. Change anything in package and test it in `test.py` file.
@@ -0,0 +1,8 @@
1
+ LICENSE
2
+ README.md
3
+ setup.cfg
4
+ setup.py
5
+ rayid.egg-info/PKG-INFO
6
+ rayid.egg-info/SOURCES.txt
7
+ rayid.egg-info/dependency_links.txt
8
+ rayid.egg-info/top_level.txt
@@ -0,0 +1 @@
1
+
rayid-1.0.0/setup.cfg ADDED
@@ -0,0 +1,7 @@
1
+ [metadata]
2
+ description-file = README.md
3
+
4
+ [egg_info]
5
+ tag_build =
6
+ tag_date = 0
7
+
rayid-1.0.0/setup.py ADDED
@@ -0,0 +1,18 @@
1
+ from setuptools import find_packages, setup
2
+
3
+ with open("README.md", "r", encoding="utf-8") as f:
4
+ long_description = f.read()
5
+
6
+ setup(
7
+ name='rayid',
8
+ version='1.0.0',
9
+ author='Amirhossein Mohammadi',
10
+ license='MIT',
11
+ author_email="amirhosseinmohammadi1380@yahoo.com",
12
+ description="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!",
13
+ long_description=long_description,
14
+ long_description_content_type="text/markdown",
15
+ url="https://github.com/BlackIQ/rayid",
16
+ packages=find_packages(),
17
+ install_requires=find_packages()
18
+ )