3 مستودعات
Specialized converters for translating database binary representations into language-native objects.
Distinct from Binary Data Formats: Focuses on database-to-application type conversion rather than general serialization formats like BSON.
Explore 3 awesome GitHub repositories matching data & databases · Binary Type Codecs. Refine with filters or upvote what's useful.
asyncpg is an asynchronous database driver and binary protocol client for PostgreSQL. It provides a non-blocking interface for executing SQL statements, streaming result sets, and managing data transfer between an application and a PostgreSQL database. The driver implements the PostgreSQL binary protocol directly to facilitate efficient data transfer and type conversion. It includes a connection pool to maintain and reuse open database connections, reducing the latency associated with repeated handshakes. The project covers a broad range of database integration capabilities, including atomic
Uses binary-format codecs to convert database types to Python objects, reducing parsing overhead.
MessagePack-CSharp is a high-performance binary serializer for .NET that converts C# objects to and from the compact MessagePack format. It uses compile-time source generation to produce AOT-safe formatters and resolvers, eliminating runtime reflection and enabling ahead-of-time compilation scenarios. The serializer encodes object fields as integer indices instead of string keys, producing compact binary output with deterministic field ordering, and provides stack-allocated reader and writer structs for direct encoding and decoding of MessagePack primitives without heap allocations. The libra
Embeds full .NET type names into serialized blobs for type-argument-free deserialization.
pgx هو إطار عمل ومجموعة أدوات لتطوير إضافات PostgreSQL عالية الأداء باستخدام لغة البرمجة Rust. يوفر غلاف API منخفض المستوى للتفاعل مع سياقات ذاكرة قاعدة البيانات الداخلية، وأنظمة التسجيل، وواجهات برمجة تطبيقات التنفيذ الأساسية، مما يتيح تنفيذ وظائف ومنطق قاعدة بيانات مخصص مباشرة داخل محرك قاعدة البيانات. يتميز المشروع بأداة بناء مخصصة وواجهة سطر أوامر تدير دورة حياة تطوير الإضافات، بدءاً من تهيئة البيئة وحتى حزم الملفات الثنائية. يتضمن أداة تعيين الأنواع (type mapper) التي تترجم هياكل اللغة إلى أنواع مركبة في قاعدة البيانات وتنشئ تعريفات مخطط SQL المقابلة تلقائياً. يغطي إطار العمل مساحة واسعة من القدرات بما في ذلك تعيين الوظائف المعرفة من قبل المستخدم، وتكامل البروتوكول الثنائي، ودعم استهداف إصدارات متعددة لضمان التوافق عبر إصدارات قاعدة البيانات المختلفة. كما يوفر أغلفة متخصصة لإدارة الذاكرة للتعامل مع المؤشرات ومنع التسريبات داخل بيئة قاعدة البيانات.
Implements specialized binary codecs for translating PostgreSQL internal binary representations into native Rust objects.