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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for gdaps-0.8.4.tar.gz
Algorithm Hash digest
SHA256 5548387801908e6ed3e129634346910e3b7661546d1faf5b561eedd85bed88d8
MD5 d7b99cf64d523ab144b1be36578e2d6a
BLAKE2b-256 d66a10a59b6ec7de52045cd2ef2a29d04e7daf8ffc97a4a099dc2459f76ebb6d

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for gdaps-0.8.4-py3-none-any.whl
Algorithm Hash digest
SHA256 eb49fd432a0355796f0d5dc81ee1e212a582de2c33466e37add46d991680c7fa
MD5 b3f399a8320891d83b2a97f780f386a4
BLAKE2b-256 205e73459198c04bdcfcd599072218fd21f65ab063dd50a6f16c0645543eb086

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