Skip to main content

KitchenArt utility package

Project description

KitchenArt DRF Utilities

This package contains helpers and utilities used at KitchenArt for django-based projects.

Features:

  • Base Class Model for timestamped and soft delete.
  • Serializer classes for timestamped.
  • View classes for soft delete.
  • Log Activity module
  • Basic publisher classes
  • Translation serializer classes
  • Helper parse identity from href
  • Custom drf exception handler

Installation

pip install ka-drf-utils

# or, if you'd like to use broker and translation
pip install ka-drf-utils[broker,translation]

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[0.2.0] - 2020 - 12 - 13

Removed

  • Remove translation module

Fixed

  • Fix exchange on publisher

[0.1.1] - 2020 - 12 - 09

Fixed

  • Fix history.md in a setup.py

[0.1.0] - 2020 - 12 - 09

Added

  • TimestampedSerializerMixin for Timestamped Model
  • SoftDeleteViewSetMixin for handling soft delete data
  • BaseModel for SoftDelete and Timestamped Model
  • Helper for parse identity from href
  • LinkHeaderPagination
  • Custom receiver django signal
  • Custom exception handler
  • BasicPublisher class
  • Translation module
  • Activity Log module

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

ka-drf-utils-0.2.0.tar.gz (7.4 kB view details)

Uploaded Source

File details

Details for the file ka-drf-utils-0.2.0.tar.gz.

File metadata

  • Download URL: ka-drf-utils-0.2.0.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.9

File hashes

Hashes for ka-drf-utils-0.2.0.tar.gz
Algorithm Hash digest
SHA256 3c3250d948699dd6295a7fcc62f584e636e3ff0a9b50704205b32398d166d9cd
MD5 5ca6aeadc0a73bb65cff7c8a9b91e8f4
BLAKE2b-256 e22b6b45176ef1ba703c6dff470d322a5e3a31f59f4c24e2feb4462b966a155e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page