Skip to main content

介绍

这是一个使用 Maturin + PyO3 构建的库,用于加速 Aliyun SLS Python SDK。底层使用 Rust 语言编写,通过兼容 Python API,使得 Python 代码可以调用底层 Rust。

本仓库基于 pyo3 abi3-py37,支持 Python >= 3.7 的所有 Python 解释器,兼容性具体可参考文档abi3。

Rust 代码会被编译成动态库,然后被 Maturin 打包成 wheel 文件。不同平台上可以构建适用于该平台的 wheel 构建产物,也可以交叉编译。

编译

安装 maturin 与 rust

pip install maturin
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

执行构建脚本

./build.sh

交叉编译

也支持交叉编译,建议用 zig 交叉编译

pip install ziglang
rustup target add x86_64-unknown-linux-gnu
maturin build --release --target x86_64-unknown-linux-gnu --zig

测试

source .venv/bin/activate
pip install .[dev]
./test/test.sh

benchmark

export BENCHMARK_TEST_WORKDIR="your/workdir/path/with/dataset"
cargo bench

API

支持的 API 可以参考aliyun_log_py_bindings目录下的 pyi 文件

发布版本

打 tag,然后手动运行 Release Workflow,选择对应 tag。

Metadata

Release files for aliyun-log-py-bindings 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aliyun-log-py-bindings 0.0.5
File Size Uploaded Provenance
aliyun_log_py_bindings-0.0.5.tar.gz 17.9 kB Without provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for aliyun-log-py-bindings 0.0.5
File
aliyun_log_py_bindings-0.0.5-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl PyPy 3.10 PyPy 3.10 7.3 Linux glibc 2.17+ x86-64 Details
aliyun_log_py_bindings-0.0.5-pp310-pypy310_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl PyPy 3.10 PyPy 3.10 7.3 Linux glibc 2.17+ ARMv7l Details
aliyun_log_py_bindings-0.0.5-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl PyPy 3.10 PyPy 3.10 7.3 Linux glibc 2.17+ ARM64 Details
aliyun_log_py_bindings-0.0.5-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.whl PyPy 3.10 PyPy 3.10 7.3 Linux glibc 2.5+ x86-32 Details
aliyun_log_py_bindings-0.0.5-cp37-abi3-win_amd64.whl CPython 3.7 abi3 Windows x86-64 Details
aliyun_log_py_bindings-0.0.5-cp37-abi3-win32.whl CPython 3.7 abi3 Windows x86-32 Details
aliyun_log_py_bindings-0.0.5-cp37-abi3-musllinux_1_2_x86_64.whl CPython 3.7 abi3 Linux musl 1.2+ x86-64 Details
aliyun_log_py_bindings-0.0.5-cp37-abi3-musllinux_1_2_i686.whl CPython 3.7 abi3 Linux musl 1.2+ x86-32 Details
aliyun_log_py_bindings-0.0.5-cp37-abi3-musllinux_1_2_armv7l.whl CPython 3.7 abi3 Linux musl 1.2+ ARMv7l Details
aliyun_log_py_bindings-0.0.5-cp37-abi3-musllinux_1_2_aarch64.whl CPython 3.7 abi3 Linux musl 1.2+ ARM64 Details
aliyun_log_py_bindings-0.0.5-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.7 abi3 Linux glibc 2.17+ x86-64 Details
aliyun_log_py_bindings-0.0.5-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl CPython 3.7 abi3 Linux glibc 2.17+ ARMv7l Details
aliyun_log_py_bindings-0.0.5-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.7 abi3 Linux glibc 2.17+ ARM64 Details
aliyun_log_py_bindings-0.0.5-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl CPython 3.7 abi3 Linux glibc 2.5+ x86-32 Details
aliyun_log_py_bindings-0.0.5-cp37-abi3-macosx_11_0_arm64.whl CPython 3.7 abi3 macOS 11.0+ ARM64 Details
aliyun_log_py_bindings-0.0.5-cp37-abi3-macosx_10_12_x86_64.whl CPython 3.7 abi3 macOS 10.12+ x86-64 Details

Total release size: 5.3 MB

Release files / aliyun_log_py_bindings-0.0.5.tar.gz

Download URL aliyun_log_py_bindings-0.0.5.tar.gz
Size 17.9 kB
Tags Source
SHA-256 checksum
How to use checksums
39d9cab1595257ff5626fd081580dc9c31d20b35ac4f06c79ece904c6c787cc7
BLAKE2b-256 checksum
How to use checksums
48d3335a425bf34081855d0a80a733777f4cfae464189b39b21e85d93849cf29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.7.6

Release files / aliyun_log_py_bindings-0.0.5-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL aliyun_log_py_bindings-0.0.5-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 296.4 kB
Tags Linux glibc 2.17+ x86-64 PyPy 3.10 PyPy 3.10 7.3
SHA-256 checksum
How to use checksums
6cbdeef1165c7504c36a82b1ee570aaea781eeed061e456b29de69b47d3dc5c2
BLAKE2b-256 checksum
How to use checksums
ac7e442f2f8aed4acf1f3da4eb006e6831801dee36ddc8ff20009e61232044bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.7.6

Release files / aliyun_log_py_bindings-0.0.5-pp310-pypy310_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl

Download URL aliyun_log_py_bindings-0.0.5-pp310-pypy310_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Size 302.8 kB
Tags Linux glibc 2.17+ ARMv7l PyPy 3.10 PyPy 3.10 7.3
SHA-256 checksum
How to use checksums
4d84c8faee9b5b33292f7cc2ed04d79aa76b5ab6f5b1da1da210c172044c16f7
BLAKE2b-256 checksum
How to use checksums
b965633ca1201f842a7cbc55ce33b0899f09b1c1199e8eb64b4b63e317045292
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.7.6

Release files / aliyun_log_py_bindings-0.0.5-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL aliyun_log_py_bindings-0.0.5-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 294.8 kB
Tags Linux glibc 2.17+ ARM64 PyPy 3.10 PyPy 3.10 7.3
SHA-256 checksum
How to use checksums
ee1123774fed84bfd2ddd87acfe5805689cbd4e38787059148353912f4046f1d
BLAKE2b-256 checksum
How to use checksums
8a56898f40fda34436cabc29b7139a4dd2e746bd54bcb6d98f7faa0d78bd3bc0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.7.6

Release files / aliyun_log_py_bindings-0.0.5-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.whl

Download URL aliyun_log_py_bindings-0.0.5-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.whl
Size 317.7 kB
Tags Linux glibc 2.5+ x86-32 PyPy 3.10 PyPy 3.10 7.3
SHA-256 checksum
How to use checksums
5fdcc37b939cb624fab541fd5b5dcac294bee37ecb08ddb4d95d5560074f688f
BLAKE2b-256 checksum
How to use checksums
2b43f0d8488519db1cd2ba03cdd55c976588623ccd0e97207420e6774820398c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.7.6

Release files / aliyun_log_py_bindings-0.0.5-cp37-abi3-win_amd64.whl

Download URL aliyun_log_py_bindings-0.0.5-cp37-abi3-win_amd64.whl
Size 159.1 kB
Tags CPython 3.7 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
3735493bb8e25e292310ec00047fde4ddc1068e2abadfe09c4b82b28c5a6f571
BLAKE2b-256 checksum
How to use checksums
24b51d495ef731e50d829f96207078d2ae01b89b3e58fc774f170a9b96c1c57b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.7.6

Release files / aliyun_log_py_bindings-0.0.5-cp37-abi3-win32.whl

Download URL aliyun_log_py_bindings-0.0.5-cp37-abi3-win32.whl
Size 155.3 kB
Tags CPython 3.7 Windows x86-32 abi3
SHA-256 checksum
How to use checksums
8da1be80594765617d870c832a902e19bbf6313cdf009879f20a60fc1376d49e
BLAKE2b-256 checksum
How to use checksums
803bdaf238e8a1c3957c1ab52fb542c06bbdca4399e11f2d0ae4ec7efaecddfb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.7.6

Release files / aliyun_log_py_bindings-0.0.5-cp37-abi3-musllinux_1_2_x86_64.whl

Download URL aliyun_log_py_bindings-0.0.5-cp37-abi3-musllinux_1_2_x86_64.whl
Size 472.2 kB
Tags CPython 3.7 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
6aee1318a203bcccd464cb8dfa86ce31472a20b073bd26fe805d968297bd646f
BLAKE2b-256 checksum
How to use checksums
3297a07a716b4913c95266e4b08a918a301a13fcf643f681b37b6c0a3d61e6e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.7.6

Release files / aliyun_log_py_bindings-0.0.5-cp37-abi3-musllinux_1_2_i686.whl

Download URL aliyun_log_py_bindings-0.0.5-cp37-abi3-musllinux_1_2_i686.whl
Size 498.1 kB
Tags CPython 3.7 Linux musl 1.2+ x86-32 abi3
SHA-256 checksum
How to use checksums
40325082c224e241a012eea1f35bf3453aace5272d51c1b80998025188d7b848
BLAKE2b-256 checksum
How to use checksums
6cf56f96b7181f159061f1c897d42c167dbcfa47df13d63e489cdb00b16a6de4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.7.6

