This project has been archived by its maintainers, and is no longer receiving any updates.
django-kittenstorage
kittenstorage is a so called development storage engine.
Many people have the problem with gigantomanic production databases with gigabytes of pictures/files. It is a pain to keep the image files synchronised between development and production environments.
Therefore I have written this storage engine. In case a file is not found, an image from placekitten.com will be used/displayed instead.
Setup
It’s on pypi.
pip install django-kittenstorage
Feel free to clone from github too. Forking is welcome as well :-)
In your django settings file:
DEFAULT_FILE_STORAGE = 'kittenstorage.storages.GreyKitten'
Storage Engines
kittenstorage offers two engines:
kittenstorage.storages.GreyKitten
kittenstorage.storages.ColorKitten
Choose depending on the saturation you want. I prefer GreyKitten since it does have a pretty classy look.
Settings
There is only one setting:
- KITTEN_SIZE
Default: (1024, 1024)
A tuple of format (width, height), specifiying the size of the image requested from placekitten.
Metadata
Release files for django-kittenstorage 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-kittenstorage-1.0.0.tar.gz | 2.6 kB | Without provenance | Details for django-kittenstorage-1.0.0.tar.gz |
Release files / django-kittenstorage-1.0.0.tar.gz
| Download URL | django-kittenstorage-1.0.0.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
48d3b50b365869e1c6bedea343154fd638fddddc7621489ba21551ece0f7d191
|
|
BLAKE2b-256 checksum How to use checksums |
298da0acc68277e7e14c37706b9db135ddd60fda8fe2bcc8e48577bcd742fdda
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-kittenstorage 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.