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:

  • 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

Astrology-Aries-0.0.5.dev415.tar.gz (63.2 kB view details)

Uploaded Source

Built Distribution

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

Astrology_Aries-0.0.5.dev415-py3-none-any.whl (79.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: Astrology-Aries-0.0.5.dev415.tar.gz
  • Upload date:
  • Size: 63.2 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.45.0 CPython/3.8.2

File hashes

Hashes for Astrology-Aries-0.0.5.dev415.tar.gz
Algorithm Hash digest
SHA256 5302a2b0ff6709c086a828f5a80fcf77a46b914eee7be246fffcca8ef05f8acd
MD5 6be311ad05b644a321d8730fd813546c
BLAKE2b-256 b79c0c4d6fb2cc336620c25ba6706669e213c497de4ab6fa28c98b38a855ae9b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Astrology_Aries-0.0.5.dev415-py3-none-any.whl
  • Upload date:
  • Size: 79.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.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for Astrology_Aries-0.0.5.dev415-py3-none-any.whl
Algorithm Hash digest
SHA256 cee0811eecad8758050056d3f3b2224244fcdcf6efc877fc3d9536f2bd44124a
MD5 e9622620a841bf53e4fe0c90fc7c42fa
BLAKE2b-256 f6100a4aa92adb99f8bd7bc251f7a0164f27e0a3ceed3dc4e1a2c663712046ae

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