Introduction
django-datatap is a fixture system enabling applications to define their own loading and dumping process while supporting file asset storage.
Documentation: https://django-datatap.rtfd.org/
Requirements
Python 2.6 or later
Django 1.3 or later
Installation
Put ‘datatap’ into your INSTALLED_APPS section of your settings file.
Concept
Datataps are classes able to serialize and deserialize objects in their domain. A datatap maybe chained with another to provide serialization to a particular format or for objects to be read from a general data source like a zip file. Datataps also handle the serialization and deserialization of django File objects within the native objects allowing for assets to follow the application data.
Datatap includes a management command to allow dumping and loading to particular data stores (zip file, json file, S3, etc). Some datataps include the originating data tap so that the resulting data store can be automatically detected.
Datatap Command
Chain a series of datataps with the source starting at the left and the right most to write. Each datatap invocation is seperated by “–”
Format:
manage.py datatap <datataptype> <datatap vargs> [(-- <datataptype> <datatap vargs>), ...] (-- <destination datataptype> <datatap vargs>)
Example command line usage:
manage.py datatap Model contenttypes -- Zip -- File archive.zip manage.py datatap File archive.zip -- Zip -- Model #3rd party apps can register their own data taps manage.py datatap DocKitCMS --app=customapp1 --app=customapp2 --collection=blog --publicresource=myblog -- JSON -- Stream > objects.json
Metadata
Release files for django-datatap 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| django-datatap-0.0.1.tar.gz | 14.5 kB | Without provenance | Details |
Release files / django-datatap-0.0.1.tar.gz
| Download URL | django-datatap-0.0.1.tar.gz |
|---|---|
| Size | 14.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3d1fb2ec7833bc0547fe7e779e370e027cd0007024cb34d4735f0a76d6736e90
|
|
BLAKE2b-256 checksum How to use checksums |
b88b67d0b1856ed54c49260bbcce2245ec3c69e930d2c795c188e706712eaf5f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-datatap 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.