Skip to content

Commit

Permalink
Add additional installation information to README (#232)
Browse files Browse the repository at this point in the history
  • Loading branch information
Omar Ali Khan committed Oct 31, 2024
1 parent f843f37 commit e3fcfcd
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,17 @@
A place for pydantic types that probably shouldn't exist in the main pydantic lib.

See [pydantic/pydantic#5012](https://github.com/pydantic/pydantic/issues/5012) for more info.

## Installation

Install this library with the desired extras dependencies as listed in [project.optional-dependencies](./pyproject.toml).

For example, if pendulum support was desired:

```shell
# via poetry
$ poetry add "pydantic-extra-types[pendulum]"

# via pip
$ pip install -U "pydantic-extra-types[pendulum]"
```

0 comments on commit e3fcfcd

Please sign in to comment.