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.7.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.7.0
File Actions
yumeclient-0.7.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for yumeclient-0.7.0-py3-none-win_amd64.whl
yumeclient-0.7.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.7.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
yumeclient-0.7.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for yumeclient-0.7.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
yumeclient-0.7.0-py3-none-macosx_11_0_universal2.whl Python 3 none macOS 11.0+ universal2 (ARM64, x86-64) Details for yumeclient-0.7.0-py3-none-macosx_11_0_universal2.whl

Total release size: 35.5 MB

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

Download URL yumeclient-0.7.0-py3-none-win_amd64.whl
Size 8.7 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
7a36f83c2bfabb3fb93a7f8050f8ca35205e34f671b6fdc78f0e534ef194dcbd
BLAKE2b-256 checksum
How to use checksums
bcdb3accf3ccf499e5cc03e936474c93751376718d247329295c5bc38d2dcb9d
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.7.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL yumeclient-0.7.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 8.9 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
b7045fd474ad761943882e477287b72ab5c6431faea6bb6866a58e42a47ff42d
BLAKE2b-256 checksum
How to use checksums
be33f5e5301d5b2c3c6af205ac57f7b62747f490c4ead4ba785cd97b78176e1b
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.7.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL yumeclient-0.7.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 8.2 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
5f3de81a97e49f8cba4fc04f2cfcc0a664cebfae77a05f80266f9d236982682b
BLAKE2b-256 checksum
How to use checksums
31259b769ede13d683539014763b1e7dfbb727854d5bf607fbad893076aa4c1e
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.7.0-py3-none-macosx_11_0_universal2.whl

Download URL yumeclient-0.7.0-py3-none-macosx_11_0_universal2.whl
Size 9.7 MB
Tags Python 3 macOS 11.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
352ab2d1ce1dda8b54fb1c71d901a22902eacb0e779fbff4eb11ff77fa786eb5
BLAKE2b-256 checksum
How to use checksums
a973505860bb8604f3a5d3a7a6a15a82cf052c8febb56f286aa5102a9ff5a051
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.7.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.7.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