UNICEF Snapshot
Snapshot is a library that provides snapshot of data changes on django model.
Installation
pip install unicef-snapshot
Setup
Add unicef_snapshot to INSTALLED_APPS in settings.py
- INSTALLED_APPS = [
… ‘unicef_snapshot’,
]
Usage
Use unicef-snapshot in serializers
from unicef_snapshot.serializers import SnapshotModelSerializer
- class ExampleSerializer(SnapshotModelSerializer):
…
Contributing
Environment Setup
To install the necessary libraries
$ make install
Coding Standards
See PEP 8 Style Guide for Python Code for complete details on the coding standards.
To run checks on the code to ensure code is in compliance
$ make lint
Testing
Testing is important and tests are located in tests/ directory and can be run with;
$ make test
Coverage report is viewable in build/coverage directory, and can be generated with;
Project Links
Continuos Integration - https://circleci.com/gh/unicef/unicef-snapshot/tree/develop
Source Code - https://github.com/unicef/unicef-snapshot
Metadata
Release files for unicef-snapshot 1.3
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 | Actions |
|---|---|---|---|---|
| unicef_snapshot-1.3.tar.gz | 8.4 kB | Without provenance | Details for unicef_snapshot-1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| unicef_snapshot-1.3-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for unicef_snapshot-1.3-py2.py3-none-any.whl |
Total release size: 16.9 kB
Release files / unicef_snapshot-1.3.tar.gz
| Download URL | unicef_snapshot-1.3.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8426b5c1e126eb56ea1f7ee26a340535661087656f10dcb2f90c839a6e074ffa
|
|
BLAKE2b-256 checksum How to use checksums |
a8e99aed55623bc9daf4c7482c954fcc5a53fcc1db3eec80611fb8ab1c7923c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.9
|
Release files / unicef_snapshot-1.3-py2.py3-none-any.whl
| Download URL | unicef_snapshot-1.3-py2.py3-none-any.whl |
|---|---|
| Size | 8.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
d86f3e5274daa6617436517c7c0d709034cdcac78d1b572f5a0127b9044d6763
|
|
BLAKE2b-256 checksum How to use checksums |
723fd049ec61568f1f1b1e96b03eb91cdc70dbc6caee2d80a64f7b8f401ab652
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.9
|
Security for unicef-snapshot 1.3
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.