Skip to main content

A simple scheduling package.

Project description

![image logo][logo]

dott is a simple scheduling package written in Python 3.7.

## Install

With pip;
```bash
> pip install dott
```

With git;
```bash
> pip install git+https://github.com/alexmacniven/dott.git#egg=dott
```

## Usage

Use dott in your code to schedule invoking a function at a given time(s) or
periodically.

dott has just two functions; `hourly` and `daily`.

Here's some examples:

```python
import dott


def say_hello():
"""Displays 'hello world'."""
print("hello world")

# Invoke `say_hello` every 2 hours.
dott.hourly(say_hello, 2)

# Invoke 'say_hello` daily at 14:00 and 21:00.
dott.daily(say_hello, ["14:00", "21:00"])
```

[logo]: ./docs/assets/logo.png


Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
dott-1.0.1-py2.py3-none-any.whl (4.2 kB) Copy SHA256 hash SHA256 Wheel py2.py3
dott-1.0.1.tar.gz (3.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page