This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Java-Random is a simple implementation of Java’s standard java.util.Random class in Python. Java’s random number generation algorithm is exceedingly straightforward to reimplement in other languages, and this is simply an implementation for Python.


A standard is provided.


Why would you do this?
I needed this particular generator available in another program, and this was the quickest, simplest way to achieve that goal.
What’s wrong with Python’s random module?
Nothing. In fact, Python’s random module is far superior to this module in a number of respects, including predictability, speed, robustness, and features. If you’re looking for good random number generation in Python, just use random instead.
Your code sucks.
That’s not a question. Also, feel free to blame the Java specification for that, as they have a very specific way of doing things and I felt that trying to spice up my code might lead to some unobvious and unfun bugs.
Where is the official Java specification for this, anyway?, until Oracle removes it.
…This is for Minecraft, isn’t it?
No comment.
Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
java-random-1.0.tar.gz (3.4 kB) Copy SHA256 Checksum SHA256 Source Nov 6, 2010

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting