Skip to main content

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.

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


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

Astrology-Aries-0.0.5.dev447.tar.gz (69.6 kB view details)

Uploaded Source

Built Distribution

Astrology_Aries-0.0.5.dev447-py3-none-any.whl (86.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: Astrology-Aries-0.0.5.dev447.tar.gz
  • Upload date:
  • Size: 69.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for Astrology-Aries-0.0.5.dev447.tar.gz
Algorithm Hash digest
SHA256 f356040449805cbe3b43bc357f7ac3029f8608dd89e658ab4d2c7c9b1a3d3af8
MD5 dd1418cbc6d1fb1522fbec56afc6233c
BLAKE2b-256 07f6a89afb4c04585009137255e18cbd4550b19e5fd49a7d5be83415b5c0a1b4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Astrology_Aries-0.0.5.dev447-py3-none-any.whl
  • Upload date:
  • Size: 86.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for Astrology_Aries-0.0.5.dev447-py3-none-any.whl
Algorithm Hash digest
SHA256 3252d5acecc3e71318629bce846b73f2d0e0daefb5e27eb7b018d816430e5892
MD5 be0f80830d065e2ff45d6ed961cdd42c
BLAKE2b-256 360b16b3ef4f8417d45519f9fb4f0f62daeb95e37050acc6fbe99ebfb90e64ca

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