Array-like File Access in Python
Project description
ArrayFiles: Array-like File Access in Python
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.
Installation
To install arrayfiles:
pip install arrayfiles
Usage
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
arrayfiles-0.0.1.tar.gz
(12.8 kB
view details)
File details
Details for the file arrayfiles-0.0.1.tar.gz
.
File metadata
- Download URL: arrayfiles-0.0.1.tar.gz
- Upload date:
- Size: 12.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e506b984865a98d1be4b05933270d491bbe9b96c913ec986b9b645f443f5a188 |
|
MD5 | fc0c23092915e6769a6874ee9c4c911f |
|
BLAKE2b-256 | 1cbe297c365c7f8304ffa949bb252eac9d67e5c708a3615c9d5b18a7613e9006 |