Flexible framework to check permissions to URIs and forward HTTP requests
Project description
DjaoDjin-Rules
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.5
- enables override of entry_point/enc_key
- raises an error when trying to create a path with invalid characters
- supports OpenAPI 3 schemas
Project details
Release history Release notifications | RSS feed
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.5.tar.gz
(51.6 kB
view hashes)
Built Distribution
Close
Hashes for djaodjin_rules-0.4.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48bc8761bc1ed8c801dd4442ef83cf7edaf672095a7eb63535c0ffbed819eebc |
|
MD5 | f6fe58097f641c34bcba78ae0fb6452f |
|
BLAKE2b-256 | b342c05f9019d4b52506ed90e13201f1f342d5ead418c6cef9725a34a789d87a |