Package Search Help

You can use boolean logic (e.g. AND/OR/NOT) for complex search queries. For more help and examples, see the search documentation.

Search by package name:
my-package (implicit)
name:my-package (explicit)

Search by package filename:
filename:my-package.ext 

Search by package tag:
tag:latest 

Search by package version:
version:1.0.0  prerelease:true (prereleases)
prerelease:false (no prereleases)

Search by package architecture:
architecture:x86_64 

Search by package distribution:
distribution:el 

Search by package license:
license:MIT 

Search by package format:
format:deb 

Search by package status:
status:in_progress 

Search by package file checksum:
checksum:5afba 

Search by package security status:
severity:critical 

Search by package vulnerabilities:
vulnerabilities:>1 
vulnerabilities:<1000 

Search by # of package downloads:
downloads:>8 
downloads:<100 

Search by package type:
type:binary 
type:source 

Search by package size (bytes):
size:>50000 
size:<10000 

Search by dependency name/version:
dependency:log4j 
dependency:log4j=1.0.0 
dependency:log4j>1.0.0 

Search by uploaded date:
uploaded:>"1 day ago" 
uploaded:<"August 14, 2022 EST" 

Search by entitlement token (identifier):
entitlement:3lKPVJPosCsY 

Search by policy violation:
policy_violated:true
deny_policy_violated:true
license_policy_violated:true
vulnerability_policy_violated:true

Search by repository:
repository:repo-name

Search by last download date:
last_downloaded:<"30 days ago" 
last_downloaded:>"August 14, 2022 EST" 

Search queries for all Debian-specific (and related) package types

Search by component:
deb_component:unstable

Search queries for all Maven-specific (and related) package types

Search by group ID:
maven_group_id:org.apache

Search queries for all Docker-specific (and related) package types

Search by image digest:
docker_image_digest:sha256:7c5..6d4
(full hashref only)

Search by layer digest:
docker_layer_digest:sha256:4c4..ae4
(full hashref only)

Search queries for all Generic-specific package types

Search by file path:
generic_filepath:path/to/file.txt

Search by directory:
generic_directory:path/to

Field type modifiers (depending on the type, you can influence behaviour)

For all queries, you can use:
~foo for negation

For string queries, you can use:
^foo to anchor to start of term
foo$ to anchor to end of term
foo*bar for fuzzy matching

For number/date or version queries, you can use:
>foo for values greater than
>=foo for values greater / equal
<foo for values less than
<=foo for values less / equal

Need a secure and centralised artifact repository to deliver Alpine, Cargo, CocoaPods, Composer, Conan, Conda, CRAN, Dart, Debian, Docker, Generic, Go, Helm, Hex, HuggingFace, LuaRocks, Maven, MCP, npm, NuGet, P2, Python, RedHat, Ruby, Swift, Terraform, Vagrant, VSX, Raw & More packages?

Cloudsmith is the new standard in Package / Artifact Management and Software Distribution.

With support for all major package formats, you can trust us to manage your software supply chain.

Start My Free Trial
Package Policy Violations

This package is in violation of the following policy.

Medium severity CVEs:
  • A security scan detected a vulnerability with a severity which is not permitted by this policy.

Python logo requests  1.0.1

One-liner (summary)

Python HTTP for Humans.

