semvec/pypi-packages huggingface dataset:
whenever-none 0.9.5.2
Modern datetime library for Python
Requires Python: >=3.9
Keywords: datetime, typesafe, rust, date, time, timezone, utc, zoneinfo, tzdata, tzdb

# ⏰ Whenever-None

[![](https://img.shields.io/pypi/v/whenever-none.svg?color=blue)](https://pypi.python.org/pypi/whenever-none)
[![](https://img.shields.io/python/required-version-toml?tomlFilePath=https%3A%2F%2Fraw.githubusercontent.com%2FSuadeLabs%2Fwhenever-none%2Fmain%2Fpyproject.toml)](https://pypi.python.org/pypi/whenever-none)
[![](https://img.shields.io/pypi/l/whenever-none.svg?color=blue)](https://pypi.python.org/pypi/whenever-none)
[![](https://img.shields.io/github/actions/workflow/status/SuadeLabs/whenever-none/checks.yml?branch=main)](https://github.com/SuadeLabs/whenever-none)

**A slightly friendlier fork of whenever handling comparison with None**

This is a slightly niche fork of the excelent [whenever](https://github.com/ariebovenberg/whenever) library for handling comparison against null values. For our purposes, we count None as, essentially, year zero:

```python
>>> from whenever import Instance

>>> Instance.now() > None
True
```

You can install this library as a drop-in replacement without changing your code:

```sh
pip install whenever-none  # install this library
python -c "import whenever"  # use it like whenever
```

## Why use whenever-none?

If you want all the nice features of whenever, but often deal with poor quality data 💩 or data exploration 🔍, this library allows a lot of common python operations to proceed (e.g. sorting a list of Person instances by their `.bith_date` property) without requiring too much (or incorrect) massaging of the data.
certbot-angie 5.3.1
Angie plugin for Certbot
Requires Python: >=3.10

# certbot-angie

[Angie](https://angie.software/) plugin for [Certbot](https://certbot.eff.org/). Obtain and install TLS/SSL certificates from Let's Encrypt (or other CAs) when using Angie as a web server.

Angie is a drop-in replacement for nginx based on nginx 1.23.2+.

## Requirements

- **Python** 3.10 or newer
- **Certbot** (acme, certbot packages — installed automatically)
- **Angie** web server (1.0.0 or newer, based on nginx ≥ 1.23.2)

## Installation

### From PyPI

```bash
pip install certbot-angie
```

Or with Certbot in a virtual environment:

```bash
python3 -m venv /opt/certbot
/opt/certbot/bin/pip install certbot certbot-angie
```

### From source

```bash
git clone https://github.com/your-org/certbot-angie.git
cd certbot-angie
pip install .
```

## Usage

Use the `angie` plugin with Certbot:

```bash
certbot --installer angie
```

Obtain a certificate (Certbot will use the Angie installer by default if Angie is detected):

```bash
certbot certonly --installer angie -d example.com
```

### Plugin options

| Option | Default | Description |
|--------|---------|-------------|
| `--server-root` | `/etc/angie` (Linux), `/usr/local/etc/angie` (FreeBSD/macOS) | Angie configuration root directory |
| `--ctl` | `angie` | Path to the Angie binary (for `configtest` and version detection) |
| `--sleep-seconds` | `1` | Seconds to wait after reloading Angie |

Example:

```bash
certbot --installer angie --server-root /etc/angie --ctl /usr/sbin/angie
```

## Configuration

- Angie config root: typically `/etc/angie` (Linux) or `/usr/local/etc/angie` (FreeBSD/macOS).
- Main config file: `angie.conf` in the server root.
- Certbot stores its TLS options in the Certbot config directory (e.g. under `/etc/letsencrypt/`) and includes them from your Angie server blocks.

## Development

Install in editable mode with test dependencies:

```bash
pip install -e ".[test]"
pytest src/certbot_angie/_internal/tests/ -v
```

## License

Apache 2.0. See [LICENSE](LICENSE) for details.