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.

pip install -U fastread

## Basic Usage

Here's a simple example.

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",
print('Read time: ', timer, '| Total lines: ', total)

# Read time: 0.029999009988387115 | Total lines: 128457

## Reference

| Setup | Command | Notes |
| ------- | ---------------------- | ----- |
| install | `pip install fastread` | |

Project details

Release history Release notifications

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
fastread-0.1.0.macosx-10.12-x86_64.tar.gz (4.1 kB) Copy SHA256 hash SHA256 Source None
fastread-0.1.0-py3-none-any.whl (4.7 kB) Copy SHA256 hash SHA256 Wheel py3

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page