Metadata-Version: 2.1
Name: scienceindata_dates
Version: 0.0.3
Summary: A simple library for generating dates in common scenarios for data analysis (Demo package).
Project-URL: Homepage, https://github.com/scienceindata/common_dates
Project-URL: Bug Tracker, https://github.com/scienceindata/common_dates/issues
Author: Science in Data
License-File: LICENSE
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.0
Description-Content-Type: text/markdown

### 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.
<br>get_today: Create a Date Object or String of Today.
<br>get_yesterday: Create a Date Object or String of Yesterday.
<br>get_current_month: Return current month.
<br>get_last_month: Return last month date.
<br>get_previous_nmonth: Return last n-month.
<br>get_same_day_last_week: Return the same day of the week of last week.
<br>get_same_day_last_month: Return the same day of last month.