Generic GUI for any RESTful API
See the demo at https://apibrowser-demo.herokuapp.com/ (source).
dj-apibrowser itself is just a trivial middleware that serves APIBrowser, which is written in JS, and works purely in the web browser. It returns the APIBrowser HTML code whenever a web browser navigates to a page.
Installation
pip install dj-apibrowser
settings.py
- Add
dj_apibrowser.APIBrowserServerMiddlewareto the list ofMIDDLEWAREs. - If neccesary, specify on which endpoints should we serve APIBrowser. Default config means that this is disabled on paths starting from /admin/, and enabled on all other paths:
API_ENDPOINTS = [
('admin/', False),
('', True),
]
Metadata
Release files for dj-apibrowser 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dj-apibrowser-0.2.0.tar.gz | 3.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dj_apibrowser-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.8 kB
Release files / dj-apibrowser-0.2.0.tar.gz
| Download URL | dj-apibrowser-0.2.0.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f52af3f2c723dc689ee4345f4d96ad94336d0403945b229fef8b94fcf3842786
|
|
BLAKE2b-256 checksum How to use checksums |
11f80bf14e06221d652d6765e8c8c4b68a80bd9b74b49ff3e40d33de1609b585
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
|
Release files / dj_apibrowser-0.2.0-py3-none-any.whl
| Download URL | dj_apibrowser-0.2.0-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d664ef728df38ec134e4b9727cfbefe028e1dfe1691b4e7ac3694650909ae365
|
|
BLAKE2b-256 checksum How to use checksums |
f8cc08ca96363d631a9e4d834ea9355b750f255fdc4e6b6c898cfe0a46a68f56
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
|