Description

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Description: Requests: HTTP for Humans ========================= .. image:: https://travis-ci.org/kennethreitz/requests.png?branch=master :target: https://travis-ci.org/kennethreitz/requests Requests is an Apache2 Licensed HTTP library, written in Python, for human beings. Most existing Python modules for sending HTTP requests are extremely verbose and cumbersome. Python's builtin urllib2 module provides most of the HTTP capabilities you should need, but the api is thoroughly broken. It requires an enormous amount of work (even method overrides) to perform the simplest of tasks. Things shouldn't be this way. Not in Python. .. code-block:: pycon >>> r = requests.get('https://api.github.com', auth=('user', 'pass')) >>> r.status_code 204 >>> r.headers['content-type'] 'application/json' >>> r.text ... See `the same code, without Requests <https://gist.github.com/973705>`_. Requests allow you to send HTTP/1.1 requests. You can add headers, form data, multipart files, and parameters with simple Python dictionaries, and access the response data in the same way. It's powered by httplib and `urllib3 <https://github.com/shazow/urllib3>`_, but it does all the hard work and crazy hacks for you. Features -------- - International Domains and URLs - Keep-Alive & Connection Pooling - Sessions with Cookie Persistence - Browser-style SSL Verification - Basic/Digest Authentication - Elegant Key/Value Cookies - Automatic Decompression - Unicode Response Bodies - Multipart File Uploads - Connection Timeouts - Thread-safety Installation ------------ To install requests, simply: .. code-block:: bash $ pip install requests Or, if you absolutely must: .. code-block:: bash $ easy_install requests But, you really shouldn't do that. Contribute ---------- #. Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug. There is a Contributor Friendly tag for issues that should be ideal for people who are not very familiar with the codebase yet. #. Fork `the repository`_ on Github to start making your changes to the **develop** branch (or branch off of it). #. Write a test which shows that the bug was fixed or that the feature works as expected. #. Send a pull request and bug the maintainer until it gets merged and published. :) Make sure to add yourself to AUTHORS_. .. _`the repository`: http://github.com/kennethreitz/requests .. _AUTHORS: https://github.com/kennethreitz/requests/blob/master/AUTHORS.rst .. :changelog: History ------- 1.0.1 (2012-12-17) ++++++++++++++++++ - Cert verification exception bug. - Proxy fix for HTTPAdapter. 1.0.0 (2012-12-17) ++++++++++++++++++ - Massive Refactor and Simplification - Switch to Apache 2.0 license - Swappable Connection Adapters - Mountable Connection Adapters - Mutable ProcessedRequest chain - /s/prefetch/stream - Removal of all configuration - Standard library logging - Make Reponse.json() callable, not property. - Usage of new charade project, which provides python 2 and 3 simultaneous chardet. - Removal of all hooks except 'response' - Removal of all authentication helpers (OAuth, Kerberos) This is not a backwards compatible change. 0.14.2 (2012-10-27) +++++++++++++++++++ - Improved mime-compatible JSON handling - Proxy fixes - Path hack fixes - Case-Insensistive Content-Encoding headers - Support for CJK parameters in form posts 0.14.1 (2012-10-01) +++++++++++++++++++ - Python 3.3 Compatibility - Simply default accept-encoding - Bugfixes 0.14.0 (2012-09-02) ++++++++++++++++++++ - No more iter_content errors if already downloaded. 0.13.9 (2012-08-25) +++++++++++++++++++ - Fix for OAuth + POSTs - Remove exception eating from dispatch_hook - General bugfixes 0.13.8 (2012-08-21) +++++++++++++++++++ - Incredible Link header support :) 0.13.7 (2012-08-19) +++++++++++++++++++ - Support for (key, value) lists everywhere. - Digest Authentication improvements. - Ensure proxy exclusions work properly. - Clearer UnicodeError exceptions. - Automatic casting of URLs to tsrings (fURL and such) - Bugfixes. 0.13.6 (2012-08-06) +++++++++++++++++++ - Long awaited fix for hanging connections! 0.13.5 (2012-07-27) +++++++++++++++++++ - Packaging fix 0.13.4 (2012-07-27) +++++++++++++++++++ - GSSAPI/Kerberos authentication! - App Engine 2.7 Fixes! - Fix leaking connections (from urllib3 update) - OAuthlib path hack fix - OAuthlib URL parameters fix. 0.13.3 (2012-07-12) +++++++++++++++++++ - Use simplejson if available. - Do not hide SSLErrors behind Timeouts. - Fixed param handling with urls containing fragments. - Significantly improved information in User Agent. - client certificates are ignored when verify=False 0.13.2 (2012-06-28) +++++++++++++++++++ - Zero dependencies (once again)! - New: Response.reason - Sign querystring parameters in OAuth 1.0 - Client certificates no longer ignored when verify=False - Add openSUSE certificate support 0.13.1 (2012-06-07) +++++++++++++++++++ - Allow passing a file or file-like object as data. - Allow hooks to return responses that indicate errors. - Fix Response.text and Response.json for body-less responses. 0.13.0 (2012-05-29) +++++++++++++++++++ - Removal of Requests.async in favor of `grequests <https://github.com/kennethreitz/grequests>`_ - Allow disabling of cookie persistiance. - New implimentation of safe_mode - cookies.get now supports default argument - Session cookies not saved when Session.request is called with return_response=False - Env: no_proxy support. - RequestsCookieJar improvements. - Various bug fixes. 0.12.1 (2012-05-08) +++++++++++++++++++ - New ``Response.json`` property. - Ability to add string file uploads. - Fix out-of-range issue with iter_lines. - Fix iter_content default size. - Fix POST redirects containing files. 0.12.0 (2012-05-02) +++++++++++++++++++ - EXPERIMENTAL OAUTH SUPPORT! - Proper CookieJar-backed cookies interface with awesome dict-like interface. - Speed fix for non-iterated content chunks. - Move ``pre_request`` to a more usable place. - New ``pre_send`` hook. - Lazily encode data, params, files. - Load system Certificate Bundle if ``certify`` isn't available. - Cleanups, fixes. 0.11.2 (2012-04-22) +++++++++++++++++++ - Attempt to use the OS's certificate bundle if ``certifi`` isn't available. - Infinite digest auth redirect fix. - Multi-part file upload improvements. - Fix decoding of invalid %encodings in URLs. - If there is no content in a response don't throw an error the second time that content is attempted to be read. - Upload data on redirects. 0.11.1 (2012-03-30) +++++++++++++++++++ * POST redirects now break RFC to do what browsers do: Follow up with a GET. * New ``strict_mode`` configuration to disable new redirect behavior. 0.11.0 (2012-03-14) +++++++++++++++++++ * Private SSL Certificate support * Remove select.poll from Gevent monkeypatching * Remove redundant generator for chunked transfer encoding * Fix: Response.ok raises Timeout Exception in safe_mode 0.10.8 (2012-03-09) +++++++++++++++++++ * Generate chunked ValueError fix * Proxy configuration by environment variables * Simplification of iter_lines. * New `trust_env` configuration for disabling system/environment hints. * Suppress cookie errors. 0.10.7 (2012-03-07) +++++++++++++++++++ * `encode_uri` = False 0.10.6 (2012-02-25) +++++++++++++++++++ * Allow '=' in cookies. 0.10.5 (2012-02-25) +++++++++++++++++++ * Response body with 0 content-length fix. * New async.imap. * Don't fail on netrc. 0.10.4 (2012-02-20) +++++++++++++++++++ * Honor netrc. 0.10.3 (2012-02-20) +++++++++++++++++++ * HEAD requests don't follow redirects anymore. * raise_for_status() doesn't raise for 3xx anymore. * Make Session objects picklable. * ValueError for invalid schema URLs. 0.10.2 (2012-01-15) +++++++++++++++++++ * Vastly improved URL quoting. * Additional allowed cookie key values. * Attempted fix for "Too many open files" Error * Replace unicode errors on first pass, no need for second pass. * Append '/' to bare-domain urls before query insertion. * Exceptions now inherit from RuntimeError. * Binary uploads + auth fix. * Bugfixes. 0.10.1 (2012-01-23) +++++++++++++++++++ * PYTHON 3 SUPPORT! * Dropped 2.5 Support. (*Backwards Incompatible*) 0.10.0 (2012-01-21) +++++++++++++++++++ * ``Response.content`` is now bytes-only. (*Backwards Incompatible*) * New ``Response.text`` is unicode-only. * If no ``Response.encoding`` is specified and ``chardet`` is available, ``Respoonse.text`` will guess an encoding. * Default to ISO-8859-1 (Western) encoding for "text" subtypes. * Removal of `decode_unicode`. (*Backwards Incompatible*) * New multiple-hooks system. * New ``Response.register_hook`` for registering hooks within the pipeline. * ``Response.url`` is now Unicode. 0.9.3 (2012-01-18) ++++++++++++++++++ * SSL verify=False bugfix (apparent on windows machines). 0.9.2 (2012-01-18) ++++++++++++++++++ * Asynchronous async.send method. * Support for proper c
Status  Quarantined
Checksum (MD5) 2e938f26f2bdf2899862c751bfa7eff5
Checksum (SHA-1) c4ee85b76ecdddb205d956f3366b7d4d9cbfe34a
Checksum (SHA-256) c69222b7c02a8e46d61c3b986e6a3e766db0539235aaafc056c75b8dcf6f5eec
Checksum (SHA-512) 5693c19c8a54ac376f9b667915b25aae1c388a1c9365c37e8cc06f4e2fa5b7bcad…
GPG Signature
GPG Fingerprint 6811684bac0b8895434e97bdd4391b8fb999e537
Storage Region  Dublin, Ireland
Type  Source (contains source code or documentation)
Uploaded At 9 months, 2 weeks ago
Uploaded By Fetched by Cloudsmith
Slug Id requests-101targz-ms4q
Unique Id fqF37VG4hLVfi1ZH
Version (Raw) 1.0.1
Version (Parsed)
  • Major: 1
  • Minor: 0
  • Patch: 1
  • Type: SemVer (Compat)
  extended metadata
