Metadata-Version: 2.4
Name: requests-text
Version: 1.0.2
Summary: Text transport adapter for Requests
Project-URL: Homepage, https://github.com/huakim/python-requests-text
Author-email: huakim <fijik19@gmail.com>
License: Apache 2.0
License-File: LICENSE
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Plugins
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Requires-Dist: requests>=1.0.0
Description-Content-Type: text/x-rst

Requests-Text
=============

Requests-Text is a transport adapter for use with the `Requests`_ Python
library to allow text under text:\/\/ URLs.

To use:

.. code-block:: python

    import requests
    from requests_text import TextAdapter

    s = requests.Session()
    s.mount('text://', TextAdapter())

    resp = s.get('text://sometext')

Features
--------

- Will open and read text
- Might set a Content-Length header
- That's about it

------------

Contributions welcome! Feel free to open a pull request against
https://github.com/huakim/python-requests-text

License
-------

To maximise compatibility with Requests, this code is licensed under the Apache
license. See LICENSE for more details.

.. _`Requests`: https://github.com/kennethreitz/requests
