Metadata-Version: 2.4
Name: sqlaero
Version: 0.2.0b2
Classifier: Development Status :: 4 - Beta
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: 3.15
Classifier: Programming Language :: Rust
Classifier: Topic :: Database :: Front-Ends
License-File: LICENSE
License-File: THIRD_PARTY_NOTICES.md
License-File: licenses/third-party/adler2-2.0.1/LICENSE-0BSD
License-File: licenses/third-party/adler2-2.0.1/LICENSE-APACHE
License-File: licenses/third-party/adler2-2.0.1/LICENSE-MIT
License-File: licenses/third-party/aead-0.6.1/LICENSE-APACHE
License-File: licenses/third-party/aead-0.6.1/LICENSE-MIT
License-File: licenses/third-party/aes-0.9.3/LICENSE-APACHE
License-File: licenses/third-party/aes-0.9.3/LICENSE-MIT
License-File: licenses/third-party/aes-gcm-0.11.1/LICENSE-APACHE
License-File: licenses/third-party/aes-gcm-0.11.1/LICENSE-MIT
License-File: licenses/third-party/ahash-0.8.12/LICENSE-APACHE
License-File: licenses/third-party/ahash-0.8.12/LICENSE-MIT
License-File: licenses/third-party/aho-corasick-1.1.5/COPYING
License-File: licenses/third-party/aho-corasick-1.1.5/LICENSE-MIT
License-File: licenses/third-party/aho-corasick-1.1.5/UNLICENSE
License-File: licenses/third-party/autocfg-1.5.1/LICENSE-APACHE
License-File: licenses/third-party/autocfg-1.5.1/LICENSE-MIT
License-File: licenses/third-party/aws-lc-rs-1.18.0/LICENSE
License-File: licenses/third-party/aws-lc-sys-0.44.0/LICENSE
License-File: licenses/third-party/aws-lc-sys-0.44.0/aws-lc/LICENSE
License-File: licenses/third-party/base64-0.22.1/LICENSE-APACHE
License-File: licenses/third-party/base64-0.22.1/LICENSE-MIT
License-File: licenses/third-party/base64ct-1.8.3/LICENSE-APACHE
License-File: licenses/third-party/base64ct-1.8.3/LICENSE-MIT
License-File: licenses/third-party/bitflags-2.13.2/LICENSE-APACHE
License-File: licenses/third-party/bitflags-2.13.2/LICENSE-MIT
License-File: licenses/third-party/bitvec-1.1.1/LICENSE.txt
License-File: licenses/third-party/block-buffer-0.12.1/LICENSE-APACHE
License-File: licenses/third-party/block-buffer-0.12.1/LICENSE-MIT
License-File: licenses/third-party/block-padding-0.4.2/LICENSE-APACHE
License-File: licenses/third-party/block-padding-0.4.2/LICENSE-MIT
License-File: licenses/third-party/btoi-0.5.0/LICENSE-APACHE
License-File: licenses/third-party/btoi-0.5.0/LICENSE-MIT
License-File: licenses/third-party/byteorder-1.5.0/COPYING
License-File: licenses/third-party/byteorder-1.5.0/LICENSE-MIT
License-File: licenses/third-party/byteorder-1.5.0/UNLICENSE
License-File: licenses/third-party/bytes-1.12.1/LICENSE
License-File: licenses/third-party/cbc-0.2.1/LICENSE-APACHE
License-File: licenses/third-party/cbc-0.2.1/LICENSE-MIT
License-File: licenses/third-party/cc-1.10.0/LICENSE-APACHE
License-File: licenses/third-party/cc-1.10.0/LICENSE-MIT
License-File: licenses/third-party/cfg-if-1.0.5/LICENSE-APACHE
License-File: licenses/third-party/cfg-if-1.0.5/LICENSE-MIT
License-File: licenses/third-party/cipher-0.5.2/LICENSE-APACHE
License-File: licenses/third-party/cipher-0.5.2/LICENSE-MIT
License-File: licenses/third-party/cmake-0.1.58/LICENSE-APACHE
License-File: licenses/third-party/cmake-0.1.58/LICENSE-MIT
License-File: licenses/third-party/cmov-0.5.4/LICENSE-APACHE
License-File: licenses/third-party/cmov-0.5.4/LICENSE-MIT
License-File: licenses/third-party/const-oid-0.10.2/LICENSE-APACHE
License-File: licenses/third-party/const-oid-0.10.2/LICENSE-MIT
License-File: licenses/third-party/core-foundation-0.10.1/LICENSE-APACHE
License-File: licenses/third-party/core-foundation-0.10.1/LICENSE-MIT
License-File: licenses/third-party/core-foundation-sys-0.8.7/LICENSE-APACHE
License-File: licenses/third-party/core-foundation-sys-0.8.7/LICENSE-MIT
License-File: licenses/third-party/core_detect-1.0.0/LICENSE-APACHE
License-File: licenses/third-party/core_detect-1.0.0/LICENSE-MIT
License-File: licenses/third-party/cpubits-0.1.1/LICENSE-APACHE
License-File: licenses/third-party/cpubits-0.1.1/LICENSE-MIT
License-File: licenses/third-party/cpufeatures-0.3.1/LICENSE-APACHE
License-File: licenses/third-party/cpufeatures-0.3.1/LICENSE-MIT
License-File: licenses/third-party/crc32fast-1.5.3/LICENSE-APACHE
License-File: licenses/third-party/crc32fast-1.5.3/LICENSE-MIT
License-File: licenses/third-party/crypto-common-0.2.2/LICENSE-APACHE
License-File: licenses/third-party/crypto-common-0.2.2/LICENSE-MIT
License-File: licenses/third-party/ctr-0.10.1/LICENSE-APACHE
License-File: licenses/third-party/ctr-0.10.1/LICENSE-MIT
License-File: licenses/third-party/ctutils-0.4.5/LICENSE-APACHE
License-File: licenses/third-party/ctutils-0.4.5/LICENSE-MIT
License-File: licenses/third-party/der-0.8.2/LICENSE-APACHE
License-File: licenses/third-party/der-0.8.2/LICENSE-MIT
License-File: licenses/third-party/digest-0.11.3/LICENSE-APACHE
License-File: licenses/third-party/digest-0.11.3/LICENSE-MIT
License-File: licenses/third-party/dunce-1.0.5/LICENSE
License-File: licenses/third-party/encoding_rs-0.8.42/COPYRIGHT
License-File: licenses/third-party/encoding_rs-0.8.42/LICENSE-APACHE
License-File: licenses/third-party/encoding_rs-0.8.42/LICENSE-MIT
License-File: licenses/third-party/encoding_rs-0.8.42/LICENSE-WHATWG
License-File: licenses/third-party/find-msvc-tools-0.1.15/LICENSE-APACHE
License-File: licenses/third-party/find-msvc-tools-0.1.15/LICENSE-MIT
License-File: licenses/third-party/flate2-1.1.10/LICENSE-APACHE
License-File: licenses/third-party/flate2-1.1.10/LICENSE-MIT
License-File: licenses/third-party/fs_extra-1.3.0/LICENSE
License-File: licenses/third-party/funty-2.0.0/LICENSE.txt
License-File: licenses/third-party/getrandom-0.2.17/LICENSE-APACHE
License-File: licenses/third-party/getrandom-0.2.17/LICENSE-MIT
License-File: licenses/third-party/getrandom-0.3.4/LICENSE-APACHE
License-File: licenses/third-party/getrandom-0.3.4/LICENSE-MIT
License-File: licenses/third-party/getrandom-0.4.3/LICENSE-APACHE
License-File: licenses/third-party/getrandom-0.4.3/LICENSE-MIT
License-File: licenses/third-party/ghash-0.6.0/LICENSE-APACHE
License-File: licenses/third-party/ghash-0.6.0/LICENSE-MIT
License-File: licenses/third-party/heck-0.5.0/LICENSE-APACHE
License-File: licenses/third-party/heck-0.5.0/LICENSE-MIT
License-File: licenses/third-party/hex-0.4.3/LICENSE-APACHE
License-File: licenses/third-party/hex-0.4.3/LICENSE-MIT
License-File: licenses/third-party/hmac-0.13.0/LICENSE-APACHE
License-File: licenses/third-party/hmac-0.13.0/LICENSE-MIT
License-File: licenses/third-party/hybrid-array-0.4.15/LICENSE-APACHE
License-File: licenses/third-party/hybrid-array-0.4.15/LICENSE-MIT
License-File: licenses/third-party/inout-0.2.5/LICENSE-APACHE
License-File: licenses/third-party/inout-0.2.5/LICENSE-MIT
License-File: licenses/third-party/itoa-1.0.18/LICENSE-APACHE
License-File: licenses/third-party/itoa-1.0.18/LICENSE-MIT
License-File: licenses/third-party/jiter-0.17.0/LICENSE
License-File: licenses/third-party/jobserver-0.1.35/LICENSE-APACHE
License-File: licenses/third-party/jobserver-0.1.35/LICENSE-MIT
License-File: licenses/third-party/lexical-parse-float-1.0.6/LICENSE-APACHE
License-File: licenses/third-party/lexical-parse-float-1.0.6/LICENSE-MIT
License-File: licenses/third-party/lexical-parse-float-1.0.6/LICENSE.md
License-File: licenses/third-party/lexical-parse-integer-1.0.6/LICENSE-APACHE
License-File: licenses/third-party/lexical-parse-integer-1.0.6/LICENSE-MIT
License-File: licenses/third-party/lexical-parse-integer-1.0.6/LICENSE.md
License-File: licenses/third-party/lexical-util-1.0.7/LICENSE-APACHE
License-File: licenses/third-party/lexical-util-1.0.7/LICENSE-MIT
License-File: licenses/third-party/libc-0.2.191/LICENSE-APACHE
License-File: licenses/third-party/libc-0.2.191/LICENSE-MIT
License-File: licenses/third-party/log-0.4.34/LICENSE-APACHE
License-File: licenses/third-party/log-0.4.34/LICENSE-MIT
License-File: licenses/third-party/memchr-2.8.3/COPYING
License-File: licenses/third-party/memchr-2.8.3/LICENSE-MIT
License-File: licenses/third-party/memchr-2.8.3/UNLICENSE
License-File: licenses/third-party/miniz_oxide-0.9.1/LICENSE
License-File: licenses/third-party/miniz_oxide-0.9.1/LICENSE-APACHE.md
License-File: licenses/third-party/miniz_oxide-0.9.1/LICENSE-MIT.md
License-File: licenses/third-party/miniz_oxide-0.9.1/LICENSE-ZLIB.md
License-File: licenses/third-party/mio-1.2.4/LICENSE
License-File: licenses/third-party/multiversion_no_op-1.0.0/COPYRIGHT
License-File: licenses/third-party/multiversion_no_op-1.0.0/LICENSE-APACHE
License-File: licenses/third-party/multiversion_no_op-1.0.0/LICENSE-MIT
License-File: licenses/third-party/mysql_common-0.38.2/LICENSE-APACHE
License-File: licenses/third-party/mysql_common-0.38.2/LICENSE-MIT
License-File: licenses/third-party/num-bigint-0.4.8/LICENSE-APACHE
License-File: licenses/third-party/num-bigint-0.4.8/LICENSE-MIT
License-File: licenses/third-party/num-bigint-0.5.1/LICENSE-APACHE
License-File: licenses/third-party/num-bigint-0.5.1/LICENSE-MIT
License-File: licenses/third-party/num-integer-0.1.47/LICENSE-APACHE
License-File: licenses/third-party/num-integer-0.1.47/LICENSE-MIT
License-File: licenses/third-party/num-traits-0.2.19/LICENSE-APACHE
License-File: licenses/third-party/num-traits-0.2.19/LICENSE-MIT
License-File: licenses/third-party/once_cell-1.21.4/LICENSE-APACHE
License-File: licenses/third-party/once_cell-1.21.4/LICENSE-MIT
License-File: licenses/third-party/openssl-probe-0.2.1/LICENSE-APACHE
License-File: licenses/third-party/openssl-probe-0.2.1/LICENSE-MIT
License-File: licenses/third-party/pbkdf2-0.13.0/LICENSE-APACHE
License-File: licenses/third-party/pbkdf2-0.13.0/LICENSE-MIT
License-File: licenses/third-party/pem-rfc7468-1.0.0/LICENSE-APACHE
License-File: licenses/third-party/pem-rfc7468-1.0.0/LICENSE-MIT
License-File: licenses/third-party/pkcs5-0.8.1/LICENSE-APACHE
License-File: licenses/third-party/pkcs5-0.8.1/LICENSE-MIT
License-File: licenses/third-party/pkcs8-0.11.0/LICENSE-APACHE
License-File: licenses/third-party/pkcs8-0.11.0/LICENSE-MIT
License-File: licenses/third-party/pkg-config-0.3.34/LICENSE-APACHE
License-File: licenses/third-party/pkg-config-0.3.34/LICENSE-MIT
License-File: licenses/third-party/polyval-0.7.3/LICENSE-APACHE
License-File: licenses/third-party/polyval-0.7.3/LICENSE-MIT
License-File: licenses/third-party/proc-macro2-1.0.107/LICENSE-APACHE
License-File: licenses/third-party/proc-macro2-1.0.107/LICENSE-MIT
License-File: licenses/third-party/pyo3-0.29.2/LICENSE-APACHE
License-File: licenses/third-party/pyo3-0.29.2/LICENSE-MIT
License-File: licenses/third-party/pyo3-build-config-0.29.2/LICENSE-APACHE
License-File: licenses/third-party/pyo3-build-config-0.29.2/LICENSE-MIT
License-File: licenses/third-party/pyo3-ffi-0.29.2/LICENSE-APACHE
License-File: licenses/third-party/pyo3-ffi-0.29.2/LICENSE-MIT
License-File: licenses/third-party/pyo3-macros-0.29.2/LICENSE-APACHE
License-File: licenses/third-party/pyo3-macros-0.29.2/LICENSE-MIT
License-File: licenses/third-party/pyo3-macros-backend-0.29.2/LICENSE-APACHE
License-File: licenses/third-party/pyo3-macros-backend-0.29.2/LICENSE-MIT
License-File: licenses/third-party/quote-1.0.47/LICENSE-APACHE
License-File: licenses/third-party/quote-1.0.47/LICENSE-MIT
License-File: licenses/third-party/radium-0.7.0/LICENSE.txt
License-File: licenses/third-party/rand_core-0.10.1/COPYRIGHT
License-File: licenses/third-party/rand_core-0.10.1/LICENSE-APACHE
License-File: licenses/third-party/rand_core-0.10.1/LICENSE-MIT
License-File: licenses/third-party/regex-1.13.1/LICENSE-APACHE
License-File: licenses/third-party/regex-1.13.1/LICENSE-MIT
License-File: licenses/third-party/regex-automata-0.4.18/LICENSE-APACHE
License-File: licenses/third-party/regex-automata-0.4.18/LICENSE-MIT
License-File: licenses/third-party/regex-syntax-0.8.11/LICENSE-APACHE
License-File: licenses/third-party/regex-syntax-0.8.11/LICENSE-MIT
License-File: licenses/third-party/ring-0.17.14/LICENSE
License-File: licenses/third-party/ring-0.17.14/LICENSE-BoringSSL
License-File: licenses/third-party/ring-0.17.14/LICENSE-other-bits
License-File: licenses/third-party/rustls-0.23.46/LICENSE-APACHE
License-File: licenses/third-party/rustls-0.23.46/LICENSE-ISC
License-File: licenses/third-party/rustls-0.23.46/LICENSE-MIT
License-File: licenses/third-party/rustls-native-certs-0.8.5/LICENSE
License-File: licenses/third-party/rustls-native-certs-0.8.5/LICENSE-APACHE
License-File: licenses/third-party/rustls-native-certs-0.8.5/LICENSE-ISC
License-File: licenses/third-party/rustls-native-certs-0.8.5/LICENSE-MIT
License-File: licenses/third-party/rustls-pki-types-1.15.1/LICENSE-APACHE
License-File: licenses/third-party/rustls-pki-types-1.15.1/LICENSE-MIT
License-File: licenses/third-party/rustls-platform-verifier-0.7.1/LICENSE-APACHE
License-File: licenses/third-party/rustls-platform-verifier-0.7.1/LICENSE-MIT
License-File: licenses/third-party/rustls-webpki-0.103.16/LICENSE
License-File: licenses/third-party/rustversion-1.0.23/LICENSE-APACHE
License-File: licenses/third-party/rustversion-1.0.23/LICENSE-MIT
License-File: licenses/third-party/salsa20-0.11.0/LICENSE-APACHE
License-File: licenses/third-party/salsa20-0.11.0/LICENSE-MIT
License-File: licenses/third-party/saturating-0.1.0/LICENSE
License-File: licenses/third-party/scopeguard-1.2.0/LICENSE-APACHE
License-File: licenses/third-party/scopeguard-1.2.0/LICENSE-MIT
License-File: licenses/third-party/scrypt-0.12.0/LICENSE-APACHE
License-File: licenses/third-party/scrypt-0.12.0/LICENSE-MIT
License-File: licenses/third-party/security-framework-3.7.0/LICENSE-APACHE
License-File: licenses/third-party/security-framework-3.7.0/LICENSE-MIT
License-File: licenses/third-party/security-framework-sys-2.17.0/LICENSE-APACHE
License-File: licenses/third-party/security-framework-sys-2.17.0/LICENSE-MIT
License-File: licenses/third-party/serde-1.0.229/LICENSE-APACHE
License-File: licenses/third-party/serde-1.0.229/LICENSE-MIT
License-File: licenses/third-party/serde_core-1.0.229/LICENSE-APACHE
License-File: licenses/third-party/serde_core-1.0.229/LICENSE-MIT
License-File: licenses/third-party/serde_derive-1.0.229/LICENSE-APACHE
License-File: licenses/third-party/serde_derive-1.0.229/LICENSE-MIT
License-File: licenses/third-party/serde_json-1.0.154/LICENSE-APACHE
License-File: licenses/third-party/serde_json-1.0.154/LICENSE-MIT
License-File: licenses/third-party/sha1-0.11.0/LICENSE-APACHE
License-File: licenses/third-party/sha1-0.11.0/LICENSE-MIT
License-File: licenses/third-party/sha2-0.11.1/LICENSE-APACHE
License-File: licenses/third-party/sha2-0.11.1/LICENSE-MIT
License-File: licenses/third-party/shlex-2.0.1/LICENSE-APACHE
License-File: licenses/third-party/shlex-2.0.1/LICENSE-MIT
License-File: licenses/third-party/simd-adler32-0.3.10/LICENSE.md
License-File: licenses/third-party/simdutf8-0.1.5/LICENSE-Apache
License-File: licenses/third-party/simdutf8-0.1.5/LICENSE-MIT
License-File: licenses/third-party/smallvec-1.16.4/LICENSE-APACHE
License-File: licenses/third-party/smallvec-1.16.4/LICENSE-MIT
License-File: licenses/third-party/socket2-0.6.5/LICENSE-APACHE
License-File: licenses/third-party/socket2-0.6.5/LICENSE-MIT
License-File: licenses/third-party/spki-0.8.1/LICENSE-APACHE
License-File: licenses/third-party/spki-0.8.1/LICENSE-MIT
License-File: licenses/third-party/subtle-2.6.1/LICENSE
License-File: licenses/third-party/syn-2.0.119/LICENSE-APACHE
License-File: licenses/third-party/syn-2.0.119/LICENSE-MIT
License-File: licenses/third-party/syn-3.0.9/LICENSE-APACHE
License-File: licenses/third-party/syn-3.0.9/LICENSE-MIT
License-File: licenses/third-party/tap-1.0.1/LICENSE.txt
License-File: licenses/third-party/target-lexicon-0.13.5/LICENSE
License-File: licenses/third-party/thiserror-2.0.21/LICENSE-APACHE
License-File: licenses/third-party/thiserror-2.0.21/LICENSE-MIT
License-File: licenses/third-party/thiserror-impl-2.0.21/LICENSE-APACHE
License-File: licenses/third-party/thiserror-impl-2.0.21/LICENSE-MIT
License-File: licenses/third-party/typenum-1.20.1/LICENSE
License-File: licenses/third-party/typenum-1.20.1/LICENSE-APACHE
License-File: licenses/third-party/typenum-1.20.1/LICENSE-MIT
License-File: licenses/third-party/unicode-ident-1.0.27/LICENSE-APACHE
License-File: licenses/third-party/unicode-ident-1.0.27/LICENSE-MIT
License-File: licenses/third-party/unicode-ident-1.0.27/LICENSE-UNICODE
License-File: licenses/third-party/universal-hash-0.6.1/LICENSE-APACHE
License-File: licenses/third-party/universal-hash-0.6.1/LICENSE-MIT
License-File: licenses/third-party/untrusted-0.7.1/LICENSE.txt
License-File: licenses/third-party/untrusted-0.9.0/LICENSE.txt
License-File: licenses/third-party/uuid-1.29.0/LICENSE-APACHE
License-File: licenses/third-party/uuid-1.29.0/LICENSE-MIT
License-File: licenses/third-party/version_check-0.9.5/LICENSE-APACHE
License-File: licenses/third-party/version_check-0.9.5/LICENSE-MIT
License-File: licenses/third-party/windows-link-0.2.1/license-apache-2.0
License-File: licenses/third-party/windows-link-0.2.1/license-mit
License-File: licenses/third-party/windows-sys-0.61.2/license-apache-2.0
License-File: licenses/third-party/windows-sys-0.61.2/license-mit
License-File: licenses/third-party/wyz-0.5.1/LICENSE.txt
License-File: licenses/third-party/zerocopy-0.8.63/LICENSE-APACHE
License-File: licenses/third-party/zerocopy-0.8.63/LICENSE-BSD
License-File: licenses/third-party/zerocopy-0.8.63/LICENSE-MIT
License-File: licenses/third-party/zeroize-1.9.1/LICENSE-APACHE
License-File: licenses/third-party/zeroize-1.9.1/LICENSE-MIT
License-File: licenses/third-party/zmij-1.0.23/LICENSE-MIT
Summary: A native Rust MySQL client for Python
Author: Jef
License-Expression: MIT
Requires-Python: >=3.12, <3.16
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Issues, https://github.com/AresJef/SQLAero/issues
Project-URL: Repository, https://github.com/AresJef/SQLAero

