Skip to main content

Yume Client

from yumeclient import Session, AsyncSession

with Session() as s:                       # sync
    r = s.get("https://httpbin.org/get")

async with AsyncSession() as s:            # async — same syntax, awaited
    r = await s.get("https://httpbin.org/get")

Sessions start with browser-plausible default headers per profile and OS (client_identifier x client_os: windows / android / ios / macos), keep RFC 6265-scoped cookies across redirect hops, and support headers.update(), per-request overrides, one-shot yumeclient.get(...) / await yumeclient.aget(...) calls.

from yumeclient import TimeoutConfig, ConnectTimeout

with Session(timeout=TimeoutConfig(connect=5, read=30)) as s:
    with s.get("https://example.com/big.bin", stream=True) as r:   # bounded memory
        for chunk in r.iter_bytes(1 << 20):
            ...

Async task cancellation aborts the native request immediately; errors are typed (ConnectTimeout, ReadTimeout, ProxyError, TLSError, ...); r.connection_info reports reuse, ALPN, TLS and phase timings. http_version="2" never falls back to HTTP/1.1 silently, and conflicting protocol options fail before any network I/O.

profile = s.export_profile()                       # versioned, JSON-safe TLS/HTTP identity
s2 = Session.from_profile(profile, proxy="socks5://127.0.0.1:1080")
yumeclient.fingerprint_diff(profile, s2.get(url))  # [] when the wire fingerprint matches
r.trace()                                          # redacted, shareable request trace

Wheels: Windows x64, Linux x86_64/aarch64, macOS universal2, any Python ≥ 3.11.

Docs & examples

  • USAGE.md — полный справочник: API, профили, client_os, cookies, транспорт, multipart, ограничения (на русском).
  • examples/basic_requests.py — базовый синтаксис: sync/async, headers, cookies, все методы.
  • examples/profiles_and_os.py — выбор client_identifier и client_os.
  • examples/cookies_flow.py — поведение cookie-jar: redirect-хопы, разовые куки, экспорт/импорт.

Tests: python -m pytest tests -q (offline, local HTTP server); add --run-online for live httpbin.org checks.

Upstream license: MIT; see UPSTREAM-LICENSE. Profile names and JSON field spellings track upstream v1.16.0.

Changelog: CHANGELOG.md.

Contributors: randomtempusername123.

Metadata

Release files for yumeclient 0.8.0

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

Built distributions (wheels)

Table of built distributions (wheels) for yumeclient 0.8.0
File Actions
yumeclient-0.8.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for yumeclient-0.8.0-py3-none-win_amd64.whl
yumeclient-0.8.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for yumeclient-0.8.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
yumeclient-0.8.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for yumeclient-0.8.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
yumeclient-0.8.0-py3-none-macosx_11_0_universal2.whl Python 3 none macOS 11.0+ universal2 (ARM64, x86-64) Details for yumeclient-0.8.0-py3-none-macosx_11_0_universal2.whl

Total release size: 36.2 MB

Release files / yumeclient-0.8.0-py3-none-win_amd64.whl

Download URL yumeclient-0.8.0-py3-none-win_amd64.whl
Size 8.9 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
7f363ecd4fd32a5859b7b1e6db780c3feb5397144dea91bfbf8e81563d6cf5c3
BLAKE2b-256 checksum
How to use checksums
e92171dd3894fd9154c4a29237f357a4885602f04d39b4fa38cfec616257deb5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Release files / yumeclient-0.8.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL yumeclient-0.8.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 9.0 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
e2968653a6c6c19965fbd631faf0ccf7613e437027deaa063ca86d52af12f9d5
BLAKE2b-256 checksum
How to use checksums
d8e0a5b0373aa1d73870c79c5ae2173e0ebb25a01f25a58d7a3fb575e11bde9d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Release files / yumeclient-0.8.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL yumeclient-0.8.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 8.4 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
b315d48a315651dd3ffdfe56722c73a58465ca432844a98da5e673373f313752
BLAKE2b-256 checksum
How to use checksums
85b3e9f23b5bc7068ef5829afe0356202b4c38febb8df6ab6bcc3f0a7e2b4e95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Release files / yumeclient-0.8.0-py3-none-macosx_11_0_universal2.whl

Download URL yumeclient-0.8.0-py3-none-macosx_11_0_universal2.whl
Size 9.9 MB
Tags Python 3 macOS 11.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
b1a8df9574f5c45f3b4fa2b98ac916a03eb676d89cfc545f3083aa1a0878e52a
BLAKE2b-256 checksum
How to use checksums
ee223dabd166292bb06e8399fadc55571e530fd86050846226124ea155eea630
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Security for yumeclient 0.8.0

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.

Full provenance

All 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for yumeclient-0.8.0-py3-none-win_amd64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

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