This release is a pre-release and may not be stable for production use.
h324
Experimental Python H.324 dial-up multimedia protocols and async modem calling. Python 3.11–3.14; no Qt or FFmpeg dependency. The desktop application is Modem Conference.
The initial finite profile supports CX93001 USB modems with V.80 synchronous access, V.32bis at 14,400 bps, H.223 level 0, SRP, aligned-PER H.245, G.723.1 mono audio and H.263 SQCIF video. It is a tested prototype, not a complete H.324 implementation or a promise of interoperability with arbitrary terminals.
Install the experimental preview with pip install h324==0.1.0a1. Development:
uv sync --group dev, uv run pytest. Enumerate ports with h324 devices;
inspect an explicitly selected modem using h324 probe --port DEVICE.
import asyncio
from h324 import AsyncModem, ModemConfig
async def main():
# Supply your own OS device path or Windows COM port and telephone number.
async with AsyncModem(ModemConfig(port="COM3")) as modem:
call = await modem.dial("1234")
async for event in call.events():
print(event.kind, event.data)
asyncio.run(main())
await modem.answer() waits for an incoming call. Call.send() consumes an
async iterable of MediaChunk values (24-byte G.723.1 frames or complete
H.263 pictures), with bounded backpressure. pause, resume, stop, and
hangup are async methods. Received media arrives through Call.events().
Cancellation and context exit request worker cleanup and release the modem.
The worker owns all serial timing in a separate process. Local JSON-lines IPC
is version 1; python -m h324.worker --self-test verifies packaged resources
without opening hardware. h324 call --port DEVICE --number NUMBER and
h324 call --port DEVICE --answer expose the headless worker as JSON events.
No default modem, telephone number, PBX or network address is configured.
Raw captures are disabled by default. Supply an explicit capture directory only
when recording is intended. Use headphones with microphone calling; acoustic
echo cancellation is not implemented. See docs/API.md for event semantics,
source timing, overload and lifecycle behavior, and THIRD_PARTY_NOTICES.md
for the separately licensed ASN.1 resource.
Metadata
Release files for h324 0.1.0a1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| h324-0.1.0a1.tar.gz | 172.7 kB | With provenance | Details for h324-0.1.0a1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| h324-0.1.0a1-py3-none-any.whl | Python 3 | none | any | Details for h324-0.1.0a1-py3-none-any.whl |
Total release size: 257.6 kB
Release files / h324-0.1.0a1.tar.gz
| Download URL | h324-0.1.0a1.tar.gz |
|---|---|
| Size | 172.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5ef2b94b84408e1a08bf343edcfee891d09934d82fd193526f624955a71635cc
|
|
BLAKE2b-256 checksum How to use checksums |
86a1b862ea7e5eec905291b66801dbc41212c2c730ff9d4731f3e85fc1dc28bc
|
| 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 Oct 22, 2026.
Transparency logRelease files / h324-0.1.0a1-py3-none-any.whl
| Download URL | h324-0.1.0a1-py3-none-any.whl |
|---|---|
| Size | 84.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
33ea394704caca06e6cc49f71f93fc5b1ae63a150ff8dbcc472a5351698bb383
|
|
BLAKE2b-256 checksum How to use checksums |
45abca562cb00c2d8a916eea97ecc2dce16f36952a5dbb647807f4cbb57f866b
|
| 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 Oct 22, 2026.
Transparency logSecurity for h324 0.1.0a1
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
Both files in this release have been uploaded with provenance metadata.
Attestation for h324-0.1.0a1.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 Oct 22, 2026.
Transparency logA 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.