Search projects
Help Sponsors Log in Register
random2 1.0.2 Latest version
pip install random2 Released: Dec 18, 2023
Python 3 compatible Python 2 `random` Module.
Navigation Project description
Project
description
CHANGES
Release
history 1.0.2 (2023-12-18)
Download Change support to Python 3.10, 3.11, 3.12, and 3.13 only.
files
1.0.1 (2013-03-15)
Project links Fix [Link] so that an install of the package will actually work.
Homepage 1.0.0 (2013-03-06)
Initial PyPI release.
Statistics
View statistics for this Random 2
project via random2 passing pypi v1.0.2 python 3.10 | 3.11 | 3.12 | 3.13
[Link] , or by
using our public
dataset on Google This package provides a Python 3 ported version of Python 2.7’s
BigQuery random module. It has also been back-ported to work in Python 2.6.
In Python 3, the implementation of randrange() was changed, so
Meta that even with the same seed you get different sequences in Python 2
and 3. Note that several high-level functions such as randint() and
License: Python choice() use randrange() .
Software Foundation
License (Python 2.1.1) In my testing code I heavily rely on stable random generator results
Author: PSF and it makes porting code to Python 3 a lot harder, if all those tests
have to be adjusted. This package fixes that.
roman
Maintainers
srichter
Classifiers
Development Status
5-
Production/Stabl
e
Intended Audience
Developers
License
OSI Approved ::
Python Software
Foundation
License
Natural Language
English
Operating System
OS Independent
Programming
Language
Python
Python :: 3
Python :: 3.10
Python :: 3.11
Python :: 3.12
Python :: 3.13
Python ::
Implementation ::
CPython
AWS is a
Maintaining
sponsor of the
Python Software
Foundation.
PSF Sponsor · Served
ethically
Help About PyPI
Installing packages PyPI on Twitter
Uploading packages Infrastructure dashboard
User guide Statistics
Project name retention Logos & trademarks
FAQs Our sponsors
Contributing to PyPI Using PyPI
Bugs and feedback Code of conduct
Contribute on GitHub Report security issue
Translate PyPI Privacy policy
Sponsor PyPI Terms of use
Development credits Acceptable Use Policy
Status: Service Under Maintenance
Developed and maintained by the Python community, for the Python community.
Donate today!
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python
Software Foundation .
© 2024 Python Software Foundation
Site map
Switch to desktop version
English español français 日本語 português (Brasil) українська Ελληνικά Deutsch 中文 (简体)
中文 (繁體) русский עבריתesperanto
AWS Microsoft
Cloud computing
Datadog Fastly Google
and Security
Sponsor Monitoring CDN Download Analytics PSF Sponsor
Pingdom Sentry StatusPage
Monitoring Error logging Status page