Django responses with cats from https://http.cat
Project description
.. role:: raw-html-m2r(raw)
:format: html
:raw-html-m2r:`<p align="center">`
:raw-html-m2r:`<img src="https://raw.githubusercontent.com/lotrekagency/cattp/master/logo.jpg" alt="Cattp Logo" />`
:raw-html-m2r:`<br>`
:raw-html-m2r:`<a href="https://travis-ci.org/lotrekagency/cattp" target="blank">
<img src="https://travis-ci.org/lotrekagency/cattp.svg?branch=master"></a>`
:raw-html-m2r:`<a href="https://codecov.io/gh/lotrekagency/cattp">
<img src="https://codecov.io/gh/lotrekagency/cattp/branch/master/graph/badge.svg" />
</a>`
.. raw:: html
<p>
Installation
------------
.. code-block:: sh
pip install cattp
Usage
-----
.. code-block:: python
from cattp.http import HttpCatResponse
def my_view():
return HttpCatResponse(status_code=200)
Run tests
---------
.. code-block:: sh
$ pip install -r requirements-dev.txt
$ make test
:format: html
:raw-html-m2r:`<p align="center">`
:raw-html-m2r:`<img src="https://raw.githubusercontent.com/lotrekagency/cattp/master/logo.jpg" alt="Cattp Logo" />`
:raw-html-m2r:`<br>`
:raw-html-m2r:`<a href="https://travis-ci.org/lotrekagency/cattp" target="blank">
<img src="https://travis-ci.org/lotrekagency/cattp.svg?branch=master"></a>`
:raw-html-m2r:`<a href="https://codecov.io/gh/lotrekagency/cattp">
<img src="https://codecov.io/gh/lotrekagency/cattp/branch/master/graph/badge.svg" />
</a>`
.. raw:: html
<p>
Installation
------------
.. code-block:: sh
pip install cattp
Usage
-----
.. code-block:: python
from cattp.http import HttpCatResponse
def my_view():
return HttpCatResponse(status_code=200)
Run tests
---------
.. code-block:: sh
$ pip install -r requirements-dev.txt
$ make test
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
cattp-0.0.1.tar.gz
(2.7 kB
view details)
Built Distribution
cattp-0.0.1-py3-none-any.whl
(3.7 kB
view details)
File details
Details for the file cattp-0.0.1.tar.gz
.
File metadata
- Download URL: cattp-0.0.1.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/18.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ed17c414ad4022fa880d23441b75bace8c233d8c44004f7fb2759a38c0e46bf |
|
MD5 | e0f2a8e3f89cd623f999a9f6a145b26a |
|
BLAKE2b-256 | 505c2ac30547e0ac922dcb4130ecb65d5c986b820b4cb897d1b24818b1436cae |
File details
Details for the file cattp-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: cattp-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/18.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41eca834e3749555f8b278a93f1088dc3bf274e8a1cb2929ee35418f38e8b5df |
|
MD5 | c51147828a7d003e11f1616dcbc5094d |
|
BLAKE2b-256 | 060b31a5f2846d03dec39b4a3145a370e25e8723a3e729940777dcbb208e43e7 |