Utilities for Django REST Framework
Project description
djangorestframework-utils
=========================
|pypi-version| |build-status-image| |codecov|
Overview
--------
Utilities for Django REST Framework
Requirements
------------
- Python (2.7, 3.3, 3.4)
- Django (1.6, 1.7, 1.8)
- Django REST Framework (3.0, 3.1)
Installation
------------
Install using ``pip``\ …
.. code:: bash
$ pip install djangorestframework-utils
Features
--------
* VerboseMetadata (which is more verbose and not ambiguous like ``SimpleMetadata``)
* modelserializer_factory
VerboseMetadata features
------------------------
* Add field's ``allow_null`` and ``default`` properties
* Include ``pattern`` property for ``RegexField``
* Include ``max_digits`` and ``decimal_places`` properties for ``DecimalField``
For further information, see the [documentation](http://benzid_wael.github.io/djangorestframework-utils/docs).
Example
-------
TODO: Write example.
Documentation & Support
-----------------------
Full documentation for the project is available at `docs`_.
You may also want to follow the `author`_ on Twitter.
.. _tox: http://tox.readthedocs.org/en/latest/
.. _author: https://twitter.com/benzid_wael
.. |build-status-image| image:: https://secure.travis-ci.org/benzid-wael/djangorestframework-utils.svg?branch=master
:target: http://travis-ci.org/benzid-wael/djangorestframework-utils?branch=master
.. |codecov| image:: https://codecov.io/github/benzid-wael/djangorestframework-utils/coverage.svg?branch=master
:target: https://codecov.io/github/benzid-wael/djangorestframework-utils?branch=master
.. |pypi-version| image:: https://img.shields.io/pypi/v/djangorestframework-utils.svg
:target: https://pypi.python.org/pypi/djangorestframework-utils
=========================
|pypi-version| |build-status-image| |codecov|
Overview
--------
Utilities for Django REST Framework
Requirements
------------
- Python (2.7, 3.3, 3.4)
- Django (1.6, 1.7, 1.8)
- Django REST Framework (3.0, 3.1)
Installation
------------
Install using ``pip``\ …
.. code:: bash
$ pip install djangorestframework-utils
Features
--------
* VerboseMetadata (which is more verbose and not ambiguous like ``SimpleMetadata``)
* modelserializer_factory
VerboseMetadata features
------------------------
* Add field's ``allow_null`` and ``default`` properties
* Include ``pattern`` property for ``RegexField``
* Include ``max_digits`` and ``decimal_places`` properties for ``DecimalField``
For further information, see the [documentation](http://benzid_wael.github.io/djangorestframework-utils/docs).
Example
-------
TODO: Write example.
Documentation & Support
-----------------------
Full documentation for the project is available at `docs`_.
You may also want to follow the `author`_ on Twitter.
.. _tox: http://tox.readthedocs.org/en/latest/
.. _author: https://twitter.com/benzid_wael
.. |build-status-image| image:: https://secure.travis-ci.org/benzid-wael/djangorestframework-utils.svg?branch=master
:target: http://travis-ci.org/benzid-wael/djangorestframework-utils?branch=master
.. |codecov| image:: https://codecov.io/github/benzid-wael/djangorestframework-utils/coverage.svg?branch=master
:target: https://codecov.io/github/benzid-wael/djangorestframework-utils?branch=master
.. |pypi-version| image:: https://img.shields.io/pypi/v/djangorestframework-utils.svg
:target: https://pypi.python.org/pypi/djangorestframework-utils
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
Built Distribution
File details
Details for the file djangorestframework-utils-0.0.1.tar.gz
.
File metadata
- Download URL: djangorestframework-utils-0.0.1.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 282998c4b933f98e8beffdea52f91414f847ae02d69bb80fc0f5a27030fba798 |
|
MD5 | 11a3c58ae0cdb24031d3a1c764d77a6c |
|
BLAKE2b-256 | 45032aac0a78969fe104135438a9651881359225c3f3fa05c0684e993fcafce2 |
File details
Details for the file djangorestframework_utils-0.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: djangorestframework_utils-0.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 422ccd13672c9029564be2707465990d83727490613b9e9ae96c6e5a6bb41da7 |
|
MD5 | fad392b62400e190b82066ab6efd2783 |
|
BLAKE2b-256 | 31e5b8d1d57a65991c7c26e5007008f5fbe7cd2eb38c4b67d63705d8cf072589 |