fastrand 3.0.6__cp38-cp38-macosx_10_9_universal2.whl → 3.0.7__cp38-cp38-macosx_10_9_universal2.whl
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.
Potentially problematic release.
This version of fastrand might be problematic. Click here for more details.
- {fastrand-3.0.6.dist-info → fastrand-3.0.7.dist-info}/METADATA +48 -13
- fastrand-3.0.7.dist-info/RECORD +6 -0
- {fastrand-3.0.6.dist-info → fastrand-3.0.7.dist-info}/WHEEL +1 -1
- fastrand-3.0.7.dist-info/top_level.txt +2 -0
- fastrand.cpython-38-darwin.so +0 -0
- fastrand-3.0.6.dist-info/RECORD +0 -6
- fastrand-3.0.6.dist-info/top_level.txt +0 -1
- {fastrand-3.0.6.dist-info → fastrand-3.0.7.dist-info}/LICENSE +0 -0
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: fastrand
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.7
|
|
4
4
|
Summary: Fast random number generation in Python
|
|
5
|
-
Author: Daniel Lemire
|
|
6
|
-
|
|
5
|
+
Author-email: Daniel Lemire <daniel@lemire.me>
|
|
6
|
+
License: Apache-2.0
|
|
7
|
+
Project-URL: Homepage, https://github.com/lemire/fastrand
|
|
8
|
+
Project-URL: Repository, https://github.com/lemire/fastrand
|
|
9
|
+
Project-URL: Issues, https://github.com/lemire/fastrand/issues
|
|
10
|
+
Keywords: random,random-number-generator,pcg,xorshift,performance
|
|
11
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: Intended Audience :: Science/Research
|
|
14
|
+
Classifier: Programming Language :: C
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
22
|
+
Classifier: Topic :: Scientific/Engineering
|
|
23
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
24
|
+
Requires-Python: >=3.8
|
|
7
25
|
Description-Content-Type: text/markdown
|
|
8
26
|
License-File: LICENSE
|
|
9
27
|
|
|
@@ -66,36 +84,53 @@ The pcg32 generator is a 32-bit generator so it generates values in the interval
|
|
|
66
84
|
The xorshift128+ generator is a 64-bit generator so that it can generate values in a 64-bit range (up to `2**64-1`).
|
|
67
85
|
|
|
68
86
|
|
|
87
|
+
## Installation
|
|
88
|
+
|
|
69
89
|
If you have Linux, macOS or Windows, you should be able to do just pip install...
|
|
70
90
|
|
|
71
|
-
```
|
|
91
|
+
```bash
|
|
72
92
|
pip install fastrand
|
|
73
93
|
```
|
|
74
94
|
|
|
75
95
|
You may need root access (sudo on macOS and Linux).
|
|
76
96
|
|
|
77
|
-
It is sometimes useful to install a specific version, you can do so as follows
|
|
97
|
+
It is sometimes useful to install a specific version, you can do so as follows:
|
|
78
98
|
|
|
79
|
-
```
|
|
99
|
+
```bash
|
|
80
100
|
pip install fastrand==1.2.4
|
|
81
101
|
```
|
|
82
102
|
|
|
103
|
+
### Using uv (recommended)
|
|
104
|
+
|
|
105
|
+
[uv](https://github.com/astral-sh/uv) is a fast Python package installer and resolver.
|
|
106
|
+
|
|
107
|
+
To add fastrand as a dependency to your project:
|
|
83
108
|
|
|
109
|
+
```bash
|
|
110
|
+
uv add fastrand
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
Or to install it directly into your current environment:
|
|
114
|
+
|
|
115
|
+
```bash
|
|
116
|
+
uv pip install fastrand
|
|
117
|
+
```
|
|
84
118
|
|
|
85
|
-
|
|
119
|
+
### Building from source
|
|
86
120
|
|
|
121
|
+
With uv:
|
|
87
122
|
|
|
88
123
|
```bash
|
|
89
|
-
|
|
90
|
-
|
|
124
|
+
uv build
|
|
125
|
+
uv pip install dist/*.whl
|
|
91
126
|
```
|
|
92
127
|
|
|
93
|
-
|
|
128
|
+
Or with standard tools:
|
|
94
129
|
|
|
95
130
|
```bash
|
|
96
|
-
|
|
97
|
-
python
|
|
98
|
-
|
|
131
|
+
pip install build
|
|
132
|
+
python -m build
|
|
133
|
+
pip install dist/*.whl
|
|
99
134
|
```
|
|
100
135
|
|
|
101
136
|
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
fastrand.cpython-38-darwin.so,sha256=k3iQOfZLCIDYfERb9BuWAYkRUXvwEkZUu59aKt7tRs0,85312
|
|
2
|
+
fastrand-3.0.7.dist-info/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
|
|
3
|
+
fastrand-3.0.7.dist-info/METADATA,sha256=VPHHRYtv-5jM_L9-vOdT5GYDohnY0imPIaV-yCElvkg,4917
|
|
4
|
+
fastrand-3.0.7.dist-info/WHEEL,sha256=WSC5vw88KFdc7PZTZHSa_uVa_pn3BLiNkYp0y_C2kkQ,112
|
|
5
|
+
fastrand-3.0.7.dist-info/top_level.txt,sha256=hP1UU0jrDjL5G11OfRmlRKfqliLNNwcD51wtEzKsIlU,20
|
|
6
|
+
fastrand-3.0.7.dist-info/RECORD,,
|
fastrand.cpython-38-darwin.so
CHANGED
|
Binary file
|
fastrand-3.0.6.dist-info/RECORD
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
fastrand.cpython-38-darwin.so,sha256=HSEZadFeDDLPFPJKgVeZQ4vA8nt4FghVLh8oR_nYE0s,85288
|
|
2
|
-
fastrand-3.0.6.dist-info/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
|
|
3
|
-
fastrand-3.0.6.dist-info/METADATA,sha256=NDprKtBDwdzFbElqQdM19erv6BE2bfs0SahcrSXwUVY,3751
|
|
4
|
-
fastrand-3.0.6.dist-info/WHEEL,sha256=264wYrvpw6D6iyDyAthieIVrz0stKEiGPrYmrYNTIco,113
|
|
5
|
-
fastrand-3.0.6.dist-info/top_level.txt,sha256=Z3tGZhQlNI6bOnJeYeHyE5sSKqud1hxYNfa7SX5Bm4U,9
|
|
6
|
-
fastrand-3.0.6.dist-info/RECORD,,
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
fastrand
|
|
File without changes
|