Metadata-Version: 2.4
Name: oxid-sql-postgres
Version: 0.1.1
Summary: Async PostgreSQL for the Python that oxid-sql generates, in Rust
Author: Optersoft, S.L.
License-Expression: LicenseRef-Optersoft-Proprietary
License-File: LICENSE.txt
License-File: THIRD_PARTY_NOTICES.txt
License-File: licenses/rust/Apache-2.0.txt
License-File: licenses/rust/BSD-2-Clause.txt
License-File: licenses/rust/CC-BY-SA-4.0.txt
License-File: licenses/rust/COPYRIGHT-library.html
License-File: licenses/rust/GCC-exception-3.1.txt
License-File: licenses/rust/GPL-2.0-only.txt
License-File: licenses/rust/GPL-3.0-or-later.txt
License-File: licenses/rust/ISC.txt
License-File: licenses/rust/LLVM-exception.txt
License-File: licenses/rust/MIT.txt
License-File: licenses/rust/NCSA.txt
License-File: licenses/rust/OFL-1.1.txt
License-File: licenses/rust/Unicode-3.0.txt
Classifier: Programming Language :: Rust
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Topic :: Database
Classifier: Typing :: Typed
Requires-Python: >=3.10
Description-Content-Type: text/markdown

# oxid-sql-postgres

Async PostgreSQL for the Python that `oxid-sql` generates, in Rust: no libpq, no OpenSSL.

```python
from oxid_sql_postgres import connect
from queries import Queries  # sql python --dialect postgresql --async

async with await connect("postgresql://user:secret@db.example.com/app") as database:
    queries = Queries(database)
```

TLS is on and verified, host name included, unless the URL says `sslmode=disable`. Name a private
root with `sslrootcert=/path/root.pem`; otherwise the Mozilla roots in the module are used.
`sslmode=prefer`, `allow` and `verify-ca` are refused. The server's certificate must not be a CA
certificate.

Copyright (c) 2026 Optersoft, S.L. Bundled third-party components keep their own licences
(`THIRD_PARTY_NOTICES.txt`).
