Skip to main content

Flexible framework to check permissions to URIs and forward HTTP requests

Project description

DjaoDjin-Rules

PyPI version

Flexible framework to check permissions to URIs and forward HTTP requests

This project contains bare bone templates. To see it in action, integrated into a full-fledged subscription-based session proxy with bootstrap-styled dashboards, take a look at djaoapp.

Development

After cloning the repository, create a virtualenv environment and install the prerequisites:

$ python -m venv .venv
$ source .venv/bin/activate
$ pip install -r testsite/requirements.txt

It remains to create the database and populate it with test data.

$ python ./manage.py migrate --run-syncdb --noinput
$ python ./manage.py loaddata testsite/fixtures/test_data.json

Run the testsite

$ python ./manage.py runserver

Release Notes

Tested with

  • Python: 3.7, Django: 3.2 (LTS)
  • Python: 3.10, Django: 4.2 (latest)
  • Python: 2.7, Django: 1.11 (legacy) - use testsite/requirements-legacy.txt

0.4.6

  • hotfix requests library timeout cannot be zero

previous release notes

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

djaodjin-rules-0.4.6.tar.gz (51.6 kB view hashes)

Uploaded Source

Built Distribution

djaodjin_rules-0.4.6-py3-none-any.whl (76.8 kB view hashes)

Uploaded Python 3

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