Skip to main content

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

rpa_dates-1.0.3-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file rpa_dates-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: rpa_dates-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for rpa_dates-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8d2bf2a2da2812616172aa2d86be5d2d139173194957dcbfb423d6dd15511bc2
MD5 6674cb7732ebee8a25efe31945a3deb2
BLAKE2b-256 e60252418bbd9bba711da0a390cac02c5ca3f5a90912a3ff4ef26f6aaba75212

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page