===========
Java-Random
===========
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.
Installation
============
A standard setup.py is provided.
FAQ
====
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?
http://download.oracle.com/javase/6/docs/api/java/util/Random.html, until
Oracle removes it.
...This is for Minecraft, isn't it?
No comment.
Raw data
{
"_id": null,
"home_page": "http://github.com/MostAwesomeDude/java-random",
"name": "java-random",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "Corbin Simpson",
"author_email": "MostAwesomeDude@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/df/cf/4627b9a6c53b3ce03656e4d6c44233968da837812677351facf6a2e28f3f/java-random-1.0.tar.gz",
"platform": "UNKNOWN",
"description": "===========\nJava-Random\n===========\n\nJava-Random is a simple implementation of Java's standard java.util.Random\nclass in Python. Java's random number generation algorithm is exceedingly\nstraightforward to reimplement in other languages, and this is simply an\nimplementation for Python.\n\nInstallation\n============\n\nA standard setup.py is provided.\n\nFAQ\n====\n\nWhy would you do this?\n I needed this particular generator available in another program, and this was\n the quickest, simplest way to achieve that goal.\n\nWhat's wrong with Python's random module?\n Nothing. In fact, Python's random module is far superior to this module in a\n number of respects, including predictability, speed, robustness, and\n features. If you're looking for good random number generation in Python, just\n use random instead.\n\nYour code sucks.\n That's not a question. Also, feel free to blame the Java specification for\n that, as they have a very specific way of doing things and I felt that trying\n to spice up my code might lead to some unobvious and unfun bugs.\n\nWhere is the official Java specification for this, anyway?\n http://download.oracle.com/javase/6/docs/api/java/util/Random.html, until\n Oracle removes it.\n\n...This is for Minecraft, isn't it?\n No comment.",
"bugtrack_url": null,
"license": "UNKNOWN",
"summary": "Implementation of Java's Random",
"version": "1.0",
"project_urls": {
"Download": "UNKNOWN",
"Homepage": "http://github.com/MostAwesomeDude/java-random"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "dfcf4627b9a6c53b3ce03656e4d6c44233968da837812677351facf6a2e28f3f",
"md5": "5ba543de33dc0e6ad7df3c9c05453792",
"sha256": "26f5643315a06ea0c04fdc37028e423f4f2bdd59c2525b5c728ebd0d3282bd4c"
},
"downloads": -1,
"filename": "java-random-1.0.tar.gz",
"has_sig": false,
"md5_digest": "5ba543de33dc0e6ad7df3c9c05453792",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3443,
"upload_time": "2010-11-06T01:27:42",
"upload_time_iso_8601": "2010-11-06T01:27:42.964405Z",
"url": "https://files.pythonhosted.org/packages/df/cf/4627b9a6c53b3ce03656e4d6c44233968da837812677351facf6a2e28f3f/java-random-1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2010-11-06 01:27:42",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "MostAwesomeDude",
"github_project": "java-random",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "java-random"
}