Skip to main content

Python Random File Access for Humans

Project description

Easyfile: Random File Access for Humans

Build Status codecov

Easyfile allows you to access an arbitrary line of a text file.

If your interest is in using Easyfile for Deep Learning, please check Lineflow.

Installation

To install Easyfile:

pip install easyfile

Usage

import easyfile

data = easyfile.TextFile('/path/to/text')

data[0] # Access the first line of your text
data[-1] # Access the last line of your text
data[10:100] # Access the 10th line to the 100 the line of your text

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 easyfile, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size easyfile-0.0.3.tar.gz (11.3 kB) File type Source Python version None Upload date Hashes View hashes

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