Skip to main content

No project description provided

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fastread-0.1.0.macosx-10.12-x86_64.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

fastread-0.1.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file fastread-0.1.0.macosx-10.12-x86_64.tar.gz.

File metadata

File hashes

Hashes for fastread-0.1.0.macosx-10.12-x86_64.tar.gz
Algorithm Hash digest
SHA256 c47ba05028d3f184ebd8fb8b319ea8e6c613341cf9a9affe759c1591a26c26e4
MD5 1e39e11c1d732a362e6f49db8cc738aa
BLAKE2b-256 bf7950e15ba687d560fd8dc1b48a40cc5e357ecea2e7dc510dc391de409fb598

See more details on using hashes here.

File details

Details for the file fastread-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for fastread-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 54d7f0509529aa508cc5fdd8a44056c1c495f012917bded385c4d0c164adf2fa
MD5 6e6da7a4466abfaffdb621badc5e840f
BLAKE2b-256 db35c2c1b49d2b3e51a82154856834a3609d8d88cae3b609b4a59db68a3f97d9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page