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 Distribution
rpa-dates-1.0.1.tar.gz
(8.2 kB
view hashes)
Built Distribution
Close
Hashes for rpa_dates-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bc92fa95981a92318d1fa8f28761c95cf4d7df0a71d44abbb0fb64ea0c516bb |
|
MD5 | 9ed9146c824b1d63e6a257f5766b464b |
|
BLAKE2b-256 | 47135e557b4ab3eb65b2972c6768a6386393f06eedd1f33d51636875f6bb559d |