Skip to main content

django_datahooks

Note: this package is experimental

Installation

pip install django_datahooks

Usage

This module auto detects modules in your django apps at .datahooks.* and scans for classes extending django_datahooks.DataProvider to makes them available for the manage.py generate_data <provider> command.

Example:

from django.core.management import call_command
from django_datahooks import DataProvider


class PagesProvider(DataProvider):
    name = "pages"

    def run(self, **options):
        # Run creation commands

Release files for django-datahooks 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-datahooks 0.0.1
File Size Uploaded
django-datahooks-0.0.1.tar.gz 3.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-datahooks 0.0.1
File Interpreter ABI Platform
django_datahooks-0.0.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 8.8 kB

Release files / django-datahooks-0.0.1.tar.gz

Download URL django-datahooks-0.0.1.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3fb9a89010d41edfaf8847dfc89db31f4bb058e03819a1c5b04ab3203afe25f6
BLAKE2b-256 checksum
How to use checksums
20078d0c0196adff606c0a6695ab2e173205c639f42980cd57aa6994d3a0b933
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.2

Release files / django_datahooks-0.0.1-py2.py3-none-any.whl

Download URL django_datahooks-0.0.1-py2.py3-none-any.whl
Size 5.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
ad8313dacc93c05942feb2de8a3e856e295d99e256883847d55e3c7b7fb59e15
BLAKE2b-256 checksum
How to use checksums
4a322dac34190485462f20a310abad0e70deeed58e2f614dd041720ebfb0beba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.2

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page