Skip to main content

tls-client-python

维护边界: Go 引擎同步自上游,本项目的 Python/CFFI 扩展及冲突保留规则见 UPSTREAM_SYNC.md。日常修改请勿直接改动上游归属区域。

Requests 兼容层: 请求 API 的完整清单、兼容契约与生成式约束见 docs/REQUESTS_API.md。静态扫描入口: python3 -m tls_client._static_scan。

开发文档: 环境搭建、原生库构建、ABI 演进规则、生成链与常见陷阱见 docs/DEVELOPMENT.md。

PyPI version Python License: MIT

CFFI-based, high-performance Python binding for tls-client — drop-in compatible with requests and Python-Tls-Client.

Engine: upstream tls-client v1.18.1 · package 1.18.1.1 · native ABI 4 (Go 1.27, utls 1.8.2 with ML-KEM/ML-DSA, fhttp 0.7.3).


What is TLS Fingerprinting?

Some people think it is enough to change the user-agent header of a request to let the server think that the client requesting a resource is a specific browser. Nowadays this is not enough, because the server might use a technique to detect the client browser which is called TLS Fingerprinting.

For a deep dive, see this excellent article on TLS fingerprinting.

✨ Features

Category Details
🔐 TLS Fingerprinting Impersonate Chrome, Firefox, Safari, Brave, Opera, OkHttp & more
🌐 Protocol Support HTTP/1.1, HTTP/2 (h2), HTTP/3 (QUIC) with automatic negotiation
⚡ Protocol Racing Chrome-style Happy Eyeballs for HTTP/2 vs HTTP/3
📋 Header Ordering Control the exact order of HTTP headers per request
🔒 Certificate Pinning Pin server certificates for enhanced security
🍪 Cookie Jar Built-in cookie handling with customisable jar
🚇 Proxy Support HTTP and SOCKS5 proxies with CONNECT auth
🔀 Redirect Control Choose whether to follow redirects per request
📊 Bandwidth Tracking Monitor upload/download bytes in real time
🔄 sync/Async Session + AsyncSession
🔌 WebSocket TLS-fingerprinted WebSocket (HTTP/1.1 handshake) — WebSocket
🛡️ Panic-proof All Go panics caught and surfaced as Python exceptions
⚙️ Custom TLS Full 26-field custom TLS client configuration
🔬 Chrome 99–153 Captures Byte-exact profiles for every captured Chrome major 99…153 (55 majors), recovered from live handshakes — plus the hand-written 154
🎲 Per-Handshake Extension Shuffle Chromium's unseeded extension rotation, with GREASE/padding/PSK pinned (ABI 3)
🧭 Destination-Aware Header Order Header order selected by Sec-Fetch-Dest — navigation vs sub-resource (ABI 3)
🌐 Deep TCP Fingerprint DF bit, TOS, Nagle, window clamp and IP-ID mode (ABI 3)
🩺 Transport Health Checks HTTP/2 PING health check, PING timeout and response-header timeout (ABI 4, upstream 1.18.1)
🧹 Clean Close HttpClient.Close() releases HTTP/3 UDP sockets, not just idle TCP conns — the binding uses it on every pool eviction
🎯 Fingerprint Presets Coherent per-OS bundles: identifier + headers + header order + TCP fingerprint (tls_client.fingerprints)
🧭 Request Contexts Browser-coherent Sec-Fetch-*, Client Hints and RFC 9218 Priority headers (RequestContext)
🔏 Trust Anchors / ECH Chrome 144+ 0xCA34 trust anchors — shuffled per process up to Chrome 153, sorted from 154 — and automatic ECH config resolution over DoH
🪶 Full-fidelity build A single full build (QUIC/HTTP-3 + the complete profile catalogue), 14.1 MB on linux/amd64

macOS TCP fingerprinting: macOS derives TCP MSS during connect and rejects TCP_MAXSEG in the pre-connect socket hook. The MSS hint is therefore skipped on macOS; TTL, receive-window tuning, and TLS/HTTP fingerprints remain active. This avoids MSS(1460): invalid argument on macOS 26 and earlier.


📦 Installation

pip install tls-client-python

Pre-compiled binaries are included for 12 platforms (plus a macOS universal2 wheel) — no Go toolchain required.

Requirements: Python 3.6+


🚀 Quick Start

from tls_client import Session

# Create a session with Chrome 146 fingerprint
session = Session(client_identifier="chrome_146", verify=False)

# GET request
resp = session.get("https://tls.browserleaks.com/json")
print(resp.status_code)
print(resp.text)

