connegp-0.2
توضیحات
This small library module assists with tasks related to Content Negotiation by Profile
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | connegp-0.2 |
| نام | connegp |
| نسخه کتابخانه | 0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Nicholas Car |
| ایمیل نویسنده | nicholas.car@surroundaustralia.com |
| آدرس صفحه اصلی | https://github.com/nicholascar/connegp |
| آدرس اینترنتی | https://pypi.org/project/connegp/ |
| مجوز | LICENSE |
Conneg by P
============
This small library module assists with tasks related to `Content Negotiation by Profile <https://www.w3.org/TR/dx-prof-conneg/>`_, which is a `W3C Standard <https://www.w3.org/standards/>`_ about *how Internet clients may negotiate for content provided by servers based on data profiles to which the content conforms*.
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 <https://www.w3.org/TR/dx-prof-conneg/#http-listprofiles>`_ 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 <LICENSE>`_ for more details.
Contacts
--------
*Lead Developer*:
| **Nicholas Car**
| *Data Systems Architect*
| `SURROUND Australia Pty Ltd <https://surroundaustralia.com>`_
| <nicholas.car@surroundaustralia.com>
| <http://orcid.org/0000-0002-8742-7730>
نحوه نصب
نصب پکیج whl connegp-0.2:
pip install connegp-0.2.whl
نصب پکیج tar.gz connegp-0.2:
pip install connegp-0.2.tar.gz