Present your datasets on your django site
Project description
django-datashow
A Django app to show SQLite datasets as tables with configurable features:
- column value formatting
- column sorting
- column facets and filters
- searching via SQLite's FTS5
- pagination
- exporting to CSV
- row-level detail view.
This app is designed for read-only (or rarely updated) datasets that you want to publish on the web and where you control and trust the content.
Installation
pip install django-datashow
Add datashow to your INSTALLED_APPS in settings.py:
INSTALLED_APPS = [
...
"django.contrib.auth",
"django.contrib.contenttypes",
"django.contrib.sessions",
"django.contrib.humanize", # for number formatting
...
'datashow',
...
]
Hook up the datashow URLs in your project's urls.py:
from django.urls import path, include
urlpatterns = [
...
path('data/', include('datashow.urls')),
...
]
Settings
You can configure the following settings in your settings.py:
DATASHOW_DB_CACHE_PATH: Path to the SQLite database cache directory. If not set, uses a temporary directory. When the SQLite file needs to be read, it gets copied from your MEDIA storage to this cache path. A new dataset version invalidates the cache.DATASHOW_STORAGE_BACKEND: The Django storage backend name to use for storing the SQLite files. Default is"default".
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_datashow-0.1.9.tar.gz.
File metadata
- Download URL: django_datashow-0.1.9.tar.gz
- Upload date:
- Size: 39.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d7159bff2121e839a2fb0a71c73f643005fbe27c2b572ddfb9b167c2a9d5726
|
|
| MD5 |
616b8e5b60902baf29a753ed426eb7f4
|
|
| BLAKE2b-256 |
64908f99593839d6236317e77f0c380e54f96dc9d8f2c0c1ce7e9caf9886d9cb
|
File details
Details for the file django_datashow-0.1.9-py3-none-any.whl.
File metadata
- Download URL: django_datashow-0.1.9-py3-none-any.whl
- Upload date:
- Size: 49.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ab1392b6986a9a09f218177268adc6bf3e68226c52335d9fa47edb6fd2d7c6a
|
|
| MD5 |
cce584d7031004b8133abb9e53a405aa
|
|
| BLAKE2b-256 |
99f86f39cb88a2ca6b177b5b5824100019b64154d27338cf8a894c4df4b68f70
|