Skip to main content

Calculate weekly and monthly averages from a set of datapoints.

Project description

# Weekly And Monthly Weeks and Months are two incompatible units. Their greatest common denominator is a day. This library takes datapoints and analyses them in order to produce weekly and monthly metrics.

# Usage Write a python class that inherits the Abstract Base Class DataPoint. Create a instance of MonthlyAndWeeklyStatistics and call consider(data_point) for each datapoint you want to include. Now use the print_cvs() to get the values for your spreadsheet.

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

WeeklyAndMonthly-0.1.1.tar.gz (3.5 kB view hashes)

Uploaded Source

Built Distribution

WeeklyAndMonthly-0.1.1-py3-none-any.whl (4.0 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