Skip to main content

Generic Django Apps Plugin System

Project description

The GDAPS library allows Django to make real "pluggable" apps.

A standard Django "app" is reusable (if done correctly), but is not pluggable, like being distributed and "plugged" into a Django main application without modifications. GDAPS is filling this gap.

The reason you want to use GDAPS is: you want to create an application that should be extended via plugins. GDAPS consists of a few bells and twistles where Django lacks "automagic":

  • Apps are automatically found using setuptools' entry points
  • Apps can provide their own URLs (they are included and merged into urlpatterns automatically)
  • Apps can define Interfaces, that other GDAPS apps then can implement
  • Apps can provide template hooks that can be filled with plugins' content

Limitations

  • GDAPS interfaces cannot inherit classes that import models (like PermissionRequiredMixin), as the declaration is too early in the Django setup process, and apps aren't loaded at that time.

Contribute

You can support me in various ways.

  • Test the code and write bug reports.
  • Write code
  • Suggest ideas (as bug report)
  • Support this work financially. Feel free to send me a few bucks vie Ethereum at 0xf29f45a3632a1721b9ea3795808337eba06e1814: Ethereum QR-code

Credits

I was majorly influenced by other plugin systems when writing this code, big thanks to them:

License

GDAPS is licensed under the BSD License, see License.

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

gdaps-0.8.2.tar.gz (3.0 MB view details)

Uploaded Source

Built Distribution

gdaps-0.8.2-py3-none-any.whl (30.3 kB view details)

Uploaded Python 3

File details

Details for the file gdaps-0.8.2.tar.gz.

File metadata

  • Download URL: gdaps-0.8.2.tar.gz
  • Upload date:
  • Size: 3.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.27.1

File hashes

Hashes for gdaps-0.8.2.tar.gz
Algorithm Hash digest
SHA256 7fbad37ce94706b3ac60a128ffe6440f75ad8eecf95f663fea66914380143b59
MD5 b9a2b4ebd94ee478ff4e0b988d12ac99
BLAKE2b-256 ee987f9c2191c1d56d78f77e52ba15c4c4da57d89813a2565e5f8ead311cbd7d

See more details on using hashes here.

Provenance

File details

Details for the file gdaps-0.8.2-py3-none-any.whl.

File metadata

  • Download URL: gdaps-0.8.2-py3-none-any.whl
  • Upload date:
  • Size: 30.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.27.1

File hashes

Hashes for gdaps-0.8.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a943a9414e70ec639b4f784b9527ded1bf4a4c659d998dd91c2492d55ae7589a
MD5 a5ca24afcf31407345425776b094c9ed
BLAKE2b-256 8cf01aa708671eeab5f656400f570463e7ce709d2b4eeb1eb34b90c43fb2964d

See more details on using hashes here.

Provenance

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