This project has been archived by its maintainers, and is no longer receiving any updates.
_Fastread is a library for read big files_
## How to install and update
Install latest stable version or update current from pip.
```python
pip install -U fastread
```
## Basic Usage
Here's a simple example.
```python
import timeit
from fastread import Fastread
def main():
ff = Fastread('big.txt')
lines = ff.lines()
total = 0
for x in lines:
total += 1
return total
if __name__ == "__main__":
total = main()
timer = timeit.timeit("main()",
setup="from __main__ import main",
number=1)
print('Read time: ', timer, '| Total lines: ', total)
#RESULT
# Read time: 0.029999009988387115 | Total lines: 128457
```
## Reference
| Setup | Command | Notes |
| ------- | ---------------------- | ----- |
| install | `pip install fastread` | |
Metadata
Release files for fastread 0.1.0
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 |
|---|---|---|---|---|
| fastread-0.1.0.macosx-10.12-x86_64.tar.gz | 4.1 kB | Without provenance | Details for fastread-0.1.0.macosx-10.12-x86_64.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fastread-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for fastread-0.1.0-py3-none-any.whl |
Total release size: 8.8 kB
Release files / fastread-0.1.0.macosx-10.12-x86_64.tar.gz
| Download URL | fastread-0.1.0.macosx-10.12-x86_64.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c47ba05028d3f184ebd8fb8b319ea8e6c613341cf9a9affe759c1591a26c26e4
|
|
BLAKE2b-256 checksum How to use checksums |
bf7950e15ba687d560fd8dc1b48a40cc5e357ecea2e7dc510dc391de409fb598
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / fastread-0.1.0-py3-none-any.whl
| Download URL | fastread-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
54d7f0509529aa508cc5fdd8a44056c1c495f012917bded385c4d0c164adf2fa
|
|
BLAKE2b-256 checksum How to use checksums |
db35c2c1b49d2b3e51a82154856834a3609d8d88cae3b609b4a59db68a3f97d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for fastread 0.1.0
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.