times-table
A utility to print a nicely formatted n-by-n times-table for any base from two to sixty-two.
optional arguments:
--base N, -b N The base of the number system. Base must be in range [2, 62]. (default=10).
--size N, -n N The largest number in the table. Must be greater than 1. (default=13).
--primes only print out the multiplication table for prime numbers
--limit MAX Limit printing the table to numbers of length MAX-digits or less
Installing times-table
python3 -m pip install timesTable
If you already have times-table installed, upgrade to newer versions like this:
python3 -m pip install timesTable --upgrade
It's recommended to install into a local venv, or if installing systemwide
as the super-user to make a venv in /usr/local/venv, and install it there.
For some helpful hints about how to do this see the
addendum
in the lsseq repo.
Testing times-table
Running times-table on the command line should show you this.
$ times-table
* | 2 3 4 5 6 7 8 9 10 11 12 13
----+-------------------------------------------------------------
2 | 4* 6 8 10 12 14 16 18 20 22 24 26
3 | 6 9* 12 15 18 21 24 27 30 33 36 39
4 | 8 12 16* 20 24 28 32 36 40 44 48 52
5 | 10 15 20 25* 30 35 40 45 50 55 60 65
6 | 12 18 24 30 36* 42 48 54 60 66 72 78
7 | 14 21 28 35 42 49* 56 63 70 77 84 91
8 | 16 24 32 40 48 56 64* 72 80 88 96 104
9 | 18 27 36 45 54 63 72 81* 90 99 108 117
10 | 20 30 40 50 60 70 80 90 100* 110 120 130
11 | 22 33 44 55 66 77 88 99 110 121* 132 143
12 | 24 36 48 60 72 84 96 108 120 132 144* 156
13 | 26 39 52 65 78 91 104 117 130 143 156 169*
Now you can play with the various options. Enjoy!
Metadata
Release files for timesTable 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| timestable-2.0.0.tar.gz | 5.6 kB | Without provenance | Details for timestable-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| timesTable-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for timesTable-2.0.0-py3-none-any.whl |
Total release size: 12.5 kB
Release files / timestable-2.0.0.tar.gz
| Download URL | timestable-2.0.0.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
38019a7d085d0e12ecd189ceaf76eebf0d562aa3a1c8aa619af9604fb09cf14d
|
|
BLAKE2b-256 checksum How to use checksums |
df78a4bb5e278b4e9e6e3b4496e7f861aded907bedd3ee97a5371db22f0b18ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.20
|
Release files / timesTable-2.0.0-py3-none-any.whl
| Download URL | timesTable-2.0.0-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
68b4852db25547294d9df228513b48826886d122cd917fe2e917d09f3bf3b00c
|
|
BLAKE2b-256 checksum How to use checksums |
48843a51f8ab5d6261d13f3f139c8a26462db13f0736dcd098dd01d6426a50c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.20
|
Security for timesTable 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.