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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10ab24f2417e27c127654f5814748f5b1da8eb3fa46361f0ec234e80b4197844 |
|
MD5 | 3b93da9b43396c1bebeee2f61fcbfe5a |
|
BLAKE2b-256 | c52e2a1eb30068ae4051424923f42b4131b1b99a66c68366e034ac9fbf271b45 |
Close
Hashes for fiscal_calendar_helper-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd5cf30a8bb2b670b78f1854ad7da9e6ef2721b65eb34bde3f771bc538921df5 |
|
MD5 | f5dd5f4a7914051efadf773ffdc6a3ba |
|
BLAKE2b-256 | 49f89431dab3031b42d16583fada2dfc70e0dd7cf355e7250a40c8232ae34195 |