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 | Provenance | Actions |
|---|---|---|---|---|
| indexedlines-0.1.1.tar.gz | 2.4 kB | Without provenance | Details for indexedlines-0.1.1.tar.gz |
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 |
Security for indexedlines 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.