Author Kenneth Reitz <me@kennethreitz.com>
Homepage URL http://python-requests.org
Metadata Version 1.1
Py Filetype sdist
pkg requests-1.0.1.tar.gz 0
327.8 KB
md5 sha1 sha256 sha512
Package Contents (requests-1.0.1.tar.gz)
Loading...

This package has 88 files/directories.

Last scanned

9 months, 2 weeks ago

Scan result

Vulnerable

Vulnerability count

5

Max. severity

High
Target: requirements.txt
HIGH

CVE-2018-18074: python-requests: Redirect from HTTPS to HTTP does not remove Authorization header

The Requests package before 2.20.0 for Python sends an HTTP Authorization header to an http URI upon receiving a same-hostname https-to-http redirect, which makes it easier for remote attackers to discover credentials by sniffing the network.

Package Name: requests
Installed Version: 1.0.1
Fixed Version: 2.20.0

References: docs.python-requests.org lists.opensuse.org access.redhat.com access.redhat.com bugs.debian.org errata.almalinux.org github.com github.com github.com github.com github.com linux.oracle.com linux.oracle.com nvd.nist.gov ubuntu.com ubuntu.com usn.ubuntu.com usn.ubuntu.com usn.ubuntu.com usn.ubuntu.com www.cve.org www.oracle.com
MEDIUM

