fastread 0.1.0

Creator: bigcodingguy24

Last updated:

Add to Cart

Description:

fastread 0.1.0

# Fastread_Fastread is a library for read big files_## How to install and updateInstall latest stable version or update current from pip.```pythonpip install -U fastread```## Basic UsageHere's a simple example.```pythonimport timeitfrom fastread import Fastreaddef main(): ff = Fastread('big.txt') lines = ff.lines() total = 0 for x in lines: total += 1 return totalif __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` | |

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.