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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file WeeklyAndMonthly-0.1.2.tar.gz.
File metadata
- Download URL: WeeklyAndMonthly-0.1.2.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a84ce32fddb4dd0a93ad0a9a16669ad3bcbd138a1c614b17260859fde0f2687
|
|
| MD5 |
28e0e96375497e92bd50e0483ec34440
|
|
| BLAKE2b-256 |
9442b6daeacb048666e5ac4b68bf0e4fee458cf88595c4cf8d9436daf06d19e0
|
File details
Details for the file WeeklyAndMonthly-0.1.2-py3-none-any.whl.
File metadata
- Download URL: WeeklyAndMonthly-0.1.2-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7babbe4e17cf1fcdbe8acd1b4b5c1fc342b3c19f61e5bc97f75b179d009edca9
|
|
| MD5 |
2e7f7e510d7d7513490e9ba83676923e
|
|
| BLAKE2b-256 |
1f4abc88ba8eb794393675503a164f2e69a7e3040c103b8b51fb3280d78cd703
|