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.2.tar.gz
(8.3 kB
view details)
Built Distribution
File details
Details for the file rpa-dates-1.0.2.tar.gz
.
File metadata
- Download URL: rpa-dates-1.0.2.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
6ef880b47330328e6c6f4a1547d5488fbd9ce0345a2df95dc25463bf853f3ad7
|
|
MD5 |
9ee2786d383383247af9aba5cc0a9367
|
|
BLAKE2b-256 |
5ae900bdc715a87f07573def9c92c4d059e4815d00e24383f0a4f098b9aff474
|
File details
Details for the file rpa_dates-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: rpa_dates-1.0.2-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
361b38ed8d11dd13ee7c4f3e4d0bfe4cb1e5d64e9d5ee6bc98dfeecc5b1a950d
|
|
MD5 |
c6a98d8fcde6d7688202f8023d649ccf
|
|
BLAKE2b-256 |
3163d73ff6c41609f9e782eb271ecaf7bc4731cc7bac9e867abc9b4612f943a2
|