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

Uploaded Source

Built Distribution

gdaps-0.7.3-py3-none-any.whl (29.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gdaps-0.7.3.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.3.tar.gz
Algorithm Hash digest
SHA256 97da81f1589c6d1e0ce088a973661e99eb58fe014b62ac946a73f4cbd6259e7b
MD5 55a82d7ac19599a7b059937a20a16fdf
BLAKE2b-256 9fb4841ee264a1b017176e889f680aca8662529affa0261fd0c5a36abdf3c1d9

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for gdaps-0.7.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b49cd36247d25cb050f4c0f063cf7fa745702b9af18dfff376ec8acc998d0535
MD5 59cad1f24e6b5161ac837b8d0287987b
BLAKE2b-256 1b61a15ceec146011f8512a51e6e0c85bf81e2a5a05aacfeea0910bde71ea4fc

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