A Django storage field that works everywhere. One import. Any backend. Zero plumbing.
Project description
pookieStorage
A Django storage field that works everywhere. One import. Any backend. Zero plumbing.
Installation
pip install pookie-storage
Quick start
Add to INSTALLED_APPS:
INSTALLED_APPS = [
...
"pookieStorage",
]
Configure your backends in settings.py:
POOKIE_STORAGE = {
"local": "core.storage.LocalStorage",
"cloud": "core.storage.MediaStorage",
}
POOKIE_STORAGE_BACKEND = "cloud"
Swap the import in your models:
from pookieStorage.fields import FileField
That is it. Your models, views, and business logic stay exactly the same.
See the Backend setup guide for full examples including Cloudflare R2 and AWS S3 configuration.
Documentation
Full documentation is available at https://pookie-storage.readthedocs.io
License
MIT
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 pookie_storage-0.1.2.tar.gz.
File metadata
- Download URL: pookie_storage-0.1.2.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0eaf3e8e131fce3646da18691cbf2314d0b8bd76fea44627f7398d1b3f5f0fb3
|
|
| MD5 |
f061d611476c91074e20276bba21c285
|
|
| BLAKE2b-256 |
b9c2d34b78a6af85d33f4dcf12f36b2923f515cface76640f6ff1c577eebeb41
|
File details
Details for the file pookie_storage-0.1.2-py3-none-any.whl.
File metadata
- Download URL: pookie_storage-0.1.2-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29d9ff44261208061093135c6c998d91a053cc6742394fdb1ff121d3c98c79ad
|
|
| MD5 |
956868808f3146d5ac821d5fc4d1b6ca
|
|
| BLAKE2b-256 |
7775bd3bd51678bad5d21633c4e85c411ad0699bc7fe6a3c1b9d64a4e3d0fbad
|