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!

Parses ranges.

Project Description

RangeParser is a Python package to parse ranges easily.

from rangeparser import RangeParser

parser = RangeParser()

parser.parse(‘10,20,30’) # => [10, 20, 30]

parser.parse(‘1-10’) # => [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]

parser.parse(‘10,20,30,40-45’) # => [10, 20, 30, 40, 41, 42, 43, 44, 45]


  • Make your changes, send a pull request, etc.
  • If it’s a bug, file an issue, then send a pull request.
  • Any new features require testing. All tests must pass for a pull request to be submitted.
  • If it’s a behavior breaking change, email me first (
Release History

Release History

This version
History Node


History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
RangeParser-0.1.3.tar.gz (2.7 kB) Copy SHA256 Checksum SHA256 Source Jan 23, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting