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 = [
    ...
    '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.1.tar.gz (37.5 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.1-py3-none-any.whl (46.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_datashow-0.1.1.tar.gz
  • Upload date:
  • Size: 37.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.11

File hashes

Hashes for django_datashow-0.1.1.tar.gz
Algorithm Hash digest
SHA256 acb96d5395326d3af4ecfc9880eba6e3f54a5986bc546d3622014cebdf3fefac
MD5 bd60a25f4ef4947e72a3cef57dee0378
BLAKE2b-256 5d3454faafb2c60c4794aa20a9a9f09dfe0a616d28967367c0ea53ec7e821a6e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_datashow-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3e61c83b8e7064db22d6c124dbe23e2052f638827871bc5f7b565b63e733e2e4
MD5 e10cf87ac668270fc6e6d55d49985b45
BLAKE2b-256 99a1e9fe257ad5e4dafcd84070bc9187f4559fef2d08a3fe7fbdf462a0e3b565

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