Skip to main content

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 files for randomlineaccess 1.04

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for randomlineaccess 1.04
File Size Uploaded
randomlineaccess-1.04.zip 4.0 kB Details

Release files / randomlineaccess-1.04.zip

Download URL randomlineaccess-1.04.zip
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b7c087c430ecb3023999157d6ff436d08b12de6addf4c6483e4f15e352003e10
BLAKE2b-256 checksum
How to use checksums
f1576c0b12c370a98ebd613edf13523f80ec89f698f83e2c1edc1f8cc8db321d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.04 This release

1 release file

1.03

1 release file

1.02

1 release file

1.01

1 release file

1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page