A fiscal helper for retail calendars
Project description
Fiscal Calendar Helper
This helper function is based on the National Retail Federations 4-5-4 calendar for Python 3.
Key features:
- Offset a date or week
- Translate a date to the fiscal week and vice versa
To use the fiscal helper:
from fiscal_calendar_helper import fiscal
Fiscal Offsets
>>> fiscal.offset('2022_31', 4)
'2022_35'
Fiscal next / previous
Returns the next or previous week or date
>>> fiscal.next('2022_31')
'2022_32'
>>> fiscal.previous('2022_31')
'2022_30'
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
Close
Hashes for fiscal_calendar_helper-0.0.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7fa7bcc8aa70c88098ad7d06e48e1312245c11475a33eaebcbe1c812b4621688 |
|
MD5 | 2841c58bc759304a8d7573c141158cca |
|
BLAKE2b-256 | e366ea9946f4fa82c52343c6439b61484fa860c1ba2c27e3c447791c12c76f8c |
Close
Hashes for fiscal_calendar_helper-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 877684a37ab836b06c824463360ffcd4e375a69c1601dfa7dff76eea2279ed34 |
|
MD5 | 09b53e759bf8408b31c33c92aee1442c |
|
BLAKE2b-256 | 24e5238134ff299d42108162888b722c48c0dd211da0769124a23ddd0d87cded |