Skip to main content

aliyun-log-fastpb

中文文档 | English

Test PyPI - Version versions PyPI - License

Fast protobuf serialization for Aliyun Log using PyO3 and quick-protobuf.

Installation

pip install aliyun-log-fastpb

Quick Start

import aliyun_log_fastpb

# Prepare log data
log_group = {
    "LogItems": [
        {
            "Time": 1234567890,
            "Contents": [
                {"Key": "level", "Value": "INFO"},
                {"Key": "message", "Value": "Application started"}
            ]
        }
    ],
    "LogTags": [
        {"Key": "hostname", "Value": "server-001"}
    ],
    "Topic": "app-logs",
    "Source": "192.168.1.100"
}

# Serialize to protobuf bytes
pb_bytes = aliyun_log_fastpb.serialize_log_group(log_group)

For binary data support, use serialize_log_group_raw:

log_group_raw = {
    "LogItems": [
        {
            "Time": 1234567890,
            "Contents": [
                {"Key": "data", "Value": b"\x00\x01\x02\xff"}
            ]
        }
    ],
    "LogTags": [],
    "Topic": "binary-logs",
    "Source": ""
}

pb_bytes = aliyun_log_fastpb.serialize_log_group_raw(log_group_raw)

For nanosecond precision timestamps, use TimeNs field:

log_group = {
    "LogItems": [
        {
            "Time": 1234567890,
            "TimeNs": 123456789,  # Nanosecond precision
            "Contents": [
                {"Key": "event", "Value": "transaction_completed"}
            ]
        }
    ],
    "LogTags": [],
    "Topic": "transactions",
    "Source": ""
}

pb_bytes = aliyun_log_fastpb.serialize_log_group(log_group)

License

MIT License

Metadata

Release files for aliyun-log-fastpb 0.3.0

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-fastpb 0.3.0
File Size Uploaded Provenance
aliyun_log_fastpb-0.3.0.tar.gz 18.0 kB Without provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for aliyun-log-fastpb 0.3.0
File
aliyun_log_fastpb-0.3.0-cp37-abi3-win_amd64.whl CPython 3.7 abi3 Windows x86-64 Details
aliyun_log_fastpb-0.3.0-cp37-abi3-win32.whl CPython 3.7 abi3 Windows x86-32 Details
aliyun_log_fastpb-0.3.0-cp37-abi3-musllinux_1_2_x86_64.whl CPython 3.7 abi3 Linux musl 1.2+ x86-64 Details
aliyun_log_fastpb-0.3.0-cp37-abi3-musllinux_1_2_i686.whl CPython 3.7 abi3 Linux musl 1.2+ x86-32 Details
aliyun_log_fastpb-0.3.0-cp37-abi3-musllinux_1_2_armv7l.whl CPython 3.7 abi3 Linux musl 1.2+ ARMv7l Details
aliyun_log_fastpb-0.3.0-cp37-abi3-musllinux_1_2_aarch64.whl CPython 3.7 abi3 Linux musl 1.2+ ARM64 Details
aliyun_log_fastpb-0.3.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.7 abi3 Linux glibc 2.17+ x86-64 Details
aliyun_log_fastpb-0.3.0-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl CPython 3.7 abi3 Linux glibc 2.17+ IBM System/390x Details
aliyun_log_fastpb-0.3.0-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl CPython 3.7 abi3 Linux glibc 2.17+ PowerPC 64-le Details
aliyun_log_fastpb-0.3.0-cp37-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl CPython 3.7 abi3 Linux glibc 2.17+ PowerPC 64-be Details
aliyun_log_fastpb-0.3.0-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl CPython 3.7 abi3 Linux glibc 2.17+ ARMv7l Details
aliyun_log_fastpb-0.3.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.7 abi3 Linux glibc 2.17+ ARM64 Details
aliyun_log_fastpb-0.3.0-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl CPython 3.7 abi3 Linux glibc 2.5+ x86-32 Details
aliyun_log_fastpb-0.3.0-cp37-abi3-macosx_10_12_x86_64.whl CPython 3.7 abi3 macOS 10.12+ x86-64 Details
aliyun_log_fastpb-0.3.0-cp37-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl CPython 3.7 abi3 macOS 10.12+ universal2 (ARM64, x86-64), macOS 10.12+ x86-64, macOS 11.0+ ARM64 Details

Total release size: 4.5 MB

Release files / aliyun_log_fastpb-0.3.0.tar.gz

Download URL aliyun_log_fastpb-0.3.0.tar.gz
Size 18.0 kB
Tags Source
SHA-256 checksum
How to use checksums
746e3fb55c7e6eb9715e852a75cac5724e998778c09ad17e022b28eb76b1a741
BLAKE2b-256 checksum
How to use checksums
23e59e4a969351b35c824d0f137589309ca1ec71daed50ce8bac512265b9d901
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / aliyun_log_fastpb-0.3.0-cp37-abi3-win_amd64.whl

Download URL aliyun_log_fastpb-0.3.0-cp37-abi3-win_amd64.whl
Size 125.7 kB
Tags CPython 3.7 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
522b734e17eca7797235f297ff6a607137d2be92034778bb041ea061cd9cd9ba
BLAKE2b-256 checksum
How to use checksums
5aa95a83b6547f88514f16098c7f8418b1a9490a92e644481662e9ebc3a98923
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / aliyun_log_fastpb-0.3.0-cp37-abi3-win32.whl

Download URL aliyun_log_fastpb-0.3.0-cp37-abi3-win32.whl
Size 118.8 kB
Tags CPython 3.7 Windows x86-32 abi3
SHA-256 checksum
How to use checksums
e2063938fdcb2536a61dcf4dc117be563c0ffa9accd438f8ad8abc163c509a1e
BLAKE2b-256 checksum
How to use checksums
cd3bef348378a9c86cedfc5364743706e5a8b110c99b6b13ec0e4efed455efd3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / aliyun_log_fastpb-0.3.0-cp37-abi3-musllinux_1_2_x86_64.whl

Download URL aliyun_log_fastpb-0.3.0-cp37-abi3-musllinux_1_2_x86_64.whl
Size 433.0 kB
Tags CPython 3.7 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
913cf6174f1e728299c841a5d7f622fedd6c72d6c597ea4266e1c96591c92d3e
BLAKE2b-256 checksum
How to use checksums
90a401ce245f60b1df0358a2af3fbd4a58d87f1bc176f2e3d44c99829b9610a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / aliyun_log_fastpb-0.3.0-cp37-abi3-musllinux_1_2_i686.whl

Download URL aliyun_log_fastpb-0.3.0-cp37-abi3-musllinux_1_2_i686.whl
Size 467.4 kB
Tags CPython 3.7 Linux musl 1.2+ x86-32 abi3
SHA-256 checksum
How to use checksums
e29eba0690e325da53cf53e8e4481c4187a06d6b1b89de6edb05aabfec484e45
BLAKE2b-256 checksum
How to use checksums
100744e895f00fc8044f59f23bd27afb9682693045a3dec682dd175f94aa79a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / aliyun_log_fastpb-0.3.0-cp37-abi3-musllinux_1_2_armv7l.whl

Download URL aliyun_log_fastpb-0.3.0-cp37-abi3-musllinux_1_2_armv7l.whl
Size 496.6 kB
Tags CPython 3.7 Linux musl 1.2+ ARMv7l abi3
SHA-256 checksum
How to use checksums
78f244616536c1d2090c62acae7ac091ae38730377588c9bc21c5862a7fbab8d
BLAKE2b-256 checksum
How to use checksums
cc7f6bcd7273ceafca02ba1d96703fe4c8c3706130f4d867f4e404996e27fbba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / aliyun_log_fastpb-0.3.0-cp37-abi3-musllinux_1_2_aarch64.whl

Download URL aliyun_log_fastpb-0.3.0-cp37-abi3-musllinux_1_2_aarch64.whl
Size 391.7 kB
Tags CPython 3.7 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
8b3aa009a4216ad17fb0c7078da7fe06fdcaccc14ba0b29cf36e631740f71aa5
BLAKE2b-256 checksum
How to use checksums
0ce46a8a66e8504e1f31d9a1d6bf930b36db44a9765dc9e1e21701c5d7d96416
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / aliyun_log_fastpb-0.3.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL aliyun_log_fastpb-0.3.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 225.5 kB
Tags CPython 3.7 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
c21036970e55a708003c78276857d36f864af2c209872c8e5047a167d37fd1f3
BLAKE2b-256 checksum
How to use checksums
ab7c402473bb1451840fd1c96e2326201d22f769a28efa7f53e938102016691b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / aliyun_log_fastpb-0.3.0-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl

