blob: 9f80e87452f461363484ec3d0be4216ec62d5293 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Installation
Installing `pendulum` is quite simple:
```bash
$ pip install pendulum
```
or, if you are using [poetry](https://python-poetry.org):
```bash
$ poetry add pendulum
```
## Optional features
Pendulum provides optional features that you must explicitly require in order to use them.
These optional features are:
- `test`: Provides a set of helpers to make testing easier by allowing you to control the flow of time.
You can install them by specifying them when installing Pendulum
```bash
$ pip install pendulum[test]
```
or, if you are using [poetry](https://python-poetry.org):
```bash
$ poetry add pendulum[test]
```
|