Library for simulating dice, dice rolls, and stats on dice.
Project description
die
===
.. image:: https://secure.travis-ci.org/njharman/die.png
:target: https://secure.travis-ci.org/njharman/die
:alt: Build status
:scale: 200%
About
-----
die is a dice library, for RPG and Board Game games, tools, whatever.
Emphasizes flexibility over speed.
Installing
----------
via source::
python setup.py install
via pip::
pip install --upgrade die
Testing
-------
unittest prerequisites:
- pep8_
- unittest2_ (only Python < 2.7)
Author uses nose_ to run unittests, YMMV. ::
pip install --upgrade pep8 --use-mirrors
nosetests
Unittests run against the following Python versions using `Travis CI`_:
- 2.5 requires unittest2_
- 2.6 requires unittest2_
- 2.7
- 3.1
- 3.2
Using
-----
Until some docs are written have a look at ``demo.py``.
History
-------
0.2.0
Updated to modern style, pep8, tests, docs, travis-ci, more unittests.
Py3.x support.
0.1.0
Initial release.
.. _pep8: http://pypi.python.org/pypi/pep8/
.. _unittest2: http://pypi.python.org/pypi/unittest2/
.. _nose: http://pypi.python.org/pypi/nose/
.. _travis ci: http://travis-ci.org/#!/njharman/die
===
.. image:: https://secure.travis-ci.org/njharman/die.png
:target: https://secure.travis-ci.org/njharman/die
:alt: Build status
:scale: 200%
About
-----
die is a dice library, for RPG and Board Game games, tools, whatever.
Emphasizes flexibility over speed.
Installing
----------
via source::
python setup.py install
via pip::
pip install --upgrade die
Testing
-------
unittest prerequisites:
- pep8_
- unittest2_ (only Python < 2.7)
Author uses nose_ to run unittests, YMMV. ::
pip install --upgrade pep8 --use-mirrors
nosetests
Unittests run against the following Python versions using `Travis CI`_:
- 2.5 requires unittest2_
- 2.6 requires unittest2_
- 2.7
- 3.1
- 3.2
Using
-----
Until some docs are written have a look at ``demo.py``.
History
-------
0.2.0
Updated to modern style, pep8, tests, docs, travis-ci, more unittests.
Py3.x support.
0.1.0
Initial release.
.. _pep8: http://pypi.python.org/pypi/pep8/
.. _unittest2: http://pypi.python.org/pypi/unittest2/
.. _nose: http://pypi.python.org/pypi/nose/
.. _travis ci: http://travis-ci.org/#!/njharman/die
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
die-0.2.0.tar.gz
(11.7 kB
view details)
File details
Details for the file die-0.2.0.tar.gz
.
File metadata
- Download URL: die-0.2.0.tar.gz
- Upload date:
- Size: 11.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 692f399c8c41b9b65edcae37c63f7a2e13cf5a7e213f92206ff971caad06c571 |
|
MD5 | a557c94d10ef129057c2c0928f942b75 |
|
BLAKE2b-256 | 52a7c2ba9bbd846c87ff92585d48359cf66f47e1cbc9367fb46b39a5044553e1 |