A simple library for generating dates in common scenarios for data analysis (Demo package).
Project description
Science in Data Dates
A simple library for generating dates in common scenarios for data analysis.
Usage
from scienceindata_dates import scienceindata_dates
Functions
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
Built Distribution
Hashes for scienceindata_dates-0.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f800adc65068849f54156feab7ac57cf0441e72f4478f9c30b129511e96ef91d |
|
MD5 | 20930cd8d8514aba1ea3ac71d9ac84b1 |
|
BLAKE2b-256 | a9620b7482bda24bc78e8fee792788a3465ffac4daf7e5e0b0a85cb25d1522de |
Hashes for scienceindata_dates-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5de6aaf681af9678c37a35fd73785c6913bb943d5c4af2288ff022dfc6674bc5 |
|
MD5 | 5a09f9648d4b0ab922ed52dd9f208981 |
|
BLAKE2b-256 | 7e78db59fb0deb60e170d5a7e488de172babd5d5767108b557e62de7641b265c |