Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nicholascar/connegp
A small Python module that assists with tasks associated with Content Negotiation by Profile
https://github.com/nicholascar/connegp
Last synced: 25 days ago
JSON representation
A small Python module that assists with tasks associated with Content Negotiation by Profile
- Host: GitHub
- URL: https://github.com/nicholascar/connegp
- Owner: nicholascar
- License: gpl-3.0
- Created: 2019-10-11T08:04:19.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-21T12:31:58.000Z (about 5 years ago)
- Last Synced: 2024-09-14T02:37:40.147Z (about 2 months ago)
- Language: Python
- Size: 20.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
Conneg by P
============
This small library module assists with tasks related to `Content Negotiation by Profile `_, which is a `W3C Standard `_ about *how Internet clients may negotiate for content provided by servers based on data profiles to which the content conforms*.This module available via PyPI: https://pypi.org/project/connegp/
Library Structure
------------------
The library really only consists of a few classes:* :code:`LinkHeaderParser`
* parses ``Link`` headers, of the sort generated by Conneg by P HTTP *Functional Profile*-compliant systems
* can separate out profiles, described as per the Conneg by P HTTP's `list profiles `_ function
* can separate out profile URI/token mappings, as per the Conneg by P `Link Attributes <#link-attributes>`_ specification.* :code:`AcceptProfileHeaderParser`
* parses ``Accept-Profile`` headers, of the sort needed to be supplied by clients when requesting content by profile according to Conneg by P's HTTP *Functional Profile*
See the code itself for class and method documentation!
Licence
-------This is licensed under GNU General Public License (GPL) v3.0. See the `license deed `_ for more details.
Contacts
--------
*Lead Developer*:| **Nicholas Car**
| *Data Systems Architect*
| `SURROUND Australia Pty Ltd `_
|
|