Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,15 @@ Similar to `django-storages` project, but aiming to work with a wider range of d

```console
pip install fastapi-storages
```

Install optional extras based on what you need:

```console
pip install 'fastapi-storages[s3]'
pip install 'fastapi-storages[sqlalchemy]'
pip install 'fastapi-storages[peewee]'
pip install 'fastapi-storages[image]'
pip install 'fastapi-storages[full]'
```

Expand Down
9 changes: 9 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,15 @@ Similar to `django-storages` project, but aiming to work with a wider range of d

```console
pip install fastapi-storages
```

Install optional extras based on what you need:

```console
pip install 'fastapi-storages[s3]'
pip install 'fastapi-storages[sqlalchemy]'
pip install 'fastapi-storages[peewee]'
pip install 'fastapi-storages[image]'
pip install 'fastapi-storages[full]'
```

Expand Down
17 changes: 14 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,23 @@ classifiers = [
"Topic :: Internet :: WWW/HTTP",
"Typing :: Typed",
]
dependencies = [
"boto3~=1.25",
]
dependencies = []

[project.optional-dependencies]
s3 = [
"boto3~=1.25",
]
sqlalchemy = [
"sqlalchemy>=1.4",
]
peewee = [
"peewee>=3",
]
image = [
"Pillow>=10",
]
full = [
"boto3~=1.25",
"Pillow>=10",
"sqlalchemy>=1.4",
"peewee>=3",
Expand Down
Loading