A simple library for generating dates in common scenarios for data analysis.
Project description
Human Date
A simple library for generating dates in common scenarios for data analysis.
create_date_from_str: Create a Datetime object from a string with specific date_format. get_today: Create a Date Object or String of Today. get_yesterday: Create a Date Object or String of Yesterday. get_current_month: Return current month. get_last_month: Return last month date. get_previous_nmonth: Return last n-month. get_same_day_last_week: Return the same day of the week of last week. get_same_day_last_month: Return the same day of last month.
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
common_dates-0.0.1.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for common_dates-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6fd8821d67521977c07635f3328255fa0d1ebb795e7bf0fdd5b5670f8381424 |
|
MD5 | 98e1815e0356bbe53d20853f9a3a53e4 |
|
BLAKE2b-256 | 9065afbd10bf929590f03fdf59347b02cfb60f0de43e69f9d83814d4f958df58 |