Skip to content

Commit

Permalink
πŸ“ Add additional installation information to README (#233)
Browse files Browse the repository at this point in the history
* Add additional installation information to README (#232)

* πŸ“ Update README.md

---------

Co-authored-by: Omar Ali Khan <omar.khan@anvilogic.com>
Co-authored-by: Yasser Tahiri <yasserth19@gmail.com>
  • Loading branch information
3 people authored Jan 15, 2025
1 parent 5ded2a1 commit 536cab8
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 uv
$ uv add "pydantic-extra-types[pendulum]"

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

0 comments on commit 536cab8

Please sign in to comment.