Skip to content

A small collection of helper functions for Python date objects

License

Notifications You must be signed in to change notification settings

joerex1418/bacondates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BaconDates

This is supposed to be an extremely small conveniece library for dealing with date objects in Python. No third-party dependencies required as the entire point is to make it as lightweight as possible.

There are only a couple functions so far, but more will be added in the future.

Usage

>>> import bacondates as bd

>>> date1 = dt.date(2022, 8, 9)
>>> print(f"{date1:%B %d, %Y}")
'August 09, 2022'

>>> date2 = bd.add_months(65, date1)
>>> print(f"{date1:%B %d, %Y}")
'January 09, 2028'

About

A small collection of helper functions for Python date objects

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages