indexedlines
Copyright (c) 2016 Luís Gomes
indexedlines implements a list-like immutable view over lines of text files. In other words, it allows access to any line given it’s zero-based index. Thus, if you have a big text file and you want to get line number 100001, you don’t have to read the first 100000 sentences before getting that one.
Of course there are no free lunches, and this module needs to compute a list of sentence offsets beforehand (which is saved to disk when a indexedlines object is created for the first time).
Metadata
Release files for indexedlines 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| indexedlines-0.1.1.tar.gz | 2.4 kB | Details |
Release files / indexedlines-0.1.1.tar.gz
| Download URL | indexedlines-0.1.1.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
527acb964656eb5dd2c83b641259f0967536285744a9ce624a07bd287bf684af
|
|
BLAKE2b-256 checksum How to use checksums |
5081f536d40b1db901f5c8054a925c78138cc1b4025b5df4dc3499fdd31c9b23
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |