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.

Files for fastread, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size fastread-0.1.0.macosx-10.12-x86_64.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View
Filename, size fastread-0.1.0-py3-none-any.whl (4.7 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page