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 Distribution

rpa-dates-1.0.1.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

rpa_dates-1.0.1-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file rpa-dates-1.0.1.tar.gz.

File metadata

  • Download URL: rpa-dates-1.0.1.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for rpa-dates-1.0.1.tar.gz
Algorithm Hash digest
SHA256 0bad261df778c89b7366d11f5eab69ec5133a3d161d6b3c862836b910c9d11d4
MD5 1f96c800d1624155775561c06ad6b166
BLAKE2b-256 c29e3e02b4925dc95fe36dccf2c238290e36a8af94d91c1c1adeb79ce85f28f3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rpa_dates-1.0.1-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

Hashes for rpa_dates-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9bc92fa95981a92318d1fa8f28761c95cf4d7df0a71d44abbb0fb64ea0c516bb
MD5 9ed9146c824b1d63e6a257f5766b464b
BLAKE2b-256 47135e557b4ab3eb65b2972c6768a6386393f06eedd1f33d51636875f6bb559d

See more details on using hashes here.

Supported by

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