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.7.2.tar.gz (3.0 MB view details)

Uploaded Source

Built Distribution

gdaps-0.7.2-py3-none-any.whl (28.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for gdaps-0.7.2.tar.gz
Algorithm Hash digest
SHA256 055cc3de7778c889eda8a3c986c4d4ffb25a58237c9ce355a21711eab64bca69
MD5 c324ba33009b0646591c0ca91de70987
BLAKE2b-256 2e2043e7d37f07e74caf45f65827bded288581d1f4b904d8d2d2174aefc4aedf

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for gdaps-0.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5f3e867e256149f536dd36a7ee5922dcaf17efa680188464b9bcf2ae842dd142
MD5 e74514bcc36f7a29ffeee28e1c3852e7
BLAKE2b-256 e84ea593d275c67fa62de34ad8f797e544867fa94ebe1ccc9d1bda99489c7c23

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