Skip to main content
django-ripozo
=============

Integrates ripozo with django for fast, flexible
Hypermedia, HATEOAS, and other REST apis.

`Full django-ripozo documentation <>`_

Looking for the `ripozo documentation?<http://ripozo.readthedocs.org/>`_

Minimal App
-----------

You'll need to instantiate the django project in
the standard manner. If you aren't sure how to
do this, check out the excellent
`django documentation.<https://docs.djangoproject.com/en/1.8/intro/tutorial01/>`_

In your app you'll need a resources.py file.

.. code-block:: python

from ripozo import ResourceBase, apimethod

class MyResource(ResourceBase):
@apimethod(methods=['GET'])
def say_hello(cls, request):
return cls(properties=dict(hello='world'))

And in your urls.py file

.. code-block:: python

from ripozo.adapters import SirenAdapter, HalAdapter
from .resources import MyResource

dispatcher = DjangoDispatcher()
dispatcher.register_resources(MyResource)
dispatcher.register_adapters(SirenAdapter, HalAdapter)

urlpatterns = dispatcher.url_patterns

And just like that you have a fully functional application.

Looking for a more extensive example?
Check out an `example<http://django-ripozo.readthedocs.org/en/latest/tutorial/setup.html>`_
with database interactions as well.

Metadata

Release files for django-ripozo 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 django-ripozo 0.2.0
File Size Uploaded
django-ripozo-0.2.0.tar.gz 14.2 kB Details

Release files / django-ripozo-0.2.0.tar.gz

Download URL django-ripozo-0.2.0.tar.gz
Size 14.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9f9465f9ac117408aa6951fedf4f1905c3c08e083659d097af452e0d74a069cb
BLAKE2b-256 checksum
How to use checksums
b931361426e7ffff77774d6be9a4695da97141ce57cbbadf6d45c4e2fe4401eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

1.1.0

1 release file

1.0.0

1 release file

This release

0.2.0 This release

1 release file

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