Libraries
Private packages and libraries used across applications
Overview
This section contains documentation for private packages and libraries developed and maintained internally. These libraries are used across multiple applications in the ecosystem.
Browse Libraries
Navigate through the sidebar to explore individual library documentation, or use the search feature to find specific packages.
1 - bannerclick
Private package library
Overview
Private package library used across multiple applications.
Repository
Documentation
bannerclick
bannerclick api to set redirects and track visits
[Full documentation available in the repository README]
Usage
This library is used by 1 application(s):
2 - django-bulk-redirects
Bulk redirector
Overview
Bulk redirector
Repository
Latest Release
- Version: 0.46
- Published: 2023-07-18
Documentation
django-bulk-redirects
Service logic to handle redirects from one service to another.
[Full documentation available in the repository README]
Usage
This library is used by 1 application(s):
3 - django-cardutils
Payment card utilities.
Overview
Payment card utilities.
Repository
Documentation
django-cardutils
Payment card utilities.
[Full documentation available in the repository README]
Usage
This library is used by 1 application(s):
4 - django-cors-headers-model
Persistent CORS configuration restrored.
Overview
Persistent CORS configuration restrored.
Repository
Documentation
django-cors-headers-model
Persistent CORS configuration restrored.
[Full documentation available in the repository README]
Usage
This library is used by 4 application(s):
5 - django-drf-extensions
Standard extensions for Django Rest Framework.
Overview
Standard extensions for Django Rest Framework.
Repository
Latest Release
- Version: 0.7
- Published: 2023-08-04
Documentation
django-drf-extensions
Standard extensions for Django Rest Framework.
[Full documentation available in the repository README]
Usage
This library is used by 10 application(s):
6 - django-hut-python-validators
extensions to hut-python-validators to allow for usage in django.
Overview
extensions to hut-python-validators to allow for usage in django.
Repository
Latest Release
- Version: v0.5
- Published: 2025-11-07
Documentation
django-hut-python-validators
extensions to hut-python-validators to allow for usage in django.
[Full documentation available in the repository README]
Usage
This library is used by 1 application(s):
7 - django-hut-theme
Simple Hut branded django admin theme
Overview
Simple Hut branded django admin theme
Repository
Documentation
django-hut-theme
Simple Hut branded django admin theme.
[Full documentation available in the repository README]
Usage
This library is used by 13 application(s):
8 - django-microservice
Base functionality for django based microservice
Overview
Base functionality for django based microservice
Repository
Documentation
django-microservice
App that will install and configure Django / Django Rest Framework (DRF) with a base set of functionality and sensible defaults.
NOTE: Version 2.x has a pile of backwards-incompatible breaking changes. See CHANGELOG.md for exact details.
Requirements
- Python (3.6.8, 3.7.x)
- Django (3.2)
Installation
As the package is hosted on Gemfury, :code:FURY_AUTH should be in your environment variables with a valid deploy token.
Use pip (version > 20.0) to install.
.. code-block:: bash
pip install django-microservice --extra-index-url https://${FURY_AUTH}:@pypi.fury.io/hutfortytwo/
Or, in your :code:requirements.txt like:
.. code-block:: python
[...]
# Private requirements
--extra-index-url https://${FURY_AUTH}:@pypi.fury.io/hutfortytwo/
django-microservice>=2.0,<3.0
Add :code:'microservice' to your :code:INSTALLED_APPS setting.
.. code-block:: python
INSTALLED_APPS = [
...
'microservice',
]
Installed Apps
[Full documentation available in the repository README]
Usage
This library is used by 5 application(s):
9 - django-rest-cereal
Simple dynamic serializers for DRF.
Overview
Simple dynamic serializers for DRF.
Repository
Documentation
django-rest-cereal
Simple dynamic serializers for DRF.
[Full documentation available in the repository README]
Usage
This library is used by 1 application(s):
10 - django-simpleaudit
Private package library
Overview
Private package library used across multiple applications.
Repository
Latest Release
- Version:
- Published: 2020-03-27
Documentation
django-simpleaudit
Django simple audit trail and Useful Mixin thing
[Full documentation available in the repository README]
Usage
This library is used by 2 application(s):
11 - epa-data-client
Python client for epa-data microservice.
Overview
Python client for epa-data microservice.
Repository
Documentation
{REPOSITORY_NAME}
{SHORT_DESCRIPTION}
[Full documentation available in the repository README]
Usage
This library is not currently used by any documented applications.
12 - flux-callme-sdk
Python SDK for flux-callme-service.
Overview
Python SDK for flux-callme-service.
Repository
Documentation
flux-callme-sdk
SDK for flux-callme-service.
[Full documentation available in the repository README]
Usage
This library is used by 2 application(s):
13 - flux-exchange-handler-sdk
SDK for creation of new Exchange Message Handlers
Overview
SDK for creation of new Exchange Message Handlers
Repository
Documentation
package
[Full documentation available in the repository README]
Usage
This library is used by 1 application(s):
14 - flux-go
Python library for Flux policy buying transactions.
Overview
Python library for Flux policy buying transactions.
Repository
Latest Release
- Version: v2.4
- Published: 2025-03-10
Documentation
flux-go
Python library for Flux policy buying transactions.
[Full documentation available in the repository README]
Usage
This library is used by 1 application(s):
15 - flux-goahead
Flux/TGSL policy processing library
Overview
Flux/TGSL policy processing library
Repository
Documentation
flux-goahead
Flux/TGSL policy processing library
[Full documentation available in the repository README]
Usage
This library is used by 2 application(s):
16 - flux-handler-sdk
Python SDK for flux-handler-service.
Overview
Python SDK for flux-handler-service.
Repository
Documentation
flux-handler-sdk
SDK for flux-handler-service.
[Full documentation available in the repository README]
Usage
This library is used by 1 application(s):
17 - flux-jobs
Flux job application capture and management
Overview
Flux job application capture and management
Repository
Latest Release
- Version: 0.73
- Published: 2023-07-26
Documentation
flux-jobs
Flux job application capture and management.
[Full documentation available in the repository README]
Usage
This library is used by 1 application(s):
- flux-jam - Job Application Management (JAM) backend for Adrian Flux job applications
18 - flux-sagepay
Payment library for Flux SagePay transactions.
Overview
Payment library for Flux SagePay transactions.
Repository
Latest Release
- Version: v2.7
- Published: 2025-07-30
Documentation
flux-sagepay
Payment library for Flux SagePay transactions.
[Full documentation available in the repository README]
Usage
This library is used by 2 application(s):
19 - flux-sitedata
Sitedata for Flux brands.
Overview
Sitedata for Flux brands.
Repository
Latest Release
- Version: 0.14
- Published: 2023-07-17
Documentation
flux-sitedata
Sitedata for Flux brands.
[Full documentation available in the repository README]
Usage
This library is used by 2 application(s):
20 - flux-sitedata-v2-shim
API compatibility shim for v1 clients to use v2 service.
Overview
API compatibility shim for v1 clients to use v2 service.
Repository
Latest Release
- Version: 1.3
- Published: 2023-07-17
Documentation
flux-sitedata-v2-shim
API compatibility shim for v1 clients to use v2 service.
This also includes the initial metadata models - these should be removed at the
earliest opportunity.
[Full documentation available in the repository README]
Usage
This library is used by 1 application(s):
21 - flux-tgsl-endpoints
Global TGSL test/live endpoints
Overview
Global TGSL test/live endpoints
Repository
Documentation
flux-tgsl-endpoints
Global TGSL test/live endpoints.
[Full documentation available in the repository README]
Usage
This library is used by 1 application(s):
22 - flux-tgsl-listdata
Flux TGSL list and system data
Overview
Flux TGSL list and system data
Repository
Documentation
flux-tgsl-listdata
Flux TGSL list and system data
[Full documentation available in the repository README]
Usage
This library is used by 1 application(s):
23 - hut-django-models
Private package library
Overview
Private package library used across multiple applications.
Repository
Documentation
hut-django-models
Common Django models that are used by Hut.
============
HutBaseModel
Base model that all models should inherit from.
Adds core base functionality to all models in an application.
A uuid field will be used in APIs etc. in order to hide the numerical PK.
The created_by, created_at, updated_by and created_at are all fields
used for a simple audit trail type operation.
history is a hook into https://github.com/jazzband/django-simple-history
which will track changes at an object level.
Add it to the middleware classes in your settings.py::
MIDDLEWARE = (
...,
'django_currentuser.middleware.ThreadLocalUserMiddleware',
)
[Full documentation available in the repository README]
Usage
This library is used by 2 application(s):
24 - hut-python-cardutils
Payment card utilities.
Overview
Payment card utilities.
Repository
Documentation
django-cardutils
Payment card utilities.
[Full documentation available in the repository README]
Usage
This library is used by 1 application(s):
25 - hut-python-validators
Python data normalization and validation.
Overview
Python data normalization and validation.
Repository
Latest Release
- Version: v0.5
- Published: 2025-11-07
Documentation
hut-python-validators
Python data normalization and validation for UK-specific formats.
This library provides utilities to normalize and validate common UK data formats including postcodes, vehicle registration numbers, and telephone numbers.
============
Installation
.. code-block:: bash
pip install hut-python-validators
========
Features
UK Postcodes
Normalize and validate UK postcodes according to the Royal Mail PAF format.
normalize_postcode
Normalizes a UK postcode by converting to uppercase, removing spaces, and optionally reformatting with a space before the last three characters.
.. code-block:: python
from hut_validators.postcodes import normalize_postcode
# Basic normalization (adds space)
normalize_postcode("ec1a1bb")
# Returns: 'EC1A 1BB'
# Without space
normalize_postcode("ec1a1bb", add_space=False)
# Returns: 'EC1A1BB'
# Handles existing spaces and whitespace
normalize_postcode(" EC1A 1BB ")
# Returns: 'EC1A 1BB'
**Parameters:**
* ``postcode`` (str): The postcode to normalize
* ``add_space`` (bool, optional): Whether to insert a space before the last three characters. Defaults to True.
*[Full documentation available in the repository README]*
## Usage
This library is used by 2 application(s):
26 - regabi-client
Python client for RegAbi microservice
Overview
Python client for RegAbi microservice
Repository
Documentation
regabi-client
Python client for RegAbi microservice
[Full documentation available in the repository README]
Usage
This library is not currently used by any documented applications.
27 - sources-client
Python client for sources microservice.
Overview
Python client for sources microservice.
Repository
Documentation
sources-client
Python client for sources microservice.
[Full documentation available in the repository README]
Usage
This library is not currently used by any documented applications.
28 - tgsl
TGSL request / trace related SDK.
Overview
TGSL request / trace related SDK.
Repository
Documentation
tgsl
TGSL request / trace related SDK.
[Full documentation available in the repository README]
Usage
This library is used by 1 application(s):
29 - tgsl-metadata
TGSL list metadata
Overview
TGSL list metadata
Repository
Documentation
tgsl-metadata
TGSL list metadata
[Full documentation available in the repository README]
Usage
This library is used by 1 application(s):