CVE-2014-1829: python-requests: redirect can expose netrc password

Requests (aka python-requests) before 2.3.0 allows remote servers to obtain a netrc password by reading the Authorization header in a redirected request.

Package Name: requests
Installed Version: 1.0.1
Fixed Version: 2.3.0

References: advisories.mageia.org www.debian.org www.mandriva.com www.openwall.com www.ubuntu.com access.redhat.com bugs.debian.org github.com github.com github.com github.com github.com github.com nvd.nist.gov ubuntu.com web.archive.org www.cve.org
MEDIUM

CVE-2014-1830: python-requests: Proxy-Authorization header leak

Requests (aka python-requests) before 2.3.0 allows remote servers to obtain sensitive information by reading the Proxy-Authorization header in a redirected request.

Package Name: requests
Installed Version: 1.0.1
Fixed Version: 2.3.0

References: advisories.mageia.org lists.opensuse.org www.debian.org www.mandriva.com www.openwall.com access.redhat.com bugs.debian.org github.com github.com github.com github.com github.com nvd.nist.gov ubuntu.com web.archive.org www.cve.org
MEDIUM

CVE-2024-35195: requests: subsequent requests to the same host ignore cert verification

Requests is a HTTP library. Prior to 2.32.0, when making requests through a Requests `Session`, if the first request is made with `verify=False` to disable cert verification, all subsequent requests to the same host will continue to ignore cert verification regardless of changes to the value of `verify`. This behavior will continue for the lifecycle of the connection in the connection pool. This vulnerability is fixed in 2.32.0.

