Skip to main content

Library containing some basic, commonly used functions during the creation and analysis of algorithms for Pillar

Project description

Dev Tools

Common functions to help in developing pillaralgos library. Includes

  • dev_helpers.awsBucketAPI to connect to aws (assuming AWS Cli is installed locally), download files.
    • User can choose specific bucket ("as long as it has messagestore in it")
    • User can retrieve list of all files' names in the bucket
    • User can save all files, specific files, random files, or quadrum of files
    • User can check whether a specific file or a list of filenames exist in the bucket
  • dev_helpers.plot_with_time to create a time series plot with conveniently formatted xaxis
  • sanity_checks future site of error catchers

How To

Connect to AWS bucket, download random files.

from pillaralgos_dev import dev_helpers as dev
aws = dev.awsBucketAPI(choose_bucket=False)
names = aws.get_random_file_names(n=5)
aws.save_files(names)

Check sanity:

from pillaralgos_dev import sanity_checks as sane

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

pillaralgos_dev-0.1.5.tar.gz (5.0 kB view hashes)

Uploaded Source

Built Distribution

pillaralgos_dev-0.1.5-py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 3

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