fastrand 3.0.6__cp310-cp310-macosx_10_9_universal2.whl → 3.0.7__cp310-cp310-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.

@@ -1,11 +1,30 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: fastrand
3
- Version: 3.0.6
3
+ Version: 3.0.7
4
4
  Summary: Fast random number generation in Python
5
- Author: Daniel Lemire
6
- Author-email: daniel@lemire.me
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
27
+ Dynamic: license-file
9
28
 
10
29
  # fastrand
11
30
 
@@ -66,36 +85,53 @@ The pcg32 generator is a 32-bit generator so it generates values in the interval
66
85
  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
86
 
68
87
 
88
+ ## Installation
89
+
69
90
  If you have Linux, macOS or Windows, you should be able to do just pip install...
70
91
 
71
- ```
92
+ ```bash
72
93
  pip install fastrand
73
94
  ```
74
95
 
75
96
  You may need root access (sudo on macOS and Linux).
76
97
 
77
- It is sometimes useful to install a specific version, you can do so as follows;
98
+ It is sometimes useful to install a specific version, you can do so as follows:
78
99
 
79
- ```
100
+ ```bash
80
101
  pip install fastrand==1.2.4
81
102
  ```
82
103
 
104
+ ### Using uv (recommended)
105
+
106
+ [uv](https://github.com/astral-sh/uv) is a fast Python package installer and resolver.
107
+
108
+ To add fastrand as a dependency to your project:
83
109
 
110
+ ```bash
111
+ uv add fastrand
112
+ ```
113
+
114
+ Or to install it directly into your current environment:
115
+
116
+ ```bash
117
+ uv pip install fastrand
118
+ ```
84
119
 
85
- Generally, you can build the library as follows (if you have root):
120
+ ### Building from source
86
121
 
122
+ With uv:
87
123
 
88
124
  ```bash
89
- python setup.py build
90
- python setup.py install
125
+ uv build
126
+ uv pip install dist/*.whl
91
127
  ```
92
128
 
93
- or
129
+ Or with standard tools:
94
130
 
95
131
  ```bash
96
- python setup.py build
97
- python setup.py install --home=$HOME
98
- export PYTHONPATH=$PYTHONPATH:~/lib/python
132
+ pip install build
133
+ python -m build
134
+ pip install dist/*.whl
99
135
  ```
100
136
 
101
137
 
@@ -0,0 +1,6 @@
1
+ fastrand.cpython-310-darwin.so,sha256=wKSVFYVV85oD2Ay4uyEmPDG3F3ZAF3FGWV4DNniof-g,85312
2
+ fastrand-3.0.7.dist-info/licenses/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
3
+ fastrand-3.0.7.dist-info/METADATA,sha256=N2Oc60NdEvlGsxEO58Kca2ZD--R5M49vSJs-PvsnZzY,4939
4
+ fastrand-3.0.7.dist-info/WHEEL,sha256=8XuoKPbF6WmVUSfmuDPFsRwMXLxyxuWi93Fa-BVABOs,114
5
+ fastrand-3.0.7.dist-info/top_level.txt,sha256=hP1UU0jrDjL5G11OfRmlRKfqliLNNwcD51wtEzKsIlU,20
6
+ fastrand-3.0.7.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.37.1)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp310-cp310-macosx_10_9_universal2
5
5
 
@@ -0,0 +1,2 @@
1
+ fastrand
2
+ wheelhouse
Binary file
@@ -1,6 +0,0 @@
1
- fastrand.cpython-310-darwin.so,sha256=23gsBKXDNZdKoJXd1PoUmRAcP469AypI_OR97K_nLDU,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=paDw5fNh7GMreQFavBOb-6XLxnuKiLLe0a_WVOtTtX4,115
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