# SQLAero

SQLAero is a synchronous MySQL client for Python with a native Rust protocol,
connection, parameter binding, result buffering and decoding core. Python values
are adapted at the boundary; SQL literals are written into the current native
request rather than generated as per-value Python SQL strings.

The 0.2 Beta targets regular-GIL CPython 3.12–3.15 on macOS arm64 / x86_64,
Windows x86_64 / arm64, and glibc / musl Linux x86_64 / aarch64, with MySQL
8.4 / 9.7. The release workflow builds and installs all 32 original wheels,
independently rebuilds and tests the same source distribution in all 32
combinations, then publishes the same 33 files. A further 32 jobs install
the exact version from PyPI and repeat the
applicable integration suite. Async and free-threaded Python remain future work.

The macOS 11.0, manylinux_2_28 and musllinux_1_2 tags are build compatibility
targets, not claims of runtime tests on every older OS release. Native CI runs
on macOS 26 arm64, macOS 15 Intel, Windows Server 2022 x86_64 and Windows 11
ARM64. Linux installation tests run inside pinned native PyPA containers on
x86_64 / ARM64 Ubuntu hosts; MySQL servers remain owned loopback processes.

## Install

```sh
python -m pip install --pre 'sqlaero==0.2.0b2'
```

This Beta is a new Rust client. It is not an API-compatible update to the old
Cython 0.1 alpha. See the [release notes](docs/releases/v0.2.0b2.md) for scope,
validation boundaries and migration cautions.

