Skip to main content

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.APIBrowserServerMiddleware to the list of MIDDLEWAREs.
  • 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)

Source distribution for dj-apibrowser 0.2.0
File Size Uploaded Provenance Actions
dj-apibrowser-0.2.0.tar.gz 3.2 kB Without provenance Details for dj-apibrowser-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dj-apibrowser 0.2.0
File Interpreter ABI Platform Actions
dj_apibrowser-0.2.0-py3-none-any.whl Python 3 none any Details for dj_apibrowser-0.2.0-py3-none-any.whl

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

Security for dj-apibrowser 0.2.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.2.0 This release

2 release files No provenance

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