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.0.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

rpa_dates-1.0.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rpa-dates-1.0.0.tar.gz
  • Upload date:
  • Size: 6.8 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.0.tar.gz
Algorithm Hash digest
SHA256 0596f59ad0f7a119fb61ba920f1560ec4455d88a4243a5424a6ff087661447cb
MD5 79fdf32112dca3ac0ea0190fdd62bb45
BLAKE2b-256 d074d468e0f7c706f962b5d0baf46b3aa7a90a0a0aea50d787399dd0352ebc10

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rpa_dates-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.4 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b8e6ee05976d2e2fd2be34a5176393b03d8b7b6f4a261d4a44eb9f581723294a
MD5 2b63d35f3e778dfb1eb1c6e44c15e55f
BLAKE2b-256 b8e8a7ee1eacaac4baf75a90e42f267b7f1150b8c04dd4ddf182646df430c28b

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