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. Once all datapoints have been considered, retrieve the weekly and monthly stats by calling past_weeks() and past_months_this_year().
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
WeeklyAndMonthly-0.1.2.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for WeeklyAndMonthly-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7babbe4e17cf1fcdbe8acd1b4b5c1fc342b3c19f61e5bc97f75b179d009edca9 |
|
MD5 | 2e7f7e510d7d7513490e9ba83676923e |
|
BLAKE2b-256 | 1f4abc88ba8eb794393675503a164f2e69a7e3040c103b8b51fb3280d78cd703 |