Skip to main content

DjBurger

DjBurger logo

DjBurger logo

Build Status Documentation PyPI version Status Code size License

DjBurger – framework for safe and maintainable web-projects.

What DjBurger do?

  • Split Django views into steps for secure and clean code.

  • Provide built-in objects for all steps.

  • Integrates this many side libraries like Django REST Framework and Marshmallow.

DjBurger doesn’t depend on Django. You can use it in any projects if you want.

Read more into documentation.

Key principles

  1. Validation logic is separate from the main logic.

  2. Reusable logic for many views.

  3. Reusable input and output data formats.

  4. More clean views.

Dataflow

  1. Decorators. Feel free to use any side Django decorators like csrf_exempt.

  2. Parser. Parse request body.

  3. PreValidator. Validate and clear request.

  4. PreRenderer. Render and return PreValidation errors response.

  5. Controller. Main logic: do some things.

  6. PostValidator. Validate and clear response.

  7. PostRenderer. Render and return PostValidation errors response.

  8. Renderer. Render successful response.

Scheme

Scheme

Required only Controller and Renderer.

Explore

  1. Read documentation.

  2. See example project.

  3. For quick help just inspect djburger from python console (for example, help('djburger.views')).

  4. If you have some questions then view issues or create new.

  5. If you found some mistakes then fix it and create Pull Request. Contributors are welcome.

  6. Star this project on github :)

Metadata

Release files for djburger 0.11.1

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

Source distribution (sdist)

Source distribution for djburger 0.11.1
File Size Uploaded Provenance Actions
djburger-0.11.1.tar.gz 22.8 kB Without provenance Details for djburger-0.11.1.tar.gz

Release files / djburger-0.11.1.tar.gz

Download URL djburger-0.11.1.tar.gz
Size 22.8 kB
Tags Source
SHA-256 checksum
How to use checksums
1a3f9138eaf5b920a3ddc4f3b5123a1ae165dcd1ec6e580553f7af11995c6498
BLAKE2b-256 checksum
How to use checksums
15f5351bd351aefdbcee79ba12d05350597342f8b4ad536b9ebb0c3782783e4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.5.2

Security for djburger 0.11.1

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.

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