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.
  • Google sub-package, providing simple API for accessing data in Google Drive and Google Sheets.
  • Outputs(outputs.py) module for logging and capturing outputs.
  • 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.
  • 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


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.0.5.dev447.tar.gz (33.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Aries_core-0.0.5.dev447-py3-none-any.whl (40.6 kB view details)

Uploaded Python 3

File details

Details for the file Aries-core-0.0.5.dev447.tar.gz.

File metadata

  • Download URL: Aries-core-0.0.5.dev447.tar.gz
  • Upload date:
  • Size: 33.5 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.0.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.3

File hashes

Hashes for Aries-core-0.0.5.dev447.tar.gz
Algorithm Hash digest
SHA256 b2c236bd5a3a4f0cab1b9b27a918846487de99054ad1ec2fb843850adf642a21
MD5 bf6e513e1ca32b789696fe2df50cb5aa
BLAKE2b-256 309c7bdced1ff42b60eadbc67320bbc897089c165ac6d812938a9052df5dc19b

See more details on using hashes here.

File details

Details for the file Aries_core-0.0.5.dev447-py3-none-any.whl.

File metadata

  • Download URL: Aries_core-0.0.5.dev447-py3-none-any.whl
  • Upload date:
  • Size: 40.6 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.0.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.3

File hashes

Hashes for Aries_core-0.0.5.dev447-py3-none-any.whl
Algorithm Hash digest
SHA256 3c4d3998429a8405af1d7023c7812d665b7b1624600e81ed03821dc86263e4b9
MD5 1081083ffe5af8f614fb82a9f2b341e0
BLAKE2b-256 ec0dedc84e38b824a98d30ac7224d21fed9a7b62da1bb1a174f6275364e83daa

See more details on using hashes here.

Supported by

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