Skip to main content

nachalo (Python)

Python bindings for Nachalo, generated by UniFFI and built with maturin. One py3-none-<platform> wheel per platform serves every Python version, because the generated code uses ctypes.

It exposes the live, appointment and physical-token handshakes and Nachalo Channel v1 (spec/channel.md). The protocol is a draft and has not been audited.

import time
import nachalo

def clock():
    return nachalo.Clock(now=int(time.clock_gettime(time.CLOCK_MONOTONIC)), now_unix=int(time.time()))

config = nachalo.Config(nachalo.Profile.INTERACTIVE)
words = nachalo.words(6)                                  # A gives these to B out of band
a = nachalo.Initiator.start(nachalo.Invitation.live(words, b"my-app v1", config), b"A", clock())
answer = nachalo.Listener(nachalo.Invitation.live(words, b"my-app v1", config)).respond(a.msg1(), b"B", clock())
finished = a.finish(answer.msg2, clock())
b = answer.responder.finish(finished.msg3, clock())
established_a = finished.unconfirmed.verify(b.safety_words(), clock())   # A types what B reads
established_b = b.confirm(clock())

channel = nachalo.Channel.from_established(established_a, b"PEER-ID")
frame = channel.seal(nachalo.FrameKind.DATA, b"hola", int(time.time()))  # 512 bytes

Build locally:

cd bindings/python
maturin build --release          # or: maturin develop
python -m pytest tests

Metadata

Release files for nachalo 0.1.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 nachalo 0.1.0
File Actions
nachalo-0.1.0-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details for nachalo-0.1.0-py3-none-manylinux_2_28_x86_64.whl
nachalo-0.1.0-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details for nachalo-0.1.0-py3-none-manylinux_2_28_aarch64.whl
nachalo-0.1.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for nachalo-0.1.0-py3-none-macosx_11_0_arm64.whl
nachalo-0.1.0-py3-none-macosx_10_12_x86_64.whl Python 3 none macOS 10.12+ x86-64 Details for nachalo-0.1.0-py3-none-macosx_10_12_x86_64.whl

Total release size: 2.1 MB

Release files / nachalo-0.1.0-py3-none-manylinux_2_28_x86_64.whl

Download URL nachalo-0.1.0-py3-none-manylinux_2_28_x86_64.whl
Size 578.0 kB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
fd941651ad64efbf62be91704f295dfd034df463ee13e4b99b3635d8c42233c4
BLAKE2b-256 checksum
How to use checksums
de220062779fbcec513975368d6bb4f45d739492898aa9db1fde093a3c5bd820
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 6, 2026.

Transparency log

Release files / nachalo-0.1.0-py3-none-manylinux_2_28_aarch64.whl

Download URL nachalo-0.1.0-py3-none-manylinux_2_28_aarch64.whl
Size 550.8 kB
Tags Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
9799275b70817ef211454f3bd08a6351ea415afefadfbcd85f6bf237d7ea4f7a
BLAKE2b-256 checksum
How to use checksums
49d2fd40a13e79fee895c329047e901c1f8160c7d66e1dd09b6d7f9296dc5883
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 6, 2026.

Transparency log

Release files / nachalo-0.1.0-py3-none-macosx_11_0_arm64.whl

Download URL nachalo-0.1.0-py3-none-macosx_11_0_arm64.whl
Size 461.5 kB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
a59c2eee95755c582e5f5bf8546f6dd2113f19643006e98a68599ce838fbcdce
BLAKE2b-256 checksum
How to use checksums
7b0cc8c511d9e1bf6aaa09ee2647aa3719cdb5184677056ccf6389878e30778c
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 6, 2026.

Transparency log

Release files / nachalo-0.1.0-py3-none-macosx_10_12_x86_64.whl

Download URL nachalo-0.1.0-py3-none-macosx_10_12_x86_64.whl
Size 552.2 kB
Tags Python 3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
3a0bae80c817a058db3dcb6cb1eded25773e8b422c513542bc81f0f1f724c087
BLAKE2b-256 checksum
How to use checksums
6591a062ec85d1faee50a216251011656ec49cbef94206e6161c0b04e1497899
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 6, 2026.

Transparency log

Security for nachalo 0.1.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 nachalo-0.1.0-py3-none-manylinux_2_28_x86_64.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 6, 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

4 release files Full provenance

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