Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Reqsnaked

Reqsnaked is a blazing fast async/await HTTP client for Python written on Rust using reqwests.


Docs: https://deknowny.github.io/reqsnaked/devel/

Overview

import asyncio
import datetime

import reqsnaked


async def main():
    client = reqsnaked.Client(
        user_agent="Reqsnaked/1.0",
        headers={"X-Foo": "bar"},
        store_cookie=True
    )
    request = reqsnaked.Request(
        "POST", "https://httpbin.org/anything",
        multipart=reqsnaked.Multipart(
            reqsnaked.Part(
                "foo", b"01010101",
                filename="foo.txt",
                mime="text/plain"
            )
        ),
        query={"foo": "bar"},
        headers={"X-Bar": "foo"},
        timeout=datetime.timedelta(seconds=30),
    )
    response = await client.send(request)
    print(response.status)
    data = await response.json()
    data.show()


asyncio.run(main())
HTTPStatus.OK
{
  "args": {
    "foo": "bar"
  },
  "data": "",
  "files": {
    "foo": "01010101"
  },
  "form": {},
  "headers": {
    "Accept": "*/*",
    "Accept-Encoding": "gzip, br",
    "Content-Length": "246",
    "Content-Type": "multipart/form-data; boundary=a59212f1bfcc112f-b3b83c8afd39b140-f302f74df067620a-a8a38a37c3355abe",
    "Host": "httpbin.org",
    "User-Agent": "Reqsnaked/1.0",
    "X-Amzn-Trace-Id": "Root=1-63fcfd9b-412668b5117367524668f43b",
    "X-Bar": "foo",
    "X-Foo": "bar"
  },
  "json": null,
  "method": "POST",
  "origin": "1.1.1.1",
  "url": "https://httpbin.org/anything?foo=bar"
}

Installlation

Currently the library is not published to PyPI, so the only way to install it is from GitHub:

python -m pip install -U https://github.com/deknowny/reqsnaked/archive/main.zip

Metadata

Release files for reqsnaked 0.1.0b1

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

Source distribution (sdist)

Source distribution for reqsnaked 0.1.0b1
File Size Uploaded Provenance Actions
reqsnaked-0.1.0_beta1.tar.gz 553.4 kB Without provenance Details for reqsnaked-0.1.0_beta1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for reqsnaked 0.1.0b1
File Actions
reqsnaked-0.1.0b1-cp38-none-win_amd64.whl CPython 3.8 none Windows x86-64 Details for reqsnaked-0.1.0b1-cp38-none-win_amd64.whl
reqsnaked-0.1.0_beta1-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl CPython 3.11 CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64, macOS 11.0+ ARM64 Details for reqsnaked-0.1.0_beta1-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
reqsnaked-0.1.0_beta1-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl CPython 3.10 CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64, macOS 11.0+ ARM64 Details for reqsnaked-0.1.0_beta1-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
reqsnaked-0.1.0_beta1-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl CPython 3.8 CPython 3.8 macOS 10.9+ x86-64, macOS 11.0+ ARM64, macOS 10.9+ universal2 (ARM64, x86-64) Details for reqsnaked-0.1.0_beta1-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl

Total release size: 22.2 MB

Release files / reqsnaked-0.1.0_beta1.tar.gz

Download URL reqsnaked-0.1.0_beta1.tar.gz
Size 553.4 kB
Tags Source
SHA-256 checksum
How to use checksums
41b1ae2eabc7a826a86b1e53e655c1e0354a2cb42b2660e18c6ae7488e393b9c
BLAKE2b-256 checksum
How to use checksums
20d6c4be68a9f402fc5194c6d5b93400e1adcf0fe61109a01878d2b1746d1ff3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.14.17

Release files / reqsnaked-0.1.0b1-cp38-none-win_amd64.whl

Download URL reqsnaked-0.1.0b1-cp38-none-win_amd64.whl
Size 2.8 MB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
60df3fb33b9dbfc67f6a312b58ba342738d35c5f7e44d99ea14c980cadc956cc
BLAKE2b-256 checksum
How to use checksums
81575a03472c3db1c76fa02f619ecdfcfc5396d3a05ef59ba2a9be7389bf2211
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.14.17

Release files / reqsnaked-0.1.0_beta1-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl

Download URL reqsnaked-0.1.0_beta1-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Size 6.3 MB
Tags CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
0327b470057af9a78901b9959230c84016966a3f1f31b4af150979777db1f64c
BLAKE2b-256 checksum
How to use checksums
4d052475ff2c32707aea6348bfa3c98ca0a78fed0f3283afe72384706529a131
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.14.17

Release files / reqsnaked-0.1.0_beta1-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl

Download URL reqsnaked-0.1.0_beta1-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Size 6.3 MB
Tags CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
d774727859594476c58a3eb36a086a1325997e3e70d7e2e002f6a62cd3f866e6
BLAKE2b-256 checksum
How to use checksums
fe38576d5fff3b3035126ed0cb366d8dbeb6e83806d2379d5998278778d75a5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.14.17

Release files / reqsnaked-0.1.0_beta1-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl

Download URL reqsnaked-0.1.0_beta1-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Size 6.3 MB
Tags CPython 3.8 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
e169851c9a0d238cee739535ef249f95215c86808fc51f75308ccde843b07978
BLAKE2b-256 checksum
How to use checksums
1e4bd1550975eb358d33682f9a11fe8ce97977547be1c4783f77e514f44ad085
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.14.17

Security for reqsnaked 0.1.0b1

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