Aries-Python-0.1.330
توضیحات
Python package providing shortcuts to small tasks like string manipulation, running background tasks, configuring logging, accessing web API etc.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | Aries-Python-0.1.330 |
| نام | Aries-Python |
| نسخه کتابخانه | 0.1.330 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Qiu Qin |
| ایمیل نویسنده | qiuosier@gmail.com |
| آدرس صفحه اصلی | https://github.com/qiuosier/Aries |
| آدرس اینترنتی | https://pypi.org/project/Aries-Python/ |
| مجوز | - |
# Aries
Aries is a Python package providing shortcuts to a wide range of small tasks like access files on the cloud, running background tasks, configuring logging, etc.
[](https://pypi.org/project/Aries-Python/)
[](https://travis-ci.org/qiuosier/Aries)
[](https://coveralls.io/github/qiuosier/Aries?branch=master)
[](https://codebeat.co/projects/github-com-qiuosier-aries-master)
Aries includes:
* [Storage](https://github.com/qiuosier/Aries/blob/master/docs/storage.md) sub-package, which provides a unified interface for accessing files on local computer, Google Cloud Storage and Amazon S3 Storage. The storage interface includes shortcuts for listing, copying, deleting files/folder.
* [Outputs](https://github.com/qiuosier/Aries/blob/master/docs/outputs.md)(`outputs.py`) module for logging and capturing outputs.
* [Task](https://github.com/qiuosier/Aries/blob/master/docs/tasks.md)(`tasks.py`) module to manage asynchronous/background functions and commands.
* [Google](https://github.com/qiuosier/Aries/blob/master/docs/GoogleDrive.md) sub-package, providing simple API for accessing data in Google Drive and Google Sheets.
* String(`string.py`) module to provide enhanced String types, as well as FileName, Base64String.
* Excel(`excel.py`) module to create, read and modify Microsoft Excel spreadsheets.
* Files(`files.py`) module to handle JSON, Markdown and temporary files with templates.
* Web(`web.py`) module to access web APIs and HTML pages.
## Installation
Aries is developed with Python 3.7. You can install the full package with `pip`:
```
pip3 install Aries-Python
```
Alternatively, you can also install only the storage package using:
```
pip3 install Aries-storage
```
## Usage
To use this package, import the module/sub-package from `Aries`
```
from Aries.tasks import ShellCommand
```
As an example, here is how to use Aries to write a `pandas` DataFrame to a CSV file on Google Cloud Storage:
```
import pandas as pd
df = pd.DataFrame([1, 3, 5])
uri = "gs://bucket_name/path/to/file.txt"
# Using StorageFile with pandas
with StorageFile.init(uri, 'w') as f:
# f will be a file-like object
df.to_csv(f)
```
See the documentation for sub-packages for more details.
نیازمندی
| مقدار | نام |
|---|---|
| ==3.0.7 | openpyxl |
| >=2.23.0 | requests |
| >=1.3.0 | google-cloud-core |
| >=1.26.0 | google-cloud-storage |
| >=1.14.9 | boto3 |
| >=4.5.1 | lxml |
| >=4.5.0 | plotly |
| >=1.15.0 | six |
| - | google-auth |
| - | google-cloud-vision |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl Aries-Python-0.1.330:
pip install Aries-Python-0.1.330.whl
نصب پکیج tar.gz Aries-Python-0.1.330:
pip install Aries-Python-0.1.330.tar.gz