The attachments module for building a SaaS product with Django
Project description
Django SaaS Attachments
The attachments module for building a SaaS product with Django.
Install
pip install django-saas-attachments
Then add it into your Django project settings.py:
INSTALLED_APPS = [
# ...
"saas",
"saas_attachments",
]
SAAS_ATTACHMENTS = {
"PROVIDERS": [
{
"backend": "saas_attachments.providers.s3.S3Provider",
"options": {
"name": "default",
"bucket_name": "my-bucket",
"region_name": "us-east-1",
"access_key_id": "secret:AWS_ACCESS_KEY_ID",
"secret_access_key": "secret:AWS_SECRET_ACCESS_KEY",
}
}
]
}
Features
- Tenant Isolation: All attachments are linked to a tenant.
- Async Uploads: Uses presigned URLs for direct-to-storage uploads.
- Media Types: Specialized models for Image, Audio, and Video.
- Provider Support: Extensible storage provider system (S3 included).
- Cleanup: Built-in management command to clean up abandoned uploads.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_saas_attachments-0.1.0.tar.gz.
File metadata
- Download URL: django_saas_attachments-0.1.0.tar.gz
- Upload date:
- Size: 17.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
567c68a2fef12e41b89a4ba2ad0a4273227c3d43e90e78d6bf10c3b1edd435d7
|
|
| MD5 |
b1d5659c58842e745eb321d2f596b87b
|
|
| BLAKE2b-256 |
4f8eda29369ffd199695b9d151e354b7aee86f1a91d8905c077efbf02897a5b4
|
Provenance
The following attestation bundles were made for django_saas_attachments-0.1.0.tar.gz:
Publisher:
pypi.yml on django-saas/django-saas-attachments
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
django_saas_attachments-0.1.0.tar.gz -
Subject digest:
567c68a2fef12e41b89a4ba2ad0a4273227c3d43e90e78d6bf10c3b1edd435d7 - Sigstore transparency entry: 936960621
- Sigstore integration time:
-
Permalink:
django-saas/django-saas-attachments@c488662b03e69f8f8a6b2491962beccbb7b66a97 -
Branch / Tag:
refs/tags/0.1.0 - Owner: https://github.com/django-saas
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@c488662b03e69f8f8a6b2491962beccbb7b66a97 -
Trigger Event:
push
-
Statement type:
File details
Details for the file django_saas_attachments-0.1.0-py3-none-any.whl.
File metadata
- Download URL: django_saas_attachments-0.1.0-py3-none-any.whl
- Upload date:
- Size: 16.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b333c996a2759a3124b48d7ea022faba447eb4a4c0f7d7ce8b45127984f48ab
|
|
| MD5 |
9b4e2249f3d58174d3ac0b301becca3c
|
|
| BLAKE2b-256 |
cca1d2ac20518657c905981bea40bd54cc07e449d484939e4f257891ab6f9daa
|
Provenance
The following attestation bundles were made for django_saas_attachments-0.1.0-py3-none-any.whl:
Publisher:
pypi.yml on django-saas/django-saas-attachments
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
django_saas_attachments-0.1.0-py3-none-any.whl -
Subject digest:
0b333c996a2759a3124b48d7ea022faba447eb4a4c0f7d7ce8b45127984f48ab - Sigstore transparency entry: 936960628
- Sigstore integration time:
-
Permalink:
django-saas/django-saas-attachments@c488662b03e69f8f8a6b2491962beccbb7b66a97 -
Branch / Tag:
refs/tags/0.1.0 - Owner: https://github.com/django-saas
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@c488662b03e69f8f8a6b2491962beccbb7b66a97 -
Trigger Event:
push
-
Statement type: