Dates actions for RPA
Project description
RPA_DATES
Python module delivers some actions to manipulate with dates and detect holidays. The module is compatibile with the Robocorp.
Installation
To install the package run:
pip install rpa_dates
Example
Fetching today's date
from rpa_dates import Dates
dates = Dates()
dates.today()
Checking if today is a public holiday in Poland
from rpa_dates import Dates
dates = Dates()
dates.is_public_holiday('PL', )
Get next business day from today's date including holidays for Peru
from rpa_dates import Dates
dates = Dates()
dates.next_working_day(include_holidays=True, country_code='PE')
Dependencies
Python packages: calendar, typing, datetime, dateutil, requests External: https://date.nager.at API
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for rpa_dates-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d2bf2a2da2812616172aa2d86be5d2d139173194957dcbfb423d6dd15511bc2 |
|
MD5 | 6674cb7732ebee8a25efe31945a3deb2 |
|
BLAKE2b-256 | e60252418bbd9bba711da0a390cac02c5ca3f5a90912a3ff4ef26f6aaba75212 |