Skip to main content

build-status-image pypi-version

Overview

An ad-hoc DRF policy service to assist with complex authorization requirements

Requirements

  • Python (2.7, 3.3, 3.4)

  • Django (1.6, 1.7, 1.8)

  • Django REST Framework (2.4, 3.0, 3.1)

Installation

Install using pip…

$ pip install drfpolicy

Example

TODO: Write example.

Testing

Install testing requirements.

$ pip install -r requirements.txt

Run with runtests.

$ ./runtests.py

You can also use the excellent tox testing tool to run the tests against all supported versions of Python and Django. Install tox globally, and then simply run:

$ tox

Documentation

To build the documentation, you’ll need to install mkdocs.

$ pip install mkdocs

To preview the documentation:

$ mkdocs serve
Running at: http://127.0.0.1:8000/

To build the documentation:

$ mkdocs build

Metadata

Release files for drfpolicy 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for drfpolicy 0.3.0
File Size Uploaded Provenance Actions
drfpolicy-0.3.0.tar.gz 5.1 kB Without provenance Details for drfpolicy-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for drfpolicy 0.3.0
File Interpreter ABI Platform Actions
drfpolicy-0.3.0-py2.py3-none-any.whl Python 3, Python 2 none any Details for drfpolicy-0.3.0-py2.py3-none-any.whl

Total release size: 10.6 kB

Release files / drfpolicy-0.3.0.tar.gz

Download URL drfpolicy-0.3.0.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
cc1a096a3e1265205f2f420b9e3fbc4c2e5ca8a7c46755dcc6972ead9ac3d62b
BLAKE2b-256 checksum
How to use checksums
5e30cc3ebf5300fb49a17862b0caa0719d215e8c9d32b984b637c4b103bcc4b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / drfpolicy-0.3.0-py2.py3-none-any.whl

Download URL drfpolicy-0.3.0-py2.py3-none-any.whl
Size 5.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
7d007b7e2075bff065a7b847ed31ac30744b5305601bfa86df23b6e2d07bb888
BLAKE2b-256 checksum
How to use checksums
6149e81ce57bf49c7190934f3a8499b1328ee9b18d04f6feeef659ed8e35c67b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for drfpolicy 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files No provenance

0.1.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page