Skip to main content

Returns 2 dice rolls with associated craps nickname

Project description

Craps Nicknames

Craps Nicknames is a tiny Python package that returns a randomized dice roll with it's associated craps nickname. The nicknames are based on the following chart by Vital Vegas:

Craps Nicknames Charts

Installation

Use the package manager pip to install craps-pkg.

pip install craps-pkg-sharnajh

Usage

import craps_pkg

craps_pkg.craps_roll()
# returns {
# "dice_pair": [1,2],
# "nickname": "Australian yo"
# }

craps_pkg.get_combo_name([2,2])
# returns "Ballerina"

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

craps-pkg-sharnajh-0.1.126.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

craps_pkg_sharnajh-0.1.126-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file craps-pkg-sharnajh-0.1.126.tar.gz.

File metadata

  • Download URL: craps-pkg-sharnajh-0.1.126.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.4

File hashes

Hashes for craps-pkg-sharnajh-0.1.126.tar.gz
Algorithm Hash digest
SHA256 340a180730b51ab4077d80c1571584d64ca823764ac0be11a835cce79d22c3ad
MD5 a209b61be8dcef1bb64ff81b0bcdf9c8
BLAKE2b-256 5b0d22cbee636f388b4a4359785309d7ddd38830577055058f3de959356353b6

See more details on using hashes here.

File details

Details for the file craps_pkg_sharnajh-0.1.126-py3-none-any.whl.

File metadata

  • Download URL: craps_pkg_sharnajh-0.1.126-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.4

File hashes

Hashes for craps_pkg_sharnajh-0.1.126-py3-none-any.whl
Algorithm Hash digest
SHA256 e57a2e2b9493d5b4100f5dc252575f93515359ace187e3caf0d79c177ea14527
MD5 cd3f5d4b2b6ccf5632a13af479660434
BLAKE2b-256 48475b6506803ead113baafa20de880e732dc34b7435830bde6d26e46883c8e3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page