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
Metadata
Release files for grainsy 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| grainsy-1.0.2.tar.gz | 1.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| grainsy-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.8 kB
Release files / grainsy-1.0.2.tar.gz
| Download URL | grainsy-1.0.2.tar.gz |
|---|---|
| Size | 1.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f202cbd3f6add6c931b4459d2545550a351942306ec5ea2c02129c8e90b5d904
|
|
BLAKE2b-256 checksum How to use checksums |
8a1d0816a2612c9f26a88fa4e4a536a8548483428cb938c896a8c61588486fba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.3
|
Release files / grainsy-1.0.2-py3-none-any.whl
| Download URL | grainsy-1.0.2-py3-none-any.whl |
|---|---|
| Size | 2.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5ad17a750f31d3e087f0c7fad3e4e06df219d222c4092360352152c80c4ac413
|
|
BLAKE2b-256 checksum How to use checksums |
18181703fe6ba337cbc18b125692ed04633e9e91166dfb061415ad7dfa21109b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.3
|