Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Support of range() generator with floats.

Project Description

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.


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

Release History

This version
History Node


Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(6.4 kB) Copy SHA256 Hash SHA256
Source None Sep 8, 2015

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Google Google Cloud Servers Fastly Fastly CDN StatusPage StatusPage Statuspage DigiCert DigiCert EV Certificate