Skip to content

Commit

Permalink
Remove typical library as an option
Browse files Browse the repository at this point in the history
There are multiple limitations in the "typical" library to consider it
as an option for our new API which is going to be used from
variety of projects, some of which are big like PyPI.

The main problems I have with it are:
1. It's a relatively unknown libr1ary with only 111 stars on GitHub.
2. It doesn't allow for custom validators. It's focused on type checking
and it allows for some constraints on the function arguments/class
attributes, but nothing fancier than that. Adding the possibility for
custom validators is planned for future versions.
3. It's a one-man show with only one maintainer actively working on the
project which is a big red sign for PyPI.
4. It adds 4 additional dependencies pytzdata, pendulum, inflection,
and itself - typical.
5. It doesn't support python 3.6.

Signed-off-by: Martin Vrachev <mvrachev@vmware.com>
  • Loading branch information
MVrachev committed Mar 18, 2021
1 parent 08853c7 commit 9c65b3d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion docs/adr/0007-validation-guideliness.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ attributes in the middle of function execution.
1. Usage of a `ValidationMixin`.
2. Usage of a third-party library called `pydantic`.
3. Usage of a third-party library called `marshmallow`.
4. Usage of a third-party library called `typical`.

## Pros, Cons, and Considerations of the Options

Expand Down

0 comments on commit 9c65b3d

Please sign in to comment.