# POST request
resp = session.post("https://tools.scrapfly.io/api/fp/ja3")
data = resp.json()
print(resp.status_code)
print(data)


# Context Manager
with Session(client_identifier="firefox_148") as session:
    resp = session.get("https://tls.browserleaks.com/json")
    print(resp.status_code)
    print(resp.text)


# Async Usage
import asyncio
from tls_client import AsyncSession

async def main():
    async with AsyncSession(client_identifier="firefox_148") as s:
        resp = await s.get("https://tls.browserleaks.com/json")
        print(resp.status_code)
        print(resp.json())

asyncio.run(main())

Requests-compatible API

The synchronous API implements Requests-style request preparation, session state, redirects, cookies, hooks, exceptions, and response objects without depending on the Requests package. Network transport remains the native tls-client engine:

import tls_client

response = tls_client.get(
    "https://example.com/api",
    params={"page": 1},
    headers={"Accept": "application/json"},
    timeout=(3.05, 30),
)
response.raise_for_status()
print(response.json())

with tls_client.Session(client_identifier="chrome_146") as session:
    session.headers.update({"Authorization": "Bearer token"})
    response = session.post(
        "https://example.com/upload",
        files={"file": ("data.txt", b"payload")},
        hooks={"response": lambda r, *args, **kwargs: r},
    )

Request, PreparedRequest, Response, exceptions, codes, cookies, auth, adapters, structures, and all top-level HTTP helpers follow the commonly used Requests API. The previous low-level objects remain available as NativeSession, NativeResponse, and TLSRequest. stream=True exposes the normal Requests iteration API, but the current native ABI buffers the response before Python receives it. A string verify value enables verification with system roots; passing a custom CA bundle through the C ABI is not yet supported.


🖥️ Supported Platforms

Pre-compiled native libraries are bundled for these platforms:

OS Architecture Binary
Windows x86-64 tls-client-windows-amd64.dll
Windows x86 (32-bit) tls-client-windows-386.dll
Windows ARM64 tls-client-windows-arm64.dll
macOS x86-64 tls-client-darwin-amd64.dylib
macOS ARM64 (Apple Silicon) tls-client-darwin-arm64.dylib
macOS Universal (both) one universal2 wheel, both binaries
Linux x86-64 (glibc) tls-client-linux-amd64.so
Linux x86 (32-bit, glibc) tls-client-linux-386.so
Linux ARM64 tls-client-linux-arm64.so
Linux ARMv7 tls-client-linux-arm.so
Linux x86-64 (musl) tls-client-linux-amd64-musl.so
Linux ARM64 (musl) tls-client-linux-arm64-musl.so
Linux ARMv7 (musl) tls-client-linux-arm-musl.so

The correct binary is automatically selected at runtime. Override via TLS_CLIENT_LIB environment variable.


🎭 Supported Browser Profiles

The complete, runtime-validated list is exported as tls_client.SUPPORTED_CLIENT_IDENTIFIERS. It is also used for IDE/type checking through ClientIdentifiers.

🌐 Chrome — 113 registered identifiers (55 captures + hand-written)

Two layers share the chrome_* namespace:

1. Captured profiles — every major 99…153. Recovered from live handshakes rather than hand-transcribed, registered by the engine under both chrome_<major> and chrome_<major>_PSK. The captures pin the real per-version cipher list, extension order, supported groups, signature algorithms, JA3/JA4 and HTTP/2 Akamai fingerprint — so chrome_111, chrome_121, chrome_137 reproduce the wire bytes of that exact release, including the per-milestone extension-order reshuffles.

2. Hand-written profiles with PSK / Post-Quantum / trust-anchor refinements. These stay authoritative for their version, and the newest upstream milestone (chrome_154) exists only here:

Identifier Notes
chrome_154 · chrome_154_PSK newest upstream profile; sorted trust anchors
chrome_153 · chrome_153_PSK last milestone with per-process shuffled anchors
chrome_152 · chrome_152_PSK standard + PSK
chrome_150 · chrome_150_PSK standard + PSK
chrome_146 · chrome_146_PSK standard + PSK
chrome_144 · chrome_144_PSK standard + PSK
chrome_133 · chrome_133_PSK · chrome_131 · chrome_131_PSK standard + PSK
chrome_130_PSK PSK only
chrome_116_PSK · chrome_116_PSK_PQ PSK / Post-Quantum

chrome_120 is the default client_identifier.

The engine registers all 165 chrome entries (MappedTLSClients), and tls_client.SUPPORTED_CLIENT_IDENTIFIERS accepts every one of them — including the 35 captured majors that have no hand-written header block (chrome_100, chrome_113, chrome_121, …). Those still get coherent headers through the matching preset, which carries its own User-Agent.

