Skip to main content

1 Shared Django utilities

Version:

0.20.1

Build status Code quality checks Ruff Coverage status Documentation Status

python-versions django-versions pypi-version

Re-usable utilities for Maykin Django projects.

Maykin’s Django projects all share a common base: default-project to provide a consistent and recognizable structure accross projects. This library bundles some shared utilities that are common in (most) projects but are too small/specific to warrant a separate library.

maykin-common acts as a vehicle to quickly propagate changes and useful helpers to a large number of projects that would otherwise all have to be updated manually and one-by-one, a labour-intensive task.

What’s up with the name?

A similar utility for the client side exists: https://github.com/maykinmedia/client-common so we wanted to mimick this naming pattern. The NPM package has namespacing: @maykinmedia/client-common, but this doesn’t exist on PyPI, while using django-common as a PyPI package name might just be a bit arrogant.

So, the repository maykinmedia/django-common perfectly covers the contents and purpose of the package, while the PyPI package keeps the imports short and focused: maykin_common, while leaving room for potential future non-Django packages.

2 Installation and usage

See the documentation: https://maykin-django-common.readthedocs.io/en/latest/

3 Local development

To install and develop the library locally, use:

pip install -e .[tests,docs,release,pdf,mfa,axes,vcr]

When running management commands via django-admin, make sure to add the root directory to the python path (or use python -m django <command>):

export PYTHONPATH=. DJANGO_SETTINGS_MODULE=testapp.settings
django-admin check
# or other commands like:
# django-admin makemessages -l nl

Run the tests with:

tox

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

maykin_common-0.20.1.tar.gz (63.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

maykin_common-0.20.1-py3-none-any.whl (72.6 kB view details)

Uploaded Python 3

File details

Details for the file maykin_common-0.20.1.tar.gz.

File metadata

  • Download URL: maykin_common-0.20.1.tar.gz
  • Upload date:
  • Size: 63.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for maykin_common-0.20.1.tar.gz
Algorithm Hash digest
SHA256 671dea05d868dc783675fa711126d8961df2e9f45f4856e002f05500c02b7c3b
MD5 a8e3da5982b968e40cbb4d644a034d4d
BLAKE2b-256 cdca9416b1298e46b45d8e9017a97818574c1f4dee79c8448d801ac9e36c7e63

See more details on using hashes here.

Provenance

The following attestation bundles were made for maykin_common-0.20.1.tar.gz:

Publisher: ci.yml on maykinmedia/django-common

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file maykin_common-0.20.1-py3-none-any.whl.

File metadata

  • Download URL: maykin_common-0.20.1-py3-none-any.whl
  • Upload date:
  • Size: 72.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for maykin_common-0.20.1-py3-none-any.whl
Algorithm Hash digest
SHA256 daeb41dfc40c196988a1685553df7904c9373ca86c63213d350a2d93df36917d
MD5 af09a1181cbc037e05037121f127ff34
BLAKE2b-256 c1569751763e409dd8a97b7dc36f6290908c026b7934d5b337e3701fd72cf1a9

See more details on using hashes here.

Provenance

The following attestation bundles were made for maykin_common-0.20.1-py3-none-any.whl:

Publisher: ci.yml on maykinmedia/django-common

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.20.1 This release

2 files

0.20.0

2 files

0.19.1

2 files

0.19.0

2 files

0.18.0

2 files

0.17.0

2 files

0.16.0

2 files

0.15.1

2 files

0.15.0

2 files

0.14.0

2 files

0.13.0

2 files

0.12.0

2 files

0.11.0

2 files

0.10.0

2 files

0.9.1

2 files

0.9.0

2 files

0.8.0

2 files

0.7.0

2 files

0.6.0

2 files

0.5.0

2 files

0.4.0

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.0

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page