## Build from source

Use a virtual environment, the locked Rust toolchain and the development
requirements. From the repository root:

```sh
python -m venv .venv
source .venv/bin/activate
python -m pip install -r requirements-dev.txt
maturin develop --release --locked -m crates/sqlaero-python/Cargo.toml
python -m pytest -q
pyright
```

Running the full integration suite also requires two isolated MySQL fixtures.
On a macOS development machine, install `mysql@8.4`, `mysql@9.7` and `openssl@4`
through Homebrew. Explicitly set `SQLAERO_TEST_MYSQL_ROOT` to an owned temporary
directory and `SQLAERO_NATIVE_MYSQL=1`, then run `python tools/mysql_fixture.py
prepare` before tests and `python tools/mysql_fixture.py stop` afterward. Tests
that require a real database refuse to select an implicit user database.
Linux and Windows use the official MySQL installations selected with
`SQLAERO_MYSQL_84_ROOT` and `SQLAERO_MYSQL_97_ROOT`; `SQLAERO_OPENSSL` can select
the OpenSSL executable. CI uses the shared native-environment action for this
preparation. The utility uses loopback ports and private temporary data, never
Homebrew services or their default database directories.
For Windows signal coverage, run `python tests/_native_signal.py --pytest -q
tests`; the launcher creates a private console before Python starts so real
control events cannot reach the shell or Actions runner. On POSIX this same
launcher executes the ordinary pytest command.

