Skip to main content

No project description provided

Project description

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

Project details


Release history Release notifications | RSS feed

This version

0.9

Download files

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

Source Distribution

numering-0.9.tar.gz (2.6 kB view details)

Uploaded Source

File details

Details for the file numering-0.9.tar.gz.

File metadata

  • Download URL: numering-0.9.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for numering-0.9.tar.gz
Algorithm Hash digest
SHA256 797cb9ed5ac0ac57062eb414dcc3a3eb7310e2e55bb7fc295be7fe5c0ad71668
MD5 6a4b143e53c3051246aa7269c5d7a44d
BLAKE2b-256 5df62a6ddd22c89ca7d5b5ffa89f60fcd326593a117b3f58eb4986867bcebf9a

See more details on using hashes here.

Supported by

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