Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

# Fastread
_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` | |

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)

Source distribution for fastread 0.1.0
File Size Uploaded
fastread-0.1.0.macosx-10.12-x86_64.tar.gz 4.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fastread 0.1.0
File Interpreter ABI Platform
fastread-0.1.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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