## Query and fetch

```python
import os
from pathlib import Path
from sqlaero import SSL, connect

with connect(
    user='app', password=os.environ['MYSQL_PASSWORD'], database='app',
    host='db.example.com', ssl=SSL(ca_file=Path('mysql-ca.pem')),
) as connection:
    with connection.cursor() as cursor:
        cursor.execute('SELECT %s AS n, %s AS label', (7, "a safe ' value"))
        assert cursor.fetchone() == (7, "a safe ' value")
        assert cursor.columns.names == ('n', 'label')
```

Default TCP uses certificate/hostname verification; explicit Unix sockets on
macOS/Linux use local plain transport unless TLS is explicitly configured.
Windows uses TCP and clearly rejects `unix_socket` without a transport fallback.
Initialization
confirms UTC, character encoding, autocommit and the server session timeouts
before returning a usable connection. Paths accept str and os.PathLike values.
Memory-size settings accept byte integers or forms such as `64MB` / `64MiB`.

`execute(sql)` sends original SQL without interpolation. Explicit args, including
`None`, bind `%s` positions outside SQL quotes/comments; `None` is SQL NULL.
Named placeholders are not supported. Exact built-in scalar inputs are None,
bool, int, float, Decimal, str, bytes, bytearray, date, datetime, time and timedelta;
exact list/tuple provide positional, nested and batch structure. Third-party
arrays/tables, arbitrary subclasses and memoryview are outside this first version.
Nonfinite float/Decimal values become NULL. Aware datetime inputs normalize to
UTC and require a reliably confirmed UTC session.
`datetime.time` inputs preserve their clock fields and microseconds, ignore
`tzinfo`, and never call timezone methods. For example, `00:30+01:00` is written
as `'00:30:00'`; unlike aware `datetime`, it is not converted to UTC.

