Skip to main content

Range object for any type for Python.

Project description

range-anytype

Usage

This package is using for Range object for any type.

How to use it

import it by: from range_anytype import Range, ProtectedRange. No any additional modules or packages will be installed. If you cannot install it by pip, please download the source and extract it into sys.path.

To see examples, please visit example.py, or type from range_anytype import example.

Range

Create a range for any type that supports addition calculation.

ProtectedRange

Create a range for any type that supports addition and subtraction calculation. This can protect program because it detects the supporting of subtraction of the type. Some types like str, list, tuple, only support addition, not support subtraction.

Download files

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

Source Distribution

range-anytype-0.4.2.895563b0.tar.gz (3.9 kB view details)

Uploaded Source

File details

Details for the file range-anytype-0.4.2.895563b0.tar.gz.

File metadata

  • Download URL: range-anytype-0.4.2.895563b0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for range-anytype-0.4.2.895563b0.tar.gz
Algorithm Hash digest
SHA256 621430a5cfb67c707179754c756beb8a2c544fcd526b495ca59bf267141804a3
MD5 425da887f83adf543f9486ee3261bd8a
BLAKE2b-256 f62023e2c71dda67d21418334d8cab77305b0a647bf6afb4293e9ab4748eec59

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