arrayfiles-0.0.1
توضیحات
Array-like File Access in Python
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | arrayfiles-0.0.1 |
| نام | arrayfiles |
| نسخه کتابخانه | 0.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Yasufumi Taniguchi |
| ایمیل نویسنده | yasufumi.taniguchi@gmail.com |
| آدرس صفحه اصلی | https://github.com/yasufumy/arrayfiles |
| آدرس اینترنتی | https://pypi.org/project/arrayfiles/ |
| مجوز | MIT |
# ArrayFiles: Array-like File Access in Python
[](https://travis-ci.com/yasufumy/arrayfiles)
[](https://github.com/yasufumy/arrayfiles/actions?query=workflow%3A%22Run+CI+build%22)
[](https://lgtm.com/projects/g/yasufumy/arrayfiles/context:python)
[](https://www.codacy.com/manual/yasufumy/arrayfiles?utm_source=github.com&utm_medium=referral&utm_content=yasufumy/arrayfiles&utm_campaign=Badge_Grade)
[](https://www.codacy.com/manual/yasufumy/arrayfiles?utm_source=github.com&utm_medium=referral&utm_content=yasufumy/arrayfiles&utm_campaign=Badge_Coverage)
[](https://codecov.io/gh/yasufumy/arrayfiles)
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](https://github.com/yasufumy/lineflow).
## Installation
To install arrayfiles:
```bash
pip install arrayfiles
```
## Usage
```py
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
```
نحوه نصب
نصب پکیج whl arrayfiles-0.0.1:
pip install arrayfiles-0.0.1.whl
نصب پکیج tar.gz arrayfiles-0.0.1:
pip install arrayfiles-0.0.1.tar.gz