Skip to main content

Python package providing shortcuts to small tasks like string manipulation, running background tasks, configuring logging, accessing web API 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.

PyPI version Build Status Coverage Status codebeat badge

Aries includes:

  • 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.
  • Outputs(outputs.py) module for logging and capturing outputs.
  • Task(tasks.py) module to manage asynchronous/background functions and commands.
  • Google 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Aries-Python-0.1.330.tar.gz (73.6 kB view details)

Uploaded Source

Built Distribution

Aries_Python-0.1.330-py3-none-any.whl (90.9 kB view details)

Uploaded Python 3

File details

Details for the file Aries-Python-0.1.330.tar.gz.

File metadata

  • Download URL: Aries-Python-0.1.330.tar.gz
  • Upload date:
  • Size: 73.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for Aries-Python-0.1.330.tar.gz
Algorithm Hash digest
SHA256 6a9eaeba4960f516bcc600eb6de6546982b125319f74f0ca8ba11c7b281c9040
MD5 017d00ecdf2914b4637c7ac6ca23450d
BLAKE2b-256 525f59af51d9800e4b27d85a0410000a61488fb17bc8da860eea99731785720e

See more details on using hashes here.

File details

Details for the file Aries_Python-0.1.330-py3-none-any.whl.

File metadata

  • Download URL: Aries_Python-0.1.330-py3-none-any.whl
  • Upload date:
  • Size: 90.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for Aries_Python-0.1.330-py3-none-any.whl
Algorithm Hash digest
SHA256 a8d1a8692bca88dfbda509652a68a6e4835e0667caa40c8b02b1c68f41363783
MD5 ed91f6fdcab03d1a7ea4ae2f7097ace8
BLAKE2b-256 fd45357587ed460583d5a1671bb394f0d4a567d0d1764bcd6c1ce1abf8dd5b07

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page