Release files / aliyun_log_py_bindings-0.0.5-cp37-abi3-musllinux_1_2_armv7l.whl

Download URL aliyun_log_py_bindings-0.0.5-cp37-abi3-musllinux_1_2_armv7l.whl
Size 569.7 kB
Tags CPython 3.7 Linux musl 1.2+ ARMv7l abi3
SHA-256 checksum
How to use checksums
f88902cbba1d1dd4142c1c3ef2a90be3f45650aea42b54684ecf725d3d319a17
BLAKE2b-256 checksum
How to use checksums
eb608f00f018b6370787f37a6d8838e4960dfc2781d1cd37b2bbf2bcf713829b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.7.6

Release files / aliyun_log_py_bindings-0.0.5-cp37-abi3-musllinux_1_2_aarch64.whl

Download URL aliyun_log_py_bindings-0.0.5-cp37-abi3-musllinux_1_2_aarch64.whl
Size 477.9 kB
Tags CPython 3.7 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
14a686b31659dd5138870981d9a589b0b1d5868a759079f6229f952dc9fe9687
BLAKE2b-256 checksum
How to use checksums
8aac04bf2db31f4f7699eeefc3c10ca5860bd2cb28335c031fe290b2ca131499
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.7.6

Release files / aliyun_log_py_bindings-0.0.5-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL aliyun_log_py_bindings-0.0.5-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 299.2 kB
Tags CPython 3.7 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
b3ed5c8996c231a504d3ff76c4b5bdb60718fe4aa2a1abbd27bcbf4d7bb9bcc9
BLAKE2b-256 checksum
How to use checksums
b7d1db175d11ecd64b88c915fe2dbadd6a0c44a734250b65e50e7df84d0965c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.7.6

Release files / aliyun_log_py_bindings-0.0.5-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl

Download URL aliyun_log_py_bindings-0.0.5-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Size 306.8 kB
Tags CPython 3.7 Linux glibc 2.17+ ARMv7l abi3
SHA-256 checksum
How to use checksums
5c78e514088c1277747e4a0100e9360cd1a56f9e9ddcd0dc4ae218e2f24578aa
BLAKE2b-256 checksum
How to use checksums
b183cfaeb6b4e4e2c06dace0a6a0a06da327061c81884216aeb9c0c73482bc99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.7.6

Release files / aliyun_log_py_bindings-0.0.5-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL aliyun_log_py_bindings-0.0.5-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 297.3 kB
Tags CPython 3.7 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
88bda09ed0824f0957d3dc88590969d3727dea3784dfc2c8f2c29de7f40ef2ca
BLAKE2b-256 checksum
How to use checksums
bdce578191b7fff7b752c1f563b3639a70b82f9b914e910a5e5533ea886287be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.7.6

Release files / aliyun_log_py_bindings-0.0.5-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl

Download URL aliyun_log_py_bindings-0.0.5-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Size 321.8 kB
Tags CPython 3.7 Linux glibc 2.5+ x86-32 abi3
SHA-256 checksum
How to use checksums
2e61b593683bbdb2a39a57043065864c224b333d39f0bf46a0d41c352f6a05df
BLAKE2b-256 checksum
How to use checksums
48136a0426e8c7508277477dfcdc7c9f6fd2a44296191fba43b3a99ccbfcd632
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.7.6

Release files / aliyun_log_py_bindings-0.0.5-cp37-abi3-macosx_11_0_arm64.whl

Download URL aliyun_log_py_bindings-0.0.5-cp37-abi3-macosx_11_0_arm64.whl
Size 264.0 kB
Tags CPython 3.7 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
7ed30a85599abe0d7c4e993a9ec1ec709f273f006a006085345e90ce6c22c2da
BLAKE2b-256 checksum
How to use checksums
eb98454ab8abf00bfc57633b813ca64e7a5fe4c501578c8b990f3719b2681342
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.7.6

Release files / aliyun_log_py_bindings-0.0.5-cp37-abi3-macosx_10_12_x86_64.whl

Download URL aliyun_log_py_bindings-0.0.5-cp37-abi3-macosx_10_12_x86_64.whl
Size 271.8 kB
Tags CPython 3.7 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
f33557d1c671b31101785e9569698f3143b04f118799edaa57b088cbc1561ff9
BLAKE2b-256 checksum
How to use checksums
fe452a676a59590bfed8fa76dd3015611babbf152fee485f65113dc32538ce3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.7.6

Security for aliyun-log-py-bindings 0.0.5

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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