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

Fast access to text files by line number.

Project Description

Quickly access arbitrary line numbers in a text file. A well tested library for Python 3.

For example:

with IndexedOpen(‘big_text_file.txt’) as f:
print(f[35234:35300]) # happens fast

Does this by creating index files on demand of the locations of lines in a file. The first call to a file is slow but subsequent calls are very quick.

Release History

This version
History Node

1.04

History Node

1.03

History Node

1.02

History Node

1.01

History Node

1.0

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
randomlineaccess-1.04.zip
(4.0 kB) Copy SHA256 Hash SHA256
Source None Jul 7, 2016

Supported By

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 Google Google Cloud Servers DreamHost DreamHost Log Hosting