Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_datashow-0.1.7.tar.gz (39.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_datashow-0.1.7-py3-none-any.whl (48.9 kB view details)

Uploaded Python 3

File details

Details for the file django_datashow-0.1.7.tar.gz.

File metadata

  • Download URL: django_datashow-0.1.7.tar.gz
  • Upload date:
  • Size: 39.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.6.2

File hashes

Hashes for django_datashow-0.1.7.tar.gz
Algorithm Hash digest
SHA256 9c59d3e8d822341aa6bb571fe678a03481c115719d8d95282911a60b530fbc7e
MD5 84e2e293534cbc682963f5c6511101f2
BLAKE2b-256 28537dcde579d668f5f72a9f749f0fa04df5fc50e28058162048e049252bf91a

See more details on using hashes here.

File details

Details for the file django_datashow-0.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for django_datashow-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 fb147870b3941bc5d5ba3e1206c0df062e2f4bb144979456071a85e1d1c370f5
MD5 055e216a65db2525f770e0e61b6a7692
BLAKE2b-256 ec5cd644c10830a3c1922f12f5946b68226b562579d8935af657b33ee11204dc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page