Skip to main content

fly_ruler_proto_python

fly_ruler_proto_python 是 FlyRuler 协议的 Python 绑定。Rust 侧 _core(PyO3)提供协议类型与 UDP 客户端,Python 侧提供 FlyRulerClient 等高层封装,并附带一个命令行自检入口。要求 Python 3.12+。

目录结构

  • src/lib.rs、src/client.rs、src/protocol.rs —— PyO3 扩展 fly_ruler_proto_python._core(crate-type = cdylib)。
  • src/fly_ruler_proto_python/ —— 纯 Python 包:__init__.py(导出面与 main())、client.py(FlyRulerClient、create_aircraft_state)、_core.pyi(类型存根)。
  • examples/ —— 从连接到多机编队的渐进示例,见 examples/README.md。
  • tests/ —— pytest 回归。

安装与运行

  • 同步依赖:uv sync --all-groups。
  • 本地安装扩展:uv run maturin develop。
  • 自检:uv run fly_ruler_proto_python,打印协议版本与公开导出面。

测试

  • uv run pytest tests/(需先构建扩展)。
  • 仓库入口:just check、just test(后者会先跑 maturin develop)。

Metadata

Release files for fly-ruler-proto-python 0.4.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 fly-ruler-proto-python 0.4.0
File Interpreter ABI Platform Actions
fly_ruler_proto_python-0.4.0-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details for fly_ruler_proto_python-0.4.0-cp39-abi3-win_amd64.whl
fly_ruler_proto_python-0.4.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 abi3 Linux glibc 2.17+ x86-64 Details for fly_ruler_proto_python-0.4.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
fly_ruler_proto_python-0.4.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.9 abi3 Linux glibc 2.17+ ARM64 Details for fly_ruler_proto_python-0.4.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Total release size: 4.4 MB

Release files / fly_ruler_proto_python-0.4.0-cp39-abi3-win_amd64.whl

Download URL fly_ruler_proto_python-0.4.0-cp39-abi3-win_amd64.whl
Size 1.2 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
f917c442f6ad0e906210ac2c272f373609fdaaa02b6764e159a7eb7bc5a52b7e
BLAKE2b-256 checksum
How to use checksums
a1a0b73ae2025c4dcc67aae07473e218e83fd177bb1e98742dcfbae60c7e9c20
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 2, 2026.

Transparency log

Release files / fly_ruler_proto_python-0.4.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL fly_ruler_proto_python-0.4.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.8 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
d31bf6f8f80fa20713307f562f69beb924097977c836fff4ca22837797c7ff0b
BLAKE2b-256 checksum
How to use checksums
8073eec51890f63218fefcfd1e49ff62b079b362a481660d732e129a1bf5ce94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 2, 2026.

Transparency log

Release files / fly_ruler_proto_python-0.4.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL fly_ruler_proto_python-0.4.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 1.4 MB
Tags CPython 3.9 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
84274cf668a9a855c9d5816a718fecdc16135080ab393e0f6fe4b97eb700726b
BLAKE2b-256 checksum
How to use checksums
c1a9a8e0e83a0b31f7e4584101f8df914e76d1b924feb61b1b156af8e81b5e4a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 2, 2026.

Transparency log

Security for fly-ruler-proto-python 0.4.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 3 files in this release have been uploaded with provenance metadata.

Select from 3 files

Attestation for fly_ruler_proto_python-0.4.0-cp39-abi3-win_amd64.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 Oct 2, 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