Download URL aliyun_log_fastpb-0.3.0-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Size 245.9 kB
Tags CPython 3.7 Linux glibc 2.17+ IBM System/390x abi3
SHA-256 checksum
How to use checksums
e44423983fff8ba08fced91f586f665813a700b2fdbd0d2f177271e41eaeb471
BLAKE2b-256 checksum
How to use checksums
79bc434d6f99643dd76841261fb9ed1d665de18744d920c12614dc930841df4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / aliyun_log_fastpb-0.3.0-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl

Download URL aliyun_log_fastpb-0.3.0-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Size 335.7 kB
Tags CPython 3.7 Linux glibc 2.17+ PowerPC 64-le abi3
SHA-256 checksum
How to use checksums
f283eb07866250943cf34c98c62b5780bdcdb144740857dd5210102fbf5dc75a
BLAKE2b-256 checksum
How to use checksums
b958420a2b499063262950d707a0ffae6ab56ee58f844ae019bd3b9847c9ff7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / aliyun_log_fastpb-0.3.0-cp37-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl

Download URL aliyun_log_fastpb-0.3.0-cp37-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
Size 341.5 kB
Tags CPython 3.7 Linux glibc 2.17+ PowerPC 64-be abi3
SHA-256 checksum
How to use checksums
c2d4dfc638925a08aa9b32be2d9e51b6753736a69b2ed543c7d2f1c7189570ab
BLAKE2b-256 checksum
How to use checksums
6f675b2fe219578eeb7f06c24af4c6cbca87ce450b8ea3dee3a4f7dfa181ebeb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / aliyun_log_fastpb-0.3.0-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl

Download URL aliyun_log_fastpb-0.3.0-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Size 220.0 kB
Tags CPython 3.7 Linux glibc 2.17+ ARMv7l abi3
SHA-256 checksum
How to use checksums
ed773cb7b6983d4bc69e9dd9a3437a070e08c07bd6312ff16a11e13c80c8a293
BLAKE2b-256 checksum
How to use checksums
1c7127192d5e2295bd4dea3c892115679039058283604f374c56570075400736
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / aliyun_log_fastpb-0.3.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL aliyun_log_fastpb-0.3.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 215.2 kB
Tags CPython 3.7 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
817103ed97d7ba2f110d20e7ba449d631c61809f26bd0a12bcd2a37bffca2b00
BLAKE2b-256 checksum
How to use checksums
14312b6c72a618f0b9a6dc387f31a7cf77c03f4981463a01c78c68b9d03d88c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / aliyun_log_fastpb-0.3.0-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl

Download URL aliyun_log_fastpb-0.3.0-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Size 246.4 kB
Tags CPython 3.7 Linux glibc 2.5+ x86-32 abi3
SHA-256 checksum
How to use checksums
3a85ccc868a9012461216f6a098e0833b64b7f890c18f95d26c101e58de195af
BLAKE2b-256 checksum
How to use checksums
5cfb11c41f739ab004850a40ab1f5a17ca55e4131e3be7486bf29636cdc0b4b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / aliyun_log_fastpb-0.3.0-cp37-abi3-macosx_10_12_x86_64.whl

Download URL aliyun_log_fastpb-0.3.0-cp37-abi3-macosx_10_12_x86_64.whl
Size 203.5 kB
Tags CPython 3.7 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
d27e31dabb47508a0458e7e6f1d3de154bb2b92d741d43ce8ee5961fe7e64f69
BLAKE2b-256 checksum
How to use checksums
baa20188e0b51dc5b76bad8cdbd0cc6e08521f6c0df4e5ee64a4f5708c5c9a52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / aliyun_log_fastpb-0.3.0-cp37-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl

Download URL aliyun_log_fastpb-0.3.0-cp37-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Size 394.6 kB
Tags CPython 3.7 abi3 macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
f44ac38904af17d5e327477076b47016e803072f1d01ccada4e1dd99c6b1be8d
BLAKE2b-256 checksum
How to use checksums
fac92470536f14e5bff5339aba11c040ac58421ab249838e91357d07a25b2449
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Security for aliyun-log-fastpb 0.3.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.

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