Can vouch for pandas market calendars I use it extensively. Just install the module using pip and set it to NYSE for american markets. An example function i wrote:
```
def_get_next_trading_day(self, date: datetime) -> datetime:
'''
Takes a date and returns the next trading day using...