🦊 Firefox — 16 Profiles

Identifier Notes
firefox_102 · firefox_104 · firefox_105 · firefox_106 Firefox 102–106
firefox_108 · firefox_110 Firefox 108 · 110
firefox_117 · firefox_120 · firefox_123 Firefox 117–123
firefox_132 · firefox_133 · firefox_135 Firefox 132–135
firefox_146_PSK Firefox 146 with PSK
firefox_147 · firefox_147_PSK Firefox 147 (standard & PSK)
firefox_148 Firefox 148

🍏 Safari — 11 Profiles

Identifier Device
safari_15_6_1 Safari 15.6.1 (macOS)
safari_16_0 Safari 16.0 (macOS)
safari_27_2 Safari 27.2 (macOS 27.2) — 1.18.1 capture
safari_ipad_15_6 Safari 15.6 (iPadOS)
safari_ios_15_5 · safari_ios_15_6 Safari iOS 15.5–15.6
safari_ios_16_0 · safari_ios_17_0 Safari iOS 16 · 17
safari_ios_18_0 · safari_ios_18_5 Safari iOS 18 · 18.5
safari_ios_26_0 Safari iOS 26

🦁 Brave — 2 Profiles

Identifier Notes
brave_146 Brave Browser 146
brave_146_PSK Brave 146 with PSK

🎭 Opera — 3 Profiles

Identifier
opera_89 · opera_90 · opera_91

🤖 OkHttp (Android) — 7 Profiles

Identifier
okhttp4_android_7 — okhttp4_android_13

📱 Mobile / App SDKs — 16 Profiles

Category Identifiers
Zalando zalando_android_mobile · zalando_ios_mobile
Nike nike_ios_mobile · nike_android_mobile
MMS mms_ios · mms_ios_1 · mms_ios_2 · mms_ios_3
Mesh mesh_ios · mesh_ios_1 · mesh_ios_2 · mesh_android · mesh_android_1 · mesh_android_2
Confirmed confirmed_ios · confirmed_android

☁️ Cloudflare-specific — 1 Profile

Identifier Notes
cloudscraper Custom profile tuned for Cloudflare-protected sites

🔧 Advanced Usage

Full TLS controls at the top-level Session

tls_client.Session is Requests-compatible, but its public constructor keeps the complete native TLS signature. IDE completion and inspect.signature() therefore expose fingerprint, protocol, socket, proxy, certificate, cookie, pool, and debug controls instead of showing only Requests arguments:

import inspect
import tls_client

print(inspect.signature(tls_client.Session))
session = tls_client.Session(
    client_identifier="chrome_152",
    force_http1=True,
    disable_http3=True,
    random_tls_extension_order=False,
    tcp_mss=1460,
    tcp_ttl=64,
    max_connections_per_host=32,
    with_debug=True,
)

The same TLS keyword names are accepted by Requests-style calls (get, post, request, and execute_request) for per-request overrides.

Unknown browser/fingerprint identifiers fail immediately with ValueError. Use SUPPORTED_CLIENT_IDENTIFIERS to validate user input before creating a session.

Custom TLS Client (Full Control)

Set custom_tls_client with up to 26 fields to bypass client_identifier entirely:

session = Session(custom_tls_client={
    "ja3_string": "771,4865-4866-4867-49195-49199-49196-49200-52393-52392-49171-49172-156-157-47-53,0-23-65281-10-11-35-16-5-13-18-51-45-43-27-17513,29-23-24,0",
    "h2_settings": {"HEADER_TABLE_SIZE": 65536, "MAX_CONCURRENT_STREAMS": 1000},
    "h2_settings_order": ["HEADER_TABLE_SIZE", "MAX_CONCURRENT_STREAMS"],
    "pseudo_header_order": [":method", ":authority", ":scheme", ":path"],
    "connection_flow": 1048576,
    "key_share_curves": ["X25519", "P256"],
    "alpn_protocols": ["h2", "http/1.1"],
    "supported_versions": ["1.3", "1.2"],
    "stream_id": 3,
})

Certificate Pinning

session = Session(
    certificate_pinning_hosts={
        "example.com": ["sha256/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="]
    }
)

Client Certificates (mTLS)

session = Session(
    client_certificates=[{
        "cert_pem": open("client.crt", "rb").read(),
        "key_pem": open("client.key", "rb").read(),
    }]
)

Fingerprint Presets (Coherent Browser Bundles)