Package Name: requests
Installed Version: 1.0.1
Fixed Version: 2.32.0

References: access.redhat.com access.redhat.com bugzilla.redhat.com bugzilla.redhat.com cve.mitre.org errata.almalinux.org errata.rockylinux.org github.com github.com github.com github.com linux.oracle.com linux.oracle.com lists.fedoraproject.org lists.fedoraproject.org lists.fedoraproject.org lists.fedoraproject.org nvd.nist.gov www.cve.org
MEDIUM

CVE-2024-47081: requests: Requests vulnerable to .netrc credentials leak via malicious URLs

Requests is a HTTP library. Due to a URL parsing issue, Requests releases prior to 2.32.4 may leak .netrc credentials to third parties for specific maliciously-crafted URLs. Users should upgrade to version 2.32.4 to receive a fix. For older versions of Requests, use of the .netrc file can be disabled with `trust_env=False` on one's Requests Session.

Package Name: requests
Installed Version: 1.0.1
Fixed Version: 2.32.4

References: seclists.org www.openwall.com www.openwall.com www.openwall.com www.openwall.com access.redhat.com github.com github.com github.com github.com nvd.nist.gov requests.readthedocs.io seclists.org ubuntu.com www.cve.org www.openwall.com

You can embed a badge in another website that shows this or the latest version of this package.

To embed the badge for this specific package version, use the following:

[![This version of 'requests' @ Cloudsmith](https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/python/requests/1.0.1/a=noarch;xf=sdist;xn=requests/?render=true)](https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/python/requests/1.0.1/a=noarch;xf=sdist;xn=requests/)
|This version of 'requests' @ Cloudsmith|
.. |This version of 'requests' @ Cloudsmith| image:: https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/python/requests/1.0.1/a=noarch;xf=sdist;xn=requests/?render=true
   :target: https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/python/requests/1.0.1/a=noarch;xf=sdist;xn=requests/
image::https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/python/requests/1.0.1/a=noarch;xf=sdist;xn=requests/?render=true[link="https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/python/requests/1.0.1/a=noarch;xf=sdist;xn=requests/",title="This version of 'requests' @ Cloudsmith"]
<a href="https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/python/requests/1.0.1/a=noarch;xf=sdist;xn=requests/"><img src="https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/python/requests/1.0.1/a=noarch;xf=sdist;xn=requests/?render=true" alt="This version of 'requests' @ Cloudsmith" /></a>

rendered as: This version of 'requests' @ Cloudsmith

To embed the badge for the latest package version, use the following:

[![Latest version of 'requests' @ Cloudsmith](https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/python/requests/latest/a=noarch;xf=sdist;xn=requests/?render=true&show_latest=true)](https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/python/requests/latest/a=noarch;xf=sdist;xn=requests/)
|Latest version of 'requests' @ Cloudsmith|
.. |Latest version of 'requests' @ Cloudsmith| image:: https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/python/requests/latest/a=noarch;xf=sdist;xn=requests/?render=true&show_latest=true
   :target: https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/python/requests/latest/a=noarch;xf=sdist;xn=requests/
image::https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/python/requests/latest/a=noarch;xf=sdist;xn=requests/?render=true&show_latest=true[link="https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/python/requests/latest/a=noarch;xf=sdist;xn=requests/",title="Latest version of 'requests' @ Cloudsmith"]
<a href="https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/python/requests/latest/a=noarch;xf=sdist;xn=requests/"><img src="https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/python/requests/latest/a=noarch;xf=sdist;xn=requests/?render=true&show_latest=true" alt="Latest version of 'requests' @ Cloudsmith" /></a>

rendered as: Latest version of 'requests' @ Cloudsmith

Top