`executemany(sql, rows)` is the same native `many=True, itemize=True` path.
Approved INSERT/REPLACE VALUES forms merge complete rows within the actual
encoded request limit; other legal SQL executes per row. A confirmed prefix is
not a promise that its transaction committed. An entered failed call exposes
unknown aggregate counters and preserves confirmed prefix facts in diagnostics.

Rows are tuples. Results are received into native storage, then converted lazily
by fetch. A failed multi-row fetch leaves its original position unchanged.
`columns` is an immutable sequence with integer/slice/unique-key access;
`names` preserves actual labels, while `keys` resolves duplicate labels once.
Old column snapshots remain valid after another execution or Cursor close.

## Transactions, local settings and errors

```python
with connection.transaction() as cursor:
    cursor.execute('UPDATE users SET active=%s WHERE id=%s', (True, 7))
```

A successful block commits; a propagated business error attempts rollback.
Cleanup preserves one primary exception and records actual later failures.
Manual transaction commands inside the block follow the documented MySQL
semantics; earlier commits and implicit DDL commits cannot be undone by exit.

Local runtime settings use property assignment, such as
`connection.read_timeout = 5`. Remote session changes use explicit methods, such
as `connection.set_net_read_timeout(30)`. Client timeouts and server-side timeout
variables have different meanings; every property/method documents its scope,
units, defaults, None behavior, effects and closed-state rules.

