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.6.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.6.0
File Actions
yumeclient-0.6.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for yumeclient-0.6.0-py3-none-win_amd64.whl
yumeclient-0.6.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64, Linux glibc 2.17+ ARM64 Details for yumeclient-0.6.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
yumeclient-0.6.0-py3-none-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64, Linux glibc 2.5+ x86-64 Details for yumeclient-0.6.0-py3-none-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
yumeclient-0.6.0-py3-none-macosx_11_0_universal2.whl Python 3 none macOS 11.0+ universal2 (ARM64, x86-64) Details for yumeclient-0.6.0-py3-none-macosx_11_0_universal2.whl

Total release size: 35.2 MB

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

Download URL yumeclient-0.6.0-py3-none-win_amd64.whl
Size 8.6 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
fcc5880978cc8c9db3cd78c7e56445486297b981e72ffd0f44865ff18b30d47e
BLAKE2b-256 checksum
How to use checksums
04a33cbbe436725a582636602b4ad08f86791a69ccff86d1dfa08e0fe715144c
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.6.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl

Download URL yumeclient-0.6.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Size 8.2 MB
Tags Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
bf328a296a7e3ab160d6407711b7f06b15ea06bbd8a26c32e722f8918d33baa4
BLAKE2b-256 checksum
How to use checksums
5f6cb9067ecd05335c5ed8f5e58aa9372e633210d00d691e8b3d668f20686f23
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.6.0-py3-none-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl

Download URL yumeclient-0.6.0-py3-none-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Size 8.8 MB
Tags Linux glibc 2.28+ x86-64 Linux glibc 2.5+ x86-64 Python 3
SHA-256 checksum
How to use checksums
1aaedcfd3aedc3fa54087be30c571a979d916e7ad6ec11606b5935060019556e
BLAKE2b-256 checksum
How to use checksums
64a36fcc366bbdd51d62be49784fa4d7b07240524ce7fc62e6013c551401fd12
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.6.0-py3-none-macosx_11_0_universal2.whl

Download URL yumeclient-0.6.0-py3-none-macosx_11_0_universal2.whl
Size 9.6 MB
Tags Python 3 macOS 11.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
30e6dce22ab7d5e040559708eb09e0e128cbda688e66cb33e79fdcb3488211f4
BLAKE2b-256 checksum
How to use checksums
e2cf853977a7ea61cfb4ad169b34b39261d6bd80013ac27619db8fdcff95aa7e
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.6.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.6.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