$npx skillfedfor your agent

aliyun-log-fastpb

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

With conditionsPyPI Software DevelopmentReleased Apr 2026119.1K downloads / moMITPlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — aliyun_log_fastpb-0.3.0-cp37-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl · aliyun_log_fastpb-0.3.0-cp37-abi3-macosx_10_12_x86_64.whl · aliyun_log_fastpb-0.3.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
v0.3.0 · released 2026-04-28 · Python >=3.7

Yes, if you are sending logs to Aliyun Log Service and need faster protobuf serialization than pure-Python libraries provide. The Rust implementation, zero runtime dependencies, and broad platform coverage make it a straightforward drop-in for Aliyun-specific logging pipelines. Install friction is moderate due to compiled wheels, but prebuilt binaries cover most common environments. No known security issues and active maintenance status support adoption.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.7 or later; binary wheels cover common platforms but uncommon architectures may require a Rust toolchain to compile.
  • Medium install friction due to compiled wheels; prebuilt binaries available for common platforms (x86_64, ARM, PowerPC, s390x on Linux/macOS/Windows, plus musl variants), but requires Python 3.7+ and may need fallback compilation on uncommon architectures.

License · maintenance · safety

MIT (permissive) — MIT license permits unrestricted use, modification, and distribution with minimal restrictions—suitable for commercial and open-source projects.

last release 2026-04-28 (108 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 119,144 downloads/mo, #12,086 on PyPI

Verify before relying

pip install aliyun-log-fastpb

import aliyun_log_fastpb

log_group = {
    "LogItems": [{"Time": 1234567890, "Contents": [{"Key": "level", "Value": "INFO"}]}],
    "Topic": "app-logs",
    "Source": "192.168.1.100"
}
pb_bytes = aliyun_log_fastpb.serialize_log_group(log_group)
  • Whether the package is actively maintained beyond the 108 days since latest release (repo metadata unavailable).
  • Performance benchmarks comparing this implementation to pure-Python protobuf alternatives.
  • Compatibility with Aliyun Log Service API versions and any breaking changes in protobuf schema.
Same gist for agents: .md · .json

What it is and what it does

Aliyun-log-fastpb is a Rust-based protobuf serializer for Aliyun Log (SLS) data structures, designed to accelerate the conversion of log dictionaries into binary protobuf format. It wraps quick-protobuf and PyO3 to provide native-speed serialization without the overhead of pure-Python implementations. The package accepts log data as Python dictionaries containing LogItems (with timestamps and key-value content pairs), LogTags, topic, and source fields, then converts them directly to protobuf bytes suitable for transmission to Aliyun Log Service.

The package supports three serialization modes: standard text-based content, binary data (for non-UTF-8 payloads), and nanosecond-precision timestamps via an optional TimeNs field. It targets Python 3.7 through 3.12 on CPython and PyPy, with precompiled wheels for x86_64, ARM, PowerPC, s390x, and i686 architectures across Linux, macOS, and Windows, plus musl-based systems. No runtime dependencies are required beyond Python itself.

Use it for

  • Batch-serialize application logs to protobuf for high-throughput ingestion into Aliyun Log Service.
  • Convert structured log events (with timestamps and key-value pairs) to binary format for network transmission.
  • Handle binary log payloads (e.g., encoded traces, metrics) that cannot be represented as UTF-8 strings.
  • Achieve nanosecond-precision event timing in log records for microsecond-scale event correlation.
  • Integrate log serialization into performance-critical paths where Python overhead is unacceptable.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are sending logs to Aliyun Log Service and need faster protobuf serialization than pure-Python libraries provide.

The Rust implementation, zero runtime dependencies, and broad platform coverage make it a straightforward drop-in for Aliyun-specific logging pipelines. Install friction is moderate due to compiled wheels, but prebuilt binaries cover most common environments. No known security issues and active maintenance status support adoption.

Install

aliyun-log-fastpb on PyPI

Before you install

Medium install friction due to compiled wheels; prebuilt binaries available for common platforms (x86_64, ARM, PowerPC, s390x on Linux/macOS/Windows, plus musl variants), but requires Python 3.7+ and may need fallback compilation on uncommon architectures.

Requires Python 3.7 or later; binary wheels cover common platforms but uncommon architectures may require a Rust toolchain to compile.

License in practice

MIT license permits unrestricted use, modification, and distribution with minimal restrictions—suitable for commercial and open-source projects.

Quickstart

pip install aliyun-log-fastpb

import aliyun_log_fastpb

log_group = {
    "LogItems": [{"Time": 1234567890, "Contents": [{"Key": "level", "Value": "INFO"}]}],
    "Topic": "app-logs",
    "Source": "192.168.1.100"
}
pb_bytes = aliyun_log_fastpb.serialize_log_group(log_group)

Verify before relying

  • Whether the package is actively maintained beyond the 108 days since latest release (repo metadata unavailable).
  • Performance benchmarks comparing this implementation to pure-Python protobuf alternatives.
  • Compatibility with Aliyun Log Service API versions and any breaking changes in protobuf schema.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.7
Install frictionMedium. Platform-specific wheel
Runtime dependenciesNone
MaintenanceActively maintained 108 days since the last release
First released
Downloads119,144 / month, #12,086 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyProgramming Language :: Rust

Evidence: aliyun_log_fastpb-0.3.0-cp37-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl; aliyun_log_fastpb-0.3.0-cp37-abi3-macosx_10_12_x86_64.whl; aliyun_log_fastpb-0.3.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; aliyun_log_fastpb-0.3.0-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl; aliyun_log_fastpb-0.3.0-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl; aliyun_log_fastpb-0.3.0-cp37-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl; aliyun_log_fastpb-0.3.0-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl; aliyun_log_fastpb-0.3.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; aliyun_log_fastpb-0.3.0-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl; aliyun_log_fastpb-0.3.0-cp37-abi3-musllinux_1_2_aarch64.whl; aliyun_log_fastpb-0.3.0-cp37-abi3-musllinux_1_2_armv7l.whl; aliyun_log_fastpb-0.3.0-cp37-abi3-musllinux_1_2_i686.whl; aliyun_log_fastpb-0.3.0-cp37-abi3-musllinux_1_2_x86_64.whl; aliyun_log_fastpb-0.3.0-cp37-abi3-win32.whl; aliyun_log_fastpb-0.3.0-cp37-abi3-win_amd64.whl

Tags

Capabilities
aliyun log protobuf serializationfast protobuf encodinglog group serializationaliyun sls protobufrust protobuf performancebinary log serializationnanosecond timestamp logging
Topics
aliyun-logprotobuf-serializationrust-backed
PyPI keywords
aliyunprotobuflogslsperformance

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “aliyun log protobuf serialization”

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also betterproto-rust-codec · aliyun-log-python-sdk · foxglove-schemas-protobuf · aristaproto · alibabacloud-gateway-sls-util · opentelemetry-exporter-otlp-proto-common · opentelemetry-proto · protobuf-py-ext · protobuf-py · pure-protobuf