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.11.tar.gz (39.8 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.11-py3-none-any.whl (49.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_datashow-0.1.11.tar.gz
  • Upload date:
  • Size: 39.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.4 {"installer":{"name":"uv","version":"0.11.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for django_datashow-0.1.11.tar.gz
Algorithm Hash digest
SHA256 b8de026068ea7dc356a9691fdec58e98155abf86091760569e64ed417b709e4f
MD5 bc6f042ecf6b0bb360c40ba3beaaa3d5
BLAKE2b-256 e51b2b3bf03bffaf31d49822f221a37798cf6a0c18a1e57722de5303fc71f062

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_datashow-0.1.11-py3-none-any.whl
  • Upload date:
  • Size: 49.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.4 {"installer":{"name":"uv","version":"0.11.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for django_datashow-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 24fc50111cc22c5cbcd5237eff9f154e4dd447bdf0299443e45b169b14c77447
MD5 6f8b8e2d6fdbf9aa6e1b8668c004bcbf
BLAKE2b-256 a94c99dc8961dcfdc82fc8cf18e9f545ae21f6b0edb1b42e6f25932b075febb6

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