Python package providing shortcuts to tasks like accessing files on the cloud, running background tasks, configuring logging, etc.
Project description
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.
Aries includes:
- 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. - Outputs(
outputs.py
) module for logging and capturing outputs. - Storage 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.
- String(
string.py
) module to provide enhanced String types, as well as FileName, Base64String. - Task(
tasks.py
) module to manage asynchronous/background functions and commands. - Web(
web.py
) module to access web APIs and HTML pages.
Installation
Aries is developed with Python 3.7. You can install the package with pip
:
pip3 install Astrology-Aries
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.
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
Built Distribution
Close
Hashes for Astrology-Aries-0.0.5.dev422.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca54fb27ecfacf8fbfd1599fea5d6fd1e3cc0c66256ef9c2112eda50902ba9d5 |
|
MD5 | 252fa8ab15b07c1f5deaa97c16705449 |
|
BLAKE2b-256 | 3b1948cb4c5532affbd5faadadbfb07ec15ae82fe2357574627da24ca204e2b8 |
Close
Hashes for Astrology_Aries-0.0.5.dev422-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 728e426f01f0e51af64e938f57727fa0de193f3da74967ec3c94aeac46a744b3 |
|
MD5 | fe596e3b84269d5bea3e076a17a87e8e |
|
BLAKE2b-256 | 5d3b5696ffa6fb1f639a5b805016aada61025d04d98b41a7ee4b63c41b4d05a1 |