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.dev417.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b551d5c2da50bc5c1d106547eba9cddfd2d9a9e199c85ac883c79eb04ef389d |
|
MD5 | 4956f65a8f4b41f0ba3844fc4e63da11 |
|
BLAKE2b-256 | e2a2059084518f64ddcdfbf9717c1e66b68f457853f9e9eb6c81eaca7e0b1944 |
Close
Hashes for Astrology_Aries-0.0.5.dev417-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2f4942896c4acf6fffd3fa95eec12646f2c580df8d9cbf51f4fc64b2a499045 |
|
MD5 | 1e11421aab4affbf41ef350ec025b8a1 |
|
BLAKE2b-256 | 9979adb6e7bfdc8e33012e2f31e31d525494264932fb57b78c2a154e50989d88 |