Skip to main content

Python range class for float, decimal.Decimal and fractions.Fraction

Project description

egnar

Python range-like iterator for float, decimal.Decimal and fractions.Fraction

from egnar import *

for i in frange(0, 1, 0.1):
    print(i)

for i in drange(0, 1, '0.1'):
    print(i)

for i in farange(0, 1, '1/3'):
    print(i)

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

egnar-0.2.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

egnar-0.2-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file egnar-0.2.tar.gz.

File metadata

  • Download URL: egnar-0.2.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for egnar-0.2.tar.gz
Algorithm Hash digest
SHA256 e77024d6431efa847d6e6558571569919c34834bbcf9939a8c88570a17d2e895
MD5 dd8ed90ee30842fa78bc84df545c2765
BLAKE2b-256 48a88aed1adaed83f12dd0d4ccd6da845d780eaf24e731ea8cbd4f31b8aa6d63

See more details on using hashes here.

File details

Details for the file egnar-0.2-py3-none-any.whl.

File metadata

  • Download URL: egnar-0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for egnar-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 59e9b3439daaebbac6341d1419e7297101b1484670c516f7eae7bbedb5b3df11
MD5 89a4a10f494600c9858ce93e1d8a3bc4
BLAKE2b-256 452b947aca8d1fff5f852a6e1230fd09bd83987938ee715578e46eec171a893a

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