Skip to main content

Create advanced dbader/schedule with schedule-filters

Project description

schedule_filter

This repository allows to create advanced dbader/schedule job scheduling

Features

  • doing a job at/in the:
    • nth day of the year
    • nth month of the year
    • nth day of a month
    • nth week of a month

Examples

  • basic:
    • monthly:
      • doing a job on every second sunday of a month schedule.every().sunday.do(nth_week_monthly(2, job_func))
      • doing a job on every last monday of a month schedule.every().monday.do(nth_week_monthly(-1, job_func))
      • doing a job on every last day of a month schedule.every().monday.do(nth_day_monthly(-1, job_func))
      • doing a job on every 15th of a month schedule.every().monday.do(nth_day_monthly(15, job_func))
    • yearly:
      • doing a job on every first day of a year schedule.every().day.do(nth_day_yearly(1, job_func))
      • doing a job on every New Year's Eve schedule.every().day.do(nth_day_yearly(-1, job_func))
      • doing a job every day in april schedule.every().day.do(nth_month_yearly(4, job_func))
  • advanced:
    • doing a job on every Christmas Eve schedule.every().day.do(nth_month_yearly(12, nth_day_monthly(24, job_func)))

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

schedule_filter-0.2.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

schedule_filter-0.2.1-py2.py3-none-any.whl (15.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file schedule_filter-0.2.1.tar.gz.

File metadata

  • Download URL: schedule_filter-0.2.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for schedule_filter-0.2.1.tar.gz
Algorithm Hash digest
SHA256 f63d8269bff2ba402da12123c869489d227fe0ae68fd581bc672377229ffae83
MD5 db8be87b755b698205cebf1fe06778c1
BLAKE2b-256 f07123af23aa07a0b6b16f0df1b05b5ad79bac73457081a4113d11c503b744ca

See more details on using hashes here.

File details

Details for the file schedule_filter-0.2.1-py2.py3-none-any.whl.

File metadata

  • Download URL: schedule_filter-0.2.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 15.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for schedule_filter-0.2.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5d30724fb6717a36b91e0e268dc6438a905ba6d9a21327994cd7a02be2532c48
MD5 689910a81d809c138a70fb33de152d53
BLAKE2b-256 f17088898a205e1d2818b73d16ae6e3ab484f40dffea9572fe1f5a5cea09f789

See more details on using hashes here.

Supported by

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