Decode options on Connection default new Cursors; Cursor settings apply to new
executions. Existing results keep their execution-time settings. Options include
`decode_json`, `decode_set`, `decode_bit`, `use_decimal`, `use_timedelta`,
`decode_text_strict` and `decode_date_strict`.

See [errors and diagnostic snapshots](docs/errors.md), the maintained
[error-code catalog](docs/error-codes.md), and [explicit outer retry](docs/retry.md).
The public typing aliases are in `sqlaero.typing`; retry preserves callable
parameters and return inference. Execution never reconnects or replays SQL
implicitly.

## Performance and development

The following figures belong to the original alpha evidence and do not describe
the later repair artifacts or this Beta. The [Beta release notes](docs/releases/v0.2.0b2.md)
explain those boundaries. Native build, installed-package and source-rebuild
checks are available in the [release workflow runs](https://github.com/AresJef/SQLAero/actions/workflows/release.yml);
local formal performance measurements are kept separate from CI observations.

On the measured macOS arm64 / CPython 3.13.3 machine, the original frozen W06 combination
passed 480 main and 204 independent protection scenarios against its initial
functional Rust baseline. Representative improvements included 1.61× for a
1,000-element string list, 1.58× for binding 1,000 INSERT rows, and 1.16–1.19×
for materializing 10,000 numeric/text rows. These are particular native phases,
not promises about total application or network-query latency. Some smaller
costs remained within the agreed 5% protection band.

The older experimental escape implementation remains faster on most same-text
escape microbenchmarks. Its Python-string return contract differs from this
client's Rust request writer; no universal speed advantage is claimed.
Frozen experiments, private test credentials and local timing records are not
runtime dependencies or distribution contents. Public error and retry guides,
source tests and dependency notices accompany the new client.

