Numering
Yet another number package.
-
random_float
- random float number in range of A and B
-
random_element
- random element from list
-
sizeof
- size of an element
Examples
Generating random float number
import numering
a, b = 1, 2
print(numering.random_float(a, b), decimals=3)
# 1.736
Selecting random element from list
import numering
my_list = [1, 2, 3, 4, 5]
print(numering.random_element(my_list))
# 3
Getting size of element (list, tuple, dict)
import numering
my_list = [1, 2, 3, 4, 5]
print(numering.sizeof(mylist))
# 4
Release files for numering 0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| numering-0.9.tar.gz | 2.6 kB | Details |
Release files / numering-0.9.tar.gz
| Download URL | numering-0.9.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
797cb9ed5ac0ac57062eb414dcc3a3eb7310e2e55bb7fc295be7fe5c0ad71668
|
|
BLAKE2b-256 checksum How to use checksums |
5df62a6ddd22c89ca7d5b5ffa89f60fcd326593a117b3f58eb4986867bcebf9a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|