Skip to main content

Library for calculating grains on a chessboard

Project description

Grains Library

This library provides functions to calculate the number of grains on a chessboard.


Install Locally

Run the following command in the terminal to install your library locally for testing:

pip install .

Usage

Here is an example of how to use this library:

from grains import square, total

print(square(5))  # Grains on square 5
print(total())    # Total grains on chessboard

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

grainsy-1.0.1.tar.gz (1.4 kB view details)

Uploaded Source

Built Distribution

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

grainsy-1.0.1-py3-none-any.whl (1.3 kB view details)

Uploaded Python 3

File details

Details for the file grainsy-1.0.1.tar.gz.

File metadata

  • Download URL: grainsy-1.0.1.tar.gz
  • Upload date:
  • Size: 1.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.3

File hashes

Hashes for grainsy-1.0.1.tar.gz
Algorithm Hash digest
SHA256 79e367b300fad7a907378073a92019a40cd5bdf854fb5788ff7cbc9bff701f27
MD5 d70b9e06eb08c320ea9c79240a86176e
BLAKE2b-256 69ae24cfc41f2956e65dc92d5e263efff12d6bac27bb79996003fffdcbe3ece7

See more details on using hashes here.

File details

Details for the file grainsy-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: grainsy-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 1.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.3

File hashes

Hashes for grainsy-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b27c0f21374f19438bc82ec7c245cf1309ad417b8b4687a80192159d16f2cc3e
MD5 7f0f38db0726f5e34a86823d2e78232f
BLAKE2b-256 4c2c683130c687c689c5b400a9dad7b850b882e87cb11a2ca2e5049573ef33ad

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