@@ -8,32 +8,46 @@ that make up the resources and mapping between objects (either a resource, or ot
8
8
9
9
Odin also comes with built in serialisation tools for importing and exporting data from resources.
10
10
11
- .. image :: https://img.shields.io/pypi/l/odin.svg?style=flat
12
- :target: https://pypi.python.org/pypi/odin/
13
- :alt: License
11
+ +---------+-------------------------------------------------------------------------------------------------------------+
12
+ | Docs/ | .. image:: https://readthedocs.org/projects/odin/badge/?version=latest |
13
+ | Help | :target: https://odin.readthedocs.org/ |
14
+ | | :alt: ReadTheDocs |
15
+ | | .. image:: https://img.shields.io/badge/gitterim-timsavage.odin-brightgreen.svg?style=flat |
16
+ | | :target: https://gitter.im/timsavage/odin |
17
+ | | :alt: Gitter.im |
18
+ +---------+-------------------------------------------------------------------------------------------------------------+
19
+ | Build | .. image:: https://github.com/python-odin/odin/actions/workflows/python-package.yml/badge.svg |
20
+ | | :target: https://github.com/python-odin/odin/actions/workflows/python-package.yml |
21
+ | | :alt: Python package |
22
+ | | .. image:: https://api.dependabot.com/badges/status?host=github&repo=python-odin/odin |
23
+ | | :target: https://dependabot.com |
24
+ | | :alt: Dependabot Status |
25
+ +---------+-------------------------------------------------------------------------------------------------------------+
26
+ | Quality | .. image:: https://sonarcloud.io/api/project_badges/measure?project=python-odin_odin&metric=sqale_rating |
27
+ | | :target: https://sonarcloud.io/dashboard?id=python-odin/odin |
28
+ | | :alt: Maintainability |
29
+ | | .. image:: https://sonarcloud.io/api/project_badges/measure?project=python-odin_odin&metric=security_rating |
30
+ | | :target: https://sonarcloud.io/project/security_hotspots |
31
+ | | :alt: Security |
32
+ | | .. image:: https://sonarcloud.io/api/project_badges/measure?project=python-odin_odin&metric=coverage |
33
+ | | :target: https://sonarcloud.io/code?id=python-odin_odin |
34
+ | | :alt: Test Coverage |
35
+ | | .. image:: https://img.shields.io/badge/code%20style-black-000000.svg |
36
+ | | :target: https://github.com/ambv/black |
37
+ | | :alt: Once you go Black... |
38
+ +---------+-------------------------------------------------------------------------------------------------------------+
39
+ | Package | .. image:: https://img.shields.io/pypi/v/odin |
40
+ | | :target: https://pypi.io/pypi/odin/ |
41
+ | | :alt: Latest Version |
42
+ | | .. image:: https://img.shields.io/pypi/pyversions/odin |
43
+ | | :target: https://pypi.io/pypi/odin/ |
44
+ | | .. image:: https://img.shields.io/pypi/l/odin |
45
+ | | :target: https://pypi.io/pypi/odin/ |
46
+ | | .. image:: https://img.shields.io/pypi/wheel/odin |
47
+ | | :alt: PyPI - Wheel |
48
+ | | :target: https://pypi.io/pypi/odin/ |
49
+ +---------+-------------------------------------------------------------------------------------------------------------+
14
50
15
- .. image :: https://img.shields.io/pypi/v/odin.svg?style=flat
16
- :target: https://pypi.python.org/pypi/odin/
17
-
18
- .. image :: https://img.shields.io/travis/python-odin/odin/master.svg?style=flat
19
- :target: https://travis-ci.org/python-odin/odin
20
- :alt: Travis CI Status
21
-
22
- .. image :: https://codecov.io/gh/python-odin/odin/branch/master/graph/badge.svg
23
- :target: https://codecov.io/gh/python-odin/odin
24
- :alt: Code cov
25
-
26
- .. image :: https://landscape.io/github/python-odin/odin/master/landscape.svg?style=flat
27
- :target: https://landscape.io/github/python-odin/odin/master
28
- :alt: Code Health
29
-
30
- .. image :: https://img.shields.io/requires/github/timsavage/odin.svg?style=flat
31
- :target: https://requires.io/github/timsavage/odin/requirements/?branch=master
32
- :alt: Requirements Status
33
-
34
- .. image :: https://img.shields.io/badge/gitterim-timsavage.odin-brightgreen.svg?style=flat
35
- :target: https://gitter.im/timsavage/odin
36
- :alt: Gitter.im
37
51
38
52
Highlights
39
53
**********
@@ -42,8 +56,7 @@ Highlights
42
56
* Fields for building composite resources
43
57
* Field and Resource level validation
44
58
* Easy extension to support custom fields
45
- * Python 2.7 :sup: `1`, Python 2.7+, Python 3.5+ and PyPy :sup: `1` supported
46
- * Integration with Django (see `baldr <https://github.com/python-odin/baldr >`_)
59
+ * Python 2.7 :sup: `1`, Python 2.7+, Python 3.6+ and PyPy :sup: `1` supported
47
60
* Support for documenting resources with `Sphinx <http://sphinx-doc.org/ >`_
48
61
* Minimal dependencies (base functionality only requires *six *)
49
62
@@ -52,7 +65,7 @@ Highlights
52
65
Use cases
53
66
*********
54
67
* Design, document and validate complex (and simple!) data structures
55
- * Convert structures to and from different formats such as JSON, YAML, MsgPack or CSV
68
+ * Convert structures to and from different formats such as JSON, YAML, MsgPack, CSV, TOML
56
69
* Validate API inputs
57
70
* Define message formats for communications protocols, like an RPC
58
71
* Map API requests to ORM objects
@@ -73,7 +86,6 @@ Upcoming features
73
86
* XML Codec (export completed)
74
87
* Complete documentation coverage
75
88
* Improvements for CSV Codec (writing, reading multi resource CSV's)
76
- * RESTful interface with support for Flask and Django
77
89
* Integration with other libraries (ie `Django <https://www.djangoproject.com/ >`_ Models/Forms)
78
90
* Integration with SQLAlchemy
79
91
@@ -88,6 +100,7 @@ Requires
88
100
* simplejson - Odin will use simplejson if it is available or fallback to the builtin json library
89
101
* msgpack-python - To enable use of the msgpack codec
90
102
* pyyaml - To enable use of the YAML codec
103
+ * toml - To enable use of the TOML codec
91
104
92
105
**Contrib **
93
106
0 commit comments