Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Support of range() generator with floats.

Project description

Author: Laurent Pointal <laurent.pointal@laposte.net>
Copyright: Laurent Pointal - 2011-2015
license:MIT
Version: 1.0

Module documentation

Mercurial repository & bug tracking (on SourceForge).

Developer page

What is it?

A simple module providing a floatrange() to build generators providing a range like interface for floating point numbers. As floating point computation may not be exact, these generators support a precision prec parameter to define how near a value correspond to a value in the range.

Installation

Unless someone built a package for your OS distro, the simplest procedure is to use pip to install the module:

pip install floatrange

If you have no admin access to install things on you computer, you may install a virtualenv and run pip inside this virtual env, or you can do a local user installation:

pip install –user floatrange

Project details


Release history Release notifications

This version

1.0

Download files

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

Files for floatrange, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size floatrange-1.0.tar.gz (6.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page