A preset bundles the engine TLS profile, the per-OS coherent header block (UA + Client Hints), the destination-aware header orders, the extension-shuffle policy and the OS TCP fingerprint in one line:

from tls_client import Session
from tls_client.fingerprints import apply, list_presets

print(len(list_presets()))            # 391 presets

session = Session()
apply(session, "chrome_150_windows")  # or chrome_99_linux, chrome_153_ios, ...
session.get("https://tls.peet.ws/api/all")

All 55 captured Chrome majors (99–153) ship as chrome_<major>_base, chrome_<major>_windows, _macos, _linux, _android, _ios, plus a bare chrome_<major> alias for the Windows variant — and each per-OS variant derives a platform-coherent UA and TCP fingerprint (Windows TTL=128/window=64240, Linux/macOS TTL=64/window=65535, etc.). header_order_for_dest(dest) returns the header template for a Sec-Fetch-Dest value.

Or directly: Session(fingerprint="chrome_150_windows"). Custom presets are plain JSON with optional based_on inheritance:

from tls_client.fingerprints import load_preset_file
load_preset_file("my_chrome.json")     # {"name": ..., "based_on": "chrome_152_windows", ...}

Request Contexts (Sec-Fetch-*, Client Hints, Priority)

Describe how the request was initiated and the coherent header set is derived (opt-in — without context= nothing changes):

from tls_client.context import RequestContext

session.get(url, context=RequestContext.navigation(url, referrer=page_url))
session.post(api, context=RequestContext.xhr(api))
session.get(img, context=RequestContext.image(img))

Trust Anchors (Chrome 152+, ABI 2) and ECH

session = Session(custom_tls_client={
    "ja3_string": "...",
    "trust_anchors_payload": "0009080102030405060708",  # hex of the 0xCA34 payload
})

# Automatic ECH resolution over DoH (RFC 9460), cached per host:
from tls_client import ech
payload = ech.resolve("tls.peet.ws")
session = Session(custom_tls_client={
    "ja3_string": "...",
    "ech_candidate_payloads": ech.to_candidate_payloads(payload),
})

TLS_CLIENT_DOH_ENDPOINT overrides the DoH server (e.g. https://dns.alidns.com/resolve) — useful on networks where cloudflare-dns.com is unreachable.

TLS Debugging (Keylog) and Custom CA (ABI 2)

session = Session(
    tls_keylog_path="keylog.txt",      # Wireshark TLS secrets
    root_ca_pem=open("corp-ca.pem", "rb").read(),
    disable_session_tickets=True,
)

Deep Fingerprint Control (ABI 3)

Fine-grained, byte-level control over the handshake and the socket:

session = Session(
    client_identifier="chrome_150",

    # Chromium shuffles the ClientHello extension order on *every*
    # handshake (unseeded), pinning GREASE / padding / pre_shared_key.
    #   0 = off (captured order)   1 = chrome
    #   2 = all extensions         3 = prefix (first N stay fixed)
    extension_permute_mode=1,
    extension_permute_prefix=0,     # only meaningful when mode=3

    # Suppress RFC 7540 PRIORITY frames / the HEADERS priority flag.
    h2_disable_priority_frames=False,

    # Pick the header order from the request's Sec-Fetch-Dest instead of
    # using one fixed order for every request.
    header_order_by_dest=True,
    header_order_dest=None,         # None = infer from Sec-Fetch-Dest

    # Deep TCP fingerprint. -1 (the default) leaves the profile's own
    # value untouched; 0 is a *real* value (DF cleared / TOS 0 / Nagle off).
    tcp_dont_fragment=-1,           # -1 unset · 0 clear DF · 1 set DF
    tcp_tos=-1,                     # -1 unset · 0..255
    tcp_no_delay=-1,                # -1 unset · 0 off · 1 on
    tcp_window_clamp=0,             # 0 unset · Linux TCP_WINDOW_CLAMP
    tcp_ip_id_mode="",              # "" unset · "random" · "zero" · "incremental"
)

Every parameter can also be set per request. On a shared library older than ABI 3 these degrade to their defaults with a one-time RuntimeWarning instead of failing the request — rebuild the native library to enable them.

Presets bundle all of the above automatically:

from tls_client.fingerprints import apply

session = Session()
apply(session, "chrome_150_linux")   # identifier + headers + permute + TCP

Transport Health Checks (ABI 4)

Three timeouts that decide when a connection is written off, as opposed to when a request is. Zero keeps the previous behaviour for the first two; the third defaults to "no timeout", which is what most callers already had.

session = Session(
    client_identifier="chrome_154",

    # Send an HTTP/2 PING when no frame has arrived for this long, so idle
    # connections survive servers that reap them. 0 disables the check.
    h2_read_idle_timeout_ms=25000,

    # Close the connection when that PING is not acknowledged in time.
    # 0 keeps the engine default of 15 s.
    h2_ping_timeout_ms=15000,

    # Give up waiting for response headers this long after the request body
    # was written (HTTP/1.1 and HTTP/2). 0 means no timeout.
    response_header_timeout_ms=45000,
)

All three are also per-request overrides. On a library older than ABI 4 they are simply ignored — the request proceeds without the health check rather than failing, because omitting them only restores the pre-1.18.1 behaviour.

WebSocket (TLS-fingerprinted)

WebSocket connections reuse the same TLS fingerprint, connection pool and header ordering as regular requests. The handshake is forced to HTTP/1.1 (as the WebSocket upgrade requires it).

compression=True offers permessage-deflate in the handshake and transparently compresses/decompresses messages once the server accepts it — which is what browsers and iOS URLSession do.

Read pump: backpressure without a thread per socket

read_message() parks the calling thread in a blocking recv, so N idle connections cost N threads and nothing bounds how far a fast peer runs ahead of a slow reader. start_read_pump() moves the read into one Go goroutine per connection that feeds a bounded channel; when the channel fills the goroutine stops reading the socket, so TCP flow control reaches the peer.

ws = WebSocket(url="wss://example.com/stream")
with ws.connect() as conn:
    conn.start_read_pump(capacity=64)     # 0 = default (64 messages)

    msg = conn.pump_read(timeout=5.0)     # None on timeout, never blocks a thread
    if msg:
        message_type, data = msg

    print(conn.pump_stats())              # {'delivered': .., 'capacity': .., 'pending': ..}

pending == capacity means the consumer is the bottleneck and the peer is already being flow-controlled. Two readers on one socket are refused: they would interleave frames.

pump_read reports the two "no message" outcomes as different values: None for a timeout (the connection is still open, poll again) and ConnectionClosed once the peer has closed the stream. read_message raises the same exception, so a read loop can tell "nothing yet" from "no more ever".

from tls_client import WebSocket, TEXT, BINARY

# The fingerprint client is created from client_identifier (HTTP/1.1 enforced).
ws = WebSocket(url="wss://echo.websocket.events", client_identifier="chrome_131")

conn = ws.connect()                       # blocking handshake
conn.send_text("hello")                   # UTF-8 text frame
conn.send_binary(b"\x00\x01\x02")         # binary frame

message_type, data = conn.read_message()  # (TEXT=1, b"...") — blocks

conn.close()
ws.close()

read_message() returns a (message_type, data) tuple where message_type is one of TEXT/BINARY/CLOSE/PING/PONG; it returns None on a clean close. Handshake headers and their wire order are controllable:

ws = WebSocket(
    url="wss://example.com/ws",
    client_identifier="firefox_148",
    headers={"User-Agent": "MyBot/1.0", "Origin": "https://example.com"},
    header_order=["host", "upgrade", "connection", "user-agent"],
    handshake_timeout_milliseconds=10000,
)

Build Tiers

A single full-fidelity build ships in each wheel — QUIC/HTTP-3 enabled and the complete profile catalogue (there are no lite/nano tiers).

TLS_CLIENT_LIB=/path/to/tls-client.so   # optional: override the library path

TLS_CLIENT_LIB overrides the path entirely; by default the loader picks the bundled native binary for the current OS/arch.

Engine-Level HTTP/2 Realism (ABI 2.1)

session = Session(
    hpack_indexing_policy="chrome",   # Chromium HPACK indexing behaviour
    h2_max_data_frame_size=14000,     # cap each DATA frame payload
    preface_ping_idle_ms=10000,       # PING before reuse after >=10s idle
    cookie_crumb=True,                # one Cookie field per cookie-pair
)

cookie_crumb splits the Cookie header into one field per cookie-pair on the wire (Chromium "crumble") — observable as multiple cookie: fields by HTTP/2 servers.

Stream Response to Disk

resp = session.stream_to_file(
    "GET", "https://tls.browserleaks.com/",
    output_path="/tmp/image.png"
)
print(resp.status_code)  # response metadata still available

Per-Request Overrides

All Session constructor parameters can be overridden per request:

s = Session(client_identifier="chrome_146")
# Override fingerprint for a single request
resp = s.get("https://tls.browserleaks.com/json", client_identifier="firefox_148")

🔬 Architecture

Layer Technology
Go Engine bogdanfinn/tls-client compiled as C shared library (-buildmode=c-shared)
FFI Boundary Raw C structs via CFFI — no JSON serialization overhead
Memory Safety ffi.gc(resp, FreeResponse) — Go panics surfaced as RuntimeError
Python API requests-style Session, Response, AsyncSession

Or, if you prefer crypto:

  • ETH 0x1Ef18abfE61372e49F08eD24B1055cbDD5d7e0Fc
  • BTC bc1qkfqu5xvayqh55gwjtyannvyqzr4cax4eu3k2u6
  • ADA addr1qxj5hg5xfq9l5r5ed7av7mzg0gy5xemn64lkna5cuu9e4yt0vk8st6zvmfuqjdz849drd7zgcdky4zrdvm603dzf4dgs5unend
  • SOL 7hYfiX4R5bEbggYY2JRZi2a3EdcEzQ6XbgZiHRiRHjau

📚 API Reference

Session

Method Description
get(url, **kwargs) HTTP GET
post(url, **kwargs) HTTP POST
put(url, **kwargs) HTTP PUT
delete(url, **kwargs) HTTP DELETE
head(url, **kwargs) HTTP HEAD
patch(url, **kwargs) HTTP PATCH
execute_request(method, url, **kwargs) Generic request with full options
typed_request(Request) Strongly-typed request
stream_to_file(method, url, path, **kw) Stream the response body straight to disk; metadata still on the response
clear_client_pool() Class method — close every pooled client (also exported at module level)

Response

Property / Method Description
status_code HTTP status code (int)
headers Case-insensitive response headers
content Raw bytes body
text Decoded text body
encoding Detected charset
url Final URL after redirects
cookies Requests cookie jar
history Redirect response history
request The originating PreparedRequest
raw File-like buffered raw response
used_protocol Protocol used (e.g. HTTP/2.0)
ok True if status_code < 400
reason HTTP reason phrase
json() Parse body as JSON
raise_for_status() Raise tls_client.exceptions.HTTPError on 4xx/5xx
iter_content() / iter_lines() Iterate over buffered response data

🔗 Credits

This project is a Python binding for bogdanfinn/tls-client, which itself is built upon:

The byte-exact fingerprint layer also draws on two Go fingerprinting projects whose captured-clienthello techniques were studied as references:

  • enetx/surf — full utls.ClientHelloSpec profiles (trust-anchor 0xCA34, ML-DSA/ML-KEM post-quantum, GREASE) for Chrome/Firefox.
  • httpcloak — raw ClientHello / PSK-resumption replay, per-header HPACK representation and the high-entropy Client Hints model.

Thanks to the authors of all of the above for their open work.


📄 License

MIT — see LICENSE.

Metadata

Release files for tls-client-python 1.18.1.2

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

Source distribution (sdist)

Source distribution for tls-client-python 1.18.1.2
File Size Uploaded Provenance Actions
tls_client_python-1.18.1.2.tar.gz 61.3 MB With provenance Details for tls_client_python-1.18.1.2.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for tls-client-python 1.18.1.2
File Actions
tls_client_python-1.18.1.2-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for tls_client_python-1.18.1.2-py3-none-win_arm64.whl
tls_client_python-1.18.1.2-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for tls_client_python-1.18.1.2-py3-none-win_amd64.whl
tls_client_python-1.18.1.2-py3-none-win32.whl Python 3 none Windows x86-32 Details for tls_client_python-1.18.1.2-py3-none-win32.whl
tls_client_python-1.18.1.2-py3-none-musllinux_1_1_x86_64.whl Python 3 none Linux musl 1.1+ x86-64 Details for tls_client_python-1.18.1.2-py3-none-musllinux_1_1_x86_64.whl
tls_client_python-1.18.1.2-py3-none-musllinux_1_1_armv7l.whl Python 3 none Linux musl 1.1+ ARMv7l Details for tls_client_python-1.18.1.2-py3-none-musllinux_1_1_armv7l.whl
tls_client_python-1.18.1.2-py3-none-musllinux_1_1_aarch64.whl Python 3 none Linux musl 1.1+ ARM64 Details for tls_client_python-1.18.1.2-py3-none-musllinux_1_1_aarch64.whl
tls_client_python-1.18.1.2-py3-none-manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for tls_client_python-1.18.1.2-py3-none-manylinux2014_x86_64.whl
tls_client_python-1.18.1.2-py3-none-manylinux2014_i686.whl Python 3 none Linux glibc 2.17+ x86-32 Details for tls_client_python-1.18.1.2-py3-none-manylinux2014_i686.whl
tls_client_python-1.18.1.2-py3-none-manylinux2014_armv7l.whl Python 3 none Linux glibc 2.17+ ARMv7l Details for tls_client_python-1.18.1.2-py3-none-manylinux2014_armv7l.whl
tls_client_python-1.18.1.2-py3-none-manylinux2014_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for tls_client_python-1.18.1.2-py3-none-manylinux2014_aarch64.whl
tls_client_python-1.18.1.2-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for tls_client_python-1.18.1.2-py3-none-macosx_11_0_arm64.whl
tls_client_python-1.18.1.2-py3-none-macosx_10_9_x86_64.whl Python 3 none macOS 10.9+ x86-64 Details for tls_client_python-1.18.1.2-py3-none-macosx_10_9_x86_64.whl
tls_client_python-1.18.1.2-py3-none-macosx_10_9_universal2.whl Python 3 none macOS 10.9+ universal2 (ARM64, x86-64) Details for tls_client_python-1.18.1.2-py3-none-macosx_10_9_universal2.whl

Total release size: 134.9 MB

Release files / tls_client_python-1.18.1.2.tar.gz

Download URL tls_client_python-1.18.1.2.tar.gz
Size 61.3 MB
Tags Source
SHA-256 checksum
How to use checksums
831abd7d6fb71651b6a7f1c0bb90fa8fa6599921083e33e4e582291d01f3287e
BLAKE2b-256 checksum
How to use checksums
4ed8980a44e01b28cdf821ace6e388c02f5ff3e260b0515dad8d1653c6fc1547
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 27, 2026.

Transparency log

Release files / tls_client_python-1.18.1.2-py3-none-win_arm64.whl

Download URL tls_client_python-1.18.1.2-py3-none-win_arm64.whl
Size 4.8 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
005ad0cba647e2c8e99ea0fd6a15fb58f9154e4e1b6247521cf64d2df19fc7d0
BLAKE2b-256 checksum
How to use checksums
21ca76588ab46ac1cca141ca0cb7ce2b88002e5277688bf163859b54f1fe7b1a
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 27, 2026.

Transparency log

Release files / tls_client_python-1.18.1.2-py3-none-win_amd64.whl

Download URL tls_client_python-1.18.1.2-py3-none-win_amd64.whl
Size 5.4 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
29f253e20bbcbfdd47ab0f9daf8b1b74cc42187217998f762d5d66205fbb32f2
BLAKE2b-256 checksum
How to use checksums
6d849a598682f6a170bb200f2db3cfdbfb0efb0d27bba5f7fe063e193341d609
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 27, 2026.

Transparency log

Release files / tls_client_python-1.18.1.2-py3-none-win32.whl

Download URL tls_client_python-1.18.1.2-py3-none-win32.whl
Size 5.3 MB
Tags Python 3 Windows x86-32
SHA-256 checksum
How to use checksums
2b7bea0dc195d13f0c48da9d5b7012f9ae30a3529e65b5b3285eb364daf5cc24
BLAKE2b-256 checksum
How to use checksums
d6f2ef6453bfaad482047790d0b36e749439dc77c12844d7bcecea0130ca5739
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 27, 2026.

Transparency log

Release files / tls_client_python-1.18.1.2-py3-none-musllinux_1_1_x86_64.whl

Download URL tls_client_python-1.18.1.2-py3-none-musllinux_1_1_x86_64.whl
Size 5.6 MB
Tags Linux musl 1.1+ x86-64 Python 3
SHA-256 checksum
How to use checksums
058e016df862914dc29d8b51633c5ecb6bcea2c44add689d625141d2cb4ac4bc
BLAKE2b-256 checksum
How to use checksums
a41b6b45cb977cf891efc9eaf129d76f9b171e5ce10e11555efbfe023e05c4ff
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 27, 2026.

Transparency log

Release files / tls_client_python-1.18.1.2-py3-none-musllinux_1_1_armv7l.whl

Download URL tls_client_python-1.18.1.2-py3-none-musllinux_1_1_armv7l.whl
Size 5.4 MB
Tags Linux musl 1.1+ ARMv7l Python 3
SHA-256 checksum
How to use checksums
4e56d4cfff388463761c8c3087cfc374175754c0578edecbab5a907149c6aace
BLAKE2b-256 checksum
How to use checksums
3ca3f54d99077be2af8eb4d5821d6a963f4f1395899d5deaa7561f4b3bb44501
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 27, 2026.

Transparency log

Release files / tls_client_python-1.18.1.2-py3-none-musllinux_1_1_aarch64.whl

Download URL tls_client_python-1.18.1.2-py3-none-musllinux_1_1_aarch64.whl
Size 5.0 MB
Tags Linux musl 1.1+ ARM64 Python 3
SHA-256 checksum
How to use checksums
15e3c806fcd85d046192dc241b3a57aebcb6072df109edfb641506b78544bb2d
BLAKE2b-256 checksum
How to use checksums
d7894a46fdb3f14fd9acd70af190660f560609718b52d09053035a8e176ecc51
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 27, 2026.

Transparency log

Release files / tls_client_python-1.18.1.2-py3-none-manylinux2014_x86_64.whl

Download URL tls_client_python-1.18.1.2-py3-none-manylinux2014_x86_64.whl
Size 5.6 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
5fba562eb5565f621d75e537eedc00154d50c3402f6d05cee0b7b99e6658c00f
BLAKE2b-256 checksum
How to use checksums
887aa8d3639fe57bfe738181c46a09912f3c3479acdc1fe5e7a2e142da9af2d4
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 27, 2026.

Transparency log

Release files / tls_client_python-1.18.1.2-py3-none-manylinux2014_i686.whl

Download URL tls_client_python-1.18.1.2-py3-none-manylinux2014_i686.whl
Size 5.7 MB
Tags Linux glibc 2.17+ x86-32 Python 3
SHA-256 checksum
How to use checksums
9048640e53c5941d8cf18d7d01c5bbb562867d2e92932da33bb259a6ebeac88f
BLAKE2b-256 checksum
How to use checksums
e75e203ab7010530811c5696e483e363b5d50693a2b94794ab6afdce76e80f91
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 27, 2026.

Transparency log

Release files / tls_client_python-1.18.1.2-py3-none-manylinux2014_armv7l.whl

Download URL tls_client_python-1.18.1.2-py3-none-manylinux2014_armv7l.whl
Size 5.4 MB
Tags Linux glibc 2.17+ ARMv7l Python 3
SHA-256 checksum
How to use checksums
715915ea8f769c25c40af9e7e8adc9d8ca210f3aa9fe84abd5a1aa825c3e6939
BLAKE2b-256 checksum
How to use checksums
1a752c8fe7bc6d9ee43b98a37f56ab0b84679fb3d84ba6727393c9698317f446
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 27, 2026.

Transparency log

Release files / tls_client_python-1.18.1.2-py3-none-manylinux2014_aarch64.whl

Download URL tls_client_python-1.18.1.2-py3-none-manylinux2014_aarch64.whl
Size 5.1 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
13b68ea3c002e46e71dcab37afb29f47cb6c856155bb61925c0fb8853ee74a32
BLAKE2b-256 checksum
How to use checksums
1f1e23c18501cd53e11e19479976707f9de97bab388cc2484a05b4ae698caae2
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 27, 2026.

Transparency log

Release files / tls_client_python-1.18.1.2-py3-none-macosx_11_0_arm64.whl

Download URL tls_client_python-1.18.1.2-py3-none-macosx_11_0_arm64.whl
Size 4.9 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
ceb7721b11ee68cb1218862450b3e16380460637889fd1478ea3fbaa8f222661
BLAKE2b-256 checksum
How to use checksums
f6aab906cdecf61ba0d82d6321ce6ecf866cd4f07753842d281052fd2ec4bb33
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 27, 2026.

Transparency log

Release files / tls_client_python-1.18.1.2-py3-none-macosx_10_9_x86_64.whl

Download URL tls_client_python-1.18.1.2-py3-none-macosx_10_9_x86_64.whl
Size 5.3 MB
Tags Python 3 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
172ae3b8034eea7a13eb08ef225cb85c53f2b2220f5d76b01f2a1d28f5aa5917
BLAKE2b-256 checksum
How to use checksums
7b5203d73f0eb92c0f8a4c104483b5c2b4570b63e06ed00d4169e7ee5fdea09f
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 27, 2026.

Transparency log

Release files / tls_client_python-1.18.1.2-py3-none-macosx_10_9_universal2.whl

Download URL tls_client_python-1.18.1.2-py3-none-macosx_10_9_universal2.whl
Size 10.1 MB
Tags Python 3 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
b274b99239f805b4ee004c163a4636fdb1b303742d0918b4b503318cbd5e7970
BLAKE2b-256 checksum
How to use checksums
2a5dd9ac0dfc3f484e4cdfc20a819121f2b73e24a800aa99f7a9444974ca43fc
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 27, 2026.

Transparency log

Security for tls-client-python 1.18.1.2

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 14 files in this release have been uploaded with provenance metadata.

Select from 14 files

Attestation for tls_client_python-1.18.1.2.tar.gz

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 27, 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