All Projects → twisted → Treq

twisted / Treq

Licence: other
Python requests like API built on top of Twisted's HTTP client.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Treq

tahoe-lafs-public-clouds
tahoe-lafs backend drivers for no-cost cloud providers
Stars: ✭ 25 (-95.16%)
Mutual labels:  twisted
djangobot
Bridge between Slack and Django, via Channels
Stars: ✭ 66 (-87.23%)
Mutual labels:  twisted
Iwant
Commandline tool for searching and downloading files in LAN network, without any central server
Stars: ✭ 268 (-48.16%)
Mutual labels:  twisted
slackbridge
Bridge between IRC and Slack running on Kubernetes
Stars: ✭ 12 (-97.68%)
Mutual labels:  twisted
ROSE
ROSE project car race game
Stars: ✭ 24 (-95.36%)
Mutual labels:  twisted
kotori
A flexible data historian based on InfluxDB, Grafana, MQTT and more. Free, open, simple.
Stars: ✭ 73 (-85.88%)
Mutual labels:  twisted
prometheus-async
Async helpers for prometheus_client.
Stars: ✭ 136 (-73.69%)
Mutual labels:  twisted
Honeypy
A low to medium interaction honeypot.
Stars: ✭ 410 (-20.7%)
Mutual labels:  twisted
ncolony
A colony of interacting processes
Stars: ✭ 23 (-95.55%)
Mutual labels:  twisted
sockjs-cyclone
SockJS server support for the Cyclone web server
Stars: ✭ 26 (-94.97%)
Mutual labels:  twisted
tubes
A series of tubes.
Stars: ✭ 55 (-89.36%)
Mutual labels:  twisted
SnitchDNS
Database Driven DNS Server with a Web UI
Stars: ✭ 169 (-67.31%)
Mutual labels:  twisted
STUP-Protocol
Secure/Speedup TCP-like UDP protocol
Stars: ✭ 12 (-97.68%)
Mutual labels:  twisted
Cardinal
A Python IRC bot, designed to make adding functionality quick and simple.
Stars: ✭ 92 (-82.21%)
Mutual labels:  twisted
Umongo
sync/async MongoDB ODM, yes.
Stars: ✭ 331 (-35.98%)
Mutual labels:  twisted
Melkweg
Project Melkweg is only a tool testing the network latency between two computers.
Stars: ✭ 18 (-96.52%)
Mutual labels:  twisted
erk
Ərk is an open source, cross-platform IRC client written in Python 3, Qt 5, and Twisted.
Stars: ✭ 21 (-95.94%)
Mutual labels:  twisted
Twisted
Event-driven networking engine written in Python.
Stars: ✭ 4,442 (+759.19%)
Mutual labels:  twisted
Requests Threads
🎭 Twisted Deferred Thread backend for Requests.
Stars: ✭ 366 (-29.21%)
Mutual labels:  twisted
girc
💬 A simple chat client in Python/Twisted
Stars: ✭ 16 (-96.91%)
Mutual labels:  twisted

treq: High-level Twisted HTTP Client API

|pypi|_ |calver|_ |coverage|_ |documentation|_

treq is an HTTP library inspired by requests <https://requests.readthedocs.io/>_ but written on top of Twisted <https://www.twistedmatrix.com>'s Agents <https://twistedmatrix.com/documents/current/api/twisted.web.client.Agent.html>.

It provides a simple, higher level API for making HTTP requests when using Twisted.

.. code-block:: python

>>> import treq

>>> def done(response):
...     print(response.code)
...     reactor.stop()

>>> treq.get("https://github.com").addCallback(done)

>>> from twisted.internet import reactor
>>> reactor.run()
200

For more info read the docs <documentation>_.

Contributing

treq development is hosted on GitHub <https://github.com/twisted/treq>_.

We welcome contributions: feel to fork and send contributions over. See CONTRIBUTING.rst <https://github.com/twisted/treq/blob/master/CONTRIBUTING.rst>_ for more info.

Code of Conduct

Refer to the Twisted code of conduct <https://github.com/twisted/twisted/blob/trunk/code_of_conduct.md>_.

Copyright and License

treq is made available under the MIT license. See LICENSE <./LICENSE>_ for legal details and copyright notices.

.. _pypi: https://pypi.org/project/treq/ .. |pypi| image:: https://img.shields.io/pypi/v/treq.svg :alt: PyPI

.. _calver: https://calver.org/ .. |calver| image:: https://img.shields.io/badge/calver-YY.MM.MICRO-22bfda.svg :alt: calver: YY.MM.MICRO

.. _coverage: https://coveralls.io/github/twisted/treq .. |coverage| image:: https://coveralls.io/repos/github/twisted/treq/badge.svg :alt: Coverage

.. _documentation: https://treq.readthedocs.org .. |documentation| image:: https://readthedocs.org/projects/treq/badge/ :alt: Documentation

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].