Skip to main content

A package aimed at creating a more feature rich range

Project description

range

tldr;

-📦 ranged is a library for generating sequences of numbers
-🚀 aims to be a more feature-rich version of the built-in range function
-💪 performant and dependency-free
-🧪 currently in beta (0.x)
-🔍 full test coverage and thorough documentation coming in versions after 1.x
-😊 easy to learn and use
-💾 install with python3 -m pip install ranged
-🙏 feedback and support appreciated!

introduction

Welcome to ranged, a simple yet feature-rich library created with the goal of providing an alternative to the standard library's range function. Ranged is designed to be a more feature-rich version of range while still maintaining excellent performance. It is dependency-free and easy to learn, making it a great choice for any Python project.

Currently, ranged is in beta (0.x), but work is underway to ensure that every version after 1.x will have full test coverage and thorough documentation. Feedback and support are appreciated as this library continues to be improved and developed. Thank you for choosing ranged!

install

python3 -m pip install ranged

or

pip3 install ranged

example

for i in Range(10, 90, func=lambda a:a+1, filt=lambda a:a < 15):
	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

ranged-0.0.1.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

ranged-0.0.1-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file ranged-0.0.1.tar.gz.

File metadata

  • Download URL: ranged-0.0.1.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.7

File hashes

Hashes for ranged-0.0.1.tar.gz
Algorithm Hash digest
SHA256 dec5087972da97a8a2c36a569f283ae94c1aa090f9a42509ef4522cebc6ea428
MD5 0747dac97f93f56108c88df8a30c1f5d
BLAKE2b-256 d264349b3ee26bb0c7e7750e8970b76fbda7812b9594710db62980af78569a70

See more details on using hashes here.

File details

Details for the file ranged-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: ranged-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.7

File hashes

Hashes for ranged-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a6a763f1bc4e1838533420eb7b60f490a3612f83ca754ba56e1b4a265c8ff182
MD5 31f6890b6bc521547a548d50990a6543
BLAKE2b-256 0e64dc1adb0151f1a6ffc61a2d7d0795ca3786f47befd003885e9584b1c65611

See more details on using hashes here.

Supported by

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