• Stars
    star
    570
  • Rank 75,193 (Top 2 %)
  • Language
    Python
  • License
    Other
  • Created almost 12 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

treq: High-level Twisted HTTP Client API

PyPI_ calver: YY.MM.MICRO_ Coverage_ Documentation_

treq is an HTTP library inspired by requests but written on top of Twisted's Agents.

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

>>> 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.

Contributing

treq development is hosted on GitHub.

We welcome contributions: feel to fork and send contributions over. See CONTRIBUTING.rst for more info.

Code of Conduct

Refer to the Twisted code of conduct.

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

More Repositories

1

twisted

Event-driven networking engine written in Python.
Python
5,344
star
2

klein

werkzeug + twisted.web
Python
827
star
3

towncrier

Manage the release notes for your project.
Python
716
star
4

txmongo

asynchronous python driver for mongo
Python
336
star
5

pydoctor

This is pydoctor, an API documentation generator that works by static analysis.
Python
156
star
6

ldaptor

LDAP server, client and utilities, using Twisted Python
Python
154
star
7

incremental

A library for versioning your Python projects.
Python
131
star
8

vertex

Vertex is a generalized, secure, peer-to-peer communications platform; formerly of the divmod.org project (https://code.launchpad.net/divmod.org/)
Python
73
star
9

nevow

Web Application Construction Kit
Python
61
star
10

tubes

A series of tubes.
Python
55
star
11

qt5reactor

Twisted and PyQt5 eventloop integration. Borrowed from https://github.com/nehbit/aether-public/blob/master/qt5reactor.py
Python
47
star
12

txacme

Twisted client for the ACME (Automatic Certificate Management Environment) protocol
Python
43
star
13

imaginary

Imaginary is a system for building fictional, interactive worlds via parallel, intersecting simulations.
Python
34
star
14

txaws

Twisted-based Asynchronous Libraries for Amazon Web Services and clouds that support the AWS APIs
Python
32
star
15

axiom

Divmod Axiom is an object database, or alternatively, an object-relational mapper, implemented on top of Python.
Python
22
star
16

constantly

Symbolic Constants in Python
Python
21
star
17

ampoule

Process pool for Twisted, using AMP
Python
12
star
18

twistedchecker

twistedchecker is a tool to automatically verify code against the Twisted coding standard.
Python
9
star
19

filepath

An object-oriented API for manipulating filesystem paths on POSIX and Windows.
Python
8
star
20

twisted-dev-tools

Tools for twisted development.
Python
7
star
21

mantissa

Divmod Mantissa is an application server with a web interface built using Axiom and Nevow.
Python
6
star
22

newsbuilder

Automatically generate and manage a NEWS file from snippets stored in per-ticket text files.
Python
5
star
23

quotient

Divmod Quotient is a messaging platform developed as an Offering for Divmod Mantissa.
Python
5
star
24

epsilon

Library of utility modules, used by ex-Divmod projects
Python
4
star
25

sine

Divmod Sine is a standards-based voice-over-IP application server, built as an offering for the Mantissa application server platform.
Python
3
star
26

trac-wiki-archive

Archive for the content of previous Trac Wiki
3
star
27

twisted.github.io

This is the repo for the Twisted Matrix presentation site
JavaScript
2
star
28

parsley-protocols

Python
2
star
29

hyperbola

Hyperbola is a blogging and forums system, for having discussions about things.
Python
2
star
30

twisted-iocpsupport

`twisted-iocpsupport` is an extension module for the Twisted `iocp` reactor to use the Windows I/O Completion Ports (IOCP) networking API. You should not need to install it directly or interact with its API; it is a dependency of Twisted on Windows platforms.
Cython
2
star
31

python-info-action

A GitHub Actions action for printing Python environment information
Python
1
star
32

cython-test-exception-raiser

Testing only. A cython simple extension which is used as helper for twisted/twisted Failure tests.
Cython
1
star