Skip to main content

rest-client

https://travis-ci.org/mosquito/rest-client.svg Latest Version https://img.shields.io/pypi/wheel/rest-client.svg https://img.shields.io/pypi/pyversions/rest-client.svg https://img.shields.io/pypi/l/rest-client.svg

RESTful Client for tornado with support cookies.

Example:

# encoding: utf-8
from tornado.ioloop import IOLoop
from tornado.gen import coroutine, Return
from rest_client.async import RESTClient

io_loop = IOLoop.current()

@coroutine
def repo_list():
    client = RESTClient(headers={'User-Agent': 'curl/7.43.0'})
    # check api
    yield client.get('https://api.github.com/users/octocat/orgs')

    response = yield client.get('https://api.github.com/repos/vmg/redcarpet/issues?state=closed')
    data = sum(map(lambda x: x.comments, response.body))
    print('Total comments: {0}'.format(data))

exit(io_loop.run_sync(repo_list))

Metadata

Release files for rest-client 0.3.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rest-client 0.3.8
File Size Uploaded Provenance Actions
rest-client-0.3.8.tar.gz 4.4 kB Without provenance Details for rest-client-0.3.8.tar.gz

Release files / rest-client-0.3.8.tar.gz

Download URL rest-client-0.3.8.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
48272968da18047fef84dc3317a31a6bff16195ab44588c3aabbd4dccc6e3c5f
BLAKE2b-256 checksum
How to use checksums
08dcef96cdb16bd9eeab57ed73658b2d28716d50e1180ccb31cfff3c98de4b3d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for rest-client 0.3.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page