Skip to main content
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 Release notifications

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 Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page