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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file Astrology-Aries-0.0.5.dev432.tar.gz.
File metadata
- Download URL: Astrology-Aries-0.0.5.dev432.tar.gz
- Upload date:
- Size: 66.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
287f39a9b0e7c611a8c6cbc8ea31c71d54a95954f903cd569945492434488622
|
|
| MD5 |
9df331e05f5376d2ded83590710a47f0
|
|
| BLAKE2b-256 |
94ff53ca71bc0e8cf42ca17f4d61c653cc8e474579a84bf21ca5a8ef44176beb
|
File details
Details for the file Astrology_Aries-0.0.5.dev432-py3-none-any.whl.
File metadata
- Download URL: Astrology_Aries-0.0.5.dev432-py3-none-any.whl
- Upload date:
- Size: 82.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
05ed3dc79e91b637694802c7605105f8286f82e2431dc38af83e6122432be452
|
|
| MD5 |
ee14ee68cf38b59d00010af5bd04bb3f
|
|
| BLAKE2b-256 |
298686a6691199dc396a2c2a00732e9ea3a83dd3a8646399f34952b4a84607a0
|