Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Array-like File Access in Python

Project description

ArrayFiles: Array-like File Access in Python

Build Status Build Status Language grade: Python Codacy Badge Codacy Badge codecov

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

If your interest is in using arrayfiles for Deep Learning, please check LineFlow.


To install arrayfiles:

pip install arrayfiles


import arrayfiles

data = arrayfiles.read_text('/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 arrayfiles, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size arrayfiles-0.0.1.tar.gz (12.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page