Saturday 16 December 2023

Django HMAC Authentication 3.0.0 - Camellia Cipher support

 django-hmac-authentication package now supports Camellia cipher along with existing AES. User hmac secrets are secured with AES or Camellia 256 and chosen at random. To use feature just update package and run migrations.

pip install -U django-hmac-authentication

python migrate

version: 3.0.0




Friday 25 August 2023

Django HMAC Authentication 2.0.0

 Checkout a new version of Django HMAC Authentication on Pypi and code on GitHub. Update includes namespaced settings from previous versions.

Built on Debian, KDE and CI/CD on GitLab



Sunday 21 May 2023

Django HMAC Authentication

Checkout a Python package for Django HMAC authentication. Features include

1. Django model with HMAC shared encrypted secret

2. Authentication class HMACAuthentication

3. Requests timeout

4. Management command or a configured url to get key

5. Javascript and Python client examples

Check it out on



Tuesday 11 April 2023

Django salted api tokens

Django token authentication with hashed, salted tokens

Django model with token id and token protected with hash and salt

Authentication class using protected api tokens.

Code @ Github:



Sunday 19 March 2023

A Django Cacheable Model

 A cacheable model for django.


A generic way of creating cache keys from Django model fields

Retrieve django models from cache with field values (cache on the way if cache missed)

Retrieve all the model instances (suitable for small set of models)



Thursday 12 November 2020

Data structures using Python: Coils 3.0.1

1) Follow Hari's python datastructure library on GitHub

2) Install

pip install pycoils

3) License

Apache2 License

4) New Features

11 November 2020:

Bit vector data structure

5) List of data structures

Stack using python list
Queue using python list
Heap (Min & Max) using python list.
Binary Search Tree with link inversion traversal
SplayTree -do-
SeperateChainHashTable (3 types of chaining using LinkedList, SplayTree, BinarySearchTree)
DisjointSetWithUnion (uses uptree nodes and path compression)
Bit Vector

6) Examples and usage

Refer: pycoils/examples package