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-core-0.1.330.tar.gz (36.4 kB view details)

Uploaded Source

Built Distribution

Aries_core-0.1.330-py3-none-any.whl (42.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: Aries-core-0.1.330.tar.gz
  • Upload date:
  • Size: 36.4 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-core-0.1.330.tar.gz
Algorithm Hash digest
SHA256 28481a7dd3d2ddcec08d8a09373588bee4f05e21bfbf69c980eae3b9a456c7b6
MD5 640becc12447816b34609d331bb26593
BLAKE2b-256 b2bbd4c9c2f0ba42c3fa572dde55a0a5541ffaecda01dbba9006fd96c5ca3a19

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Aries_core-0.1.330-py3-none-any.whl
  • Upload date:
  • Size: 42.2 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_core-0.1.330-py3-none-any.whl
Algorithm Hash digest
SHA256 c05a98e726820f24d1ba5d1dc4dc40fea98b3ffb9e23a90fcac2c05e5f6570fa
MD5 1ddb4ffd5938ae2ded29bd2e479e8e8d
BLAKE2b-256 18a7ff94f0bb9319e6b4e1550f0871625f0aab26247b0934a3b7bfb5b9c4431b

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