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)
| 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 |