Skip to main content

virtuals-binary-codec

Cython-optimized binary key codec for Virtuals.

Encodes tuple keys into binary format while preserving lexicographic ordering. Supports mixed integer and string components.

Install

pip install virtuals-binary-codec

Or as part of Virtuals:

pip install virtuals-py[binary]

Usage

from virtuals_binary_codec import BinaryKeyCodec

codec = BinaryKeyCodec()
encoded = codec.encode(("users", 42, "profile"))
decoded = codec.decode(encoded)
assert decoded == ("users", 42, "profile")

Virtuals automatically uses this codec when installed. Without it, Virtuals falls back to a pure Python implementation.

Metadata

Release files for virtuals-binary-codec 0.1.1

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

Source distribution (sdist)

Source distribution for virtuals-binary-codec 0.1.1
File Size Uploaded
virtuals_binary_codec-0.1.1.tar.gz 12.2 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for virtuals-binary-codec 0.1.1
File
virtuals_binary_codec-0.1.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details
virtuals_binary_codec-0.1.1-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details
virtuals_binary_codec-0.1.1-cp314-cp314-macosx_10_15_x86_64.whl CPython 3.14 CPython 3.14 macOS 10.15+ x86-64 Details
virtuals_binary_codec-0.1.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64, Linux glibc 2.17+ x86-64 Details
virtuals_binary_codec-0.1.1-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
virtuals_binary_codec-0.1.1-cp313-cp313-macosx_10_13_x86_64.whl CPython 3.13 CPython 3.13 macOS 10.13+ x86-64 Details
virtuals_binary_codec-0.1.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64, Linux glibc 2.17+ x86-64 Details
virtuals_binary_codec-0.1.1-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
virtuals_binary_codec-0.1.1-cp312-cp312-macosx_10_13_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.13+ x86-64 Details
virtuals_binary_codec-0.1.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details
virtuals_binary_codec-0.1.1-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
virtuals_binary_codec-0.1.1-cp311-cp311-macosx_10_9_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.9+ x86-64 Details
virtuals_binary_codec-0.1.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details
virtuals_binary_codec-0.1.1-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details
virtuals_binary_codec-0.1.1-cp310-cp310-macosx_10_9_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.9+ x86-64 Details

Total release size: 1.9 MB

Release files / virtuals_binary_codec-0.1.1.tar.gz

Download URL virtuals_binary_codec-0.1.1.tar.gz
Size 12.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f25404ede7dc724b061697aa3cfcb5e266cd964c9ebde727ea9e6355784b711c
BLAKE2b-256 checksum
How to use checksums
3003effe42a9ed5deaff79d86d4023d17e3b4e0fb99261ef2984077eee5f5768
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 Aug 19, 2026.

Transparency log

Release files / virtuals_binary_codec-0.1.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL virtuals_binary_codec-0.1.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 266.3 kB
Tags CPython 3.14 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
9df13b18fa45003a153f43c8ff860f51bb39300125220af472f8e6764f2acf1e
BLAKE2b-256 checksum
How to use checksums
93216dcd3ea30b561617f3555bac93dce5319cee593616cb95dc2de8348b8922
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 Aug 19, 2026.

Transparency log

Release files / virtuals_binary_codec-0.1.1-cp314-cp314-macosx_11_0_arm64.whl

Download URL virtuals_binary_codec-0.1.1-cp314-cp314-macosx_11_0_arm64.whl
Size 51.1 kB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
5c700cfc9ff2ba92ff6c180cff7a4ae8ed2a1d0707904bfeca6bf8c04018057e
BLAKE2b-256 checksum
How to use checksums
d458195999af0068dc24351d497ed096bfcb25ad71752c828534123b81d7112e
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 Aug 19, 2026.

Transparency log

Release files / virtuals_binary_codec-0.1.1-cp314-cp314-macosx_10_15_x86_64.whl

Download URL virtuals_binary_codec-0.1.1-cp314-cp314-macosx_10_15_x86_64.whl
Size 51.0 kB
Tags CPython 3.14 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
18e4d7ff19dbb974900be036d1ae9c6af9d816ff0cad7dd5e836110a3dc60c37
BLAKE2b-256 checksum
How to use checksums
8c6e0e66875b11eb81349ce0e9b15eb6f223c52b744f3cb31ec6f1a94059ebb8
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 Aug 19, 2026.

Transparency log

Release files / virtuals_binary_codec-0.1.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL virtuals_binary_codec-0.1.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 268.6 kB
Tags CPython 3.13 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
09e6fd871fc978aaf504e6ec43a283cb41dd59d998d0fad12a218ff2117b25d0
BLAKE2b-256 checksum
How to use checksums
42eed60a5e8ee6c0840322e401b9bb46aa1fef503008a8b2a18829e565a14e47
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 Aug 19, 2026.

Transparency log

Release files / virtuals_binary_codec-0.1.1-cp313-cp313-macosx_11_0_arm64.whl

Download URL virtuals_binary_codec-0.1.1-cp313-cp313-macosx_11_0_arm64.whl
Size 50.7 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
f564cd37caf39d71ca2149a0727158634ecec037b271305fc77d49352965dc2d
BLAKE2b-256 checksum
How to use checksums
acc0f7847b882acd3bae61bd2d63bdc531729e92e1d2ae4c08cc46c5c9ffd510
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 Aug 19, 2026.

Transparency log

Release files / virtuals_binary_codec-0.1.1-cp313-cp313-macosx_10_13_x86_64.whl

Download URL virtuals_binary_codec-0.1.1-cp313-cp313-macosx_10_13_x86_64.whl
Size 50.8 kB
Tags CPython 3.13 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
810b06aa5302938688e0c5f2633f5b2d02c8153a8e4aa819e8e7e0cd10e86e1b
BLAKE2b-256 checksum
How to use checksums
4ef5cad983ddba0e572fd396930236c771aef4396b365bc3bc3104c1d712384f
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 Aug 19, 2026.

Transparency log

Release files / virtuals_binary_codec-0.1.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL virtuals_binary_codec-0.1.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 285.9 kB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
2d24af091f26665fcd65dbfa1384ff54d5631d6d3de96cd29d8dfd022d26e3c4
BLAKE2b-256 checksum
How to use checksums
024fe97c411abfe6dc8812236635dd097b7be482864ee6cb5b2ab9cde4e65168
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 Aug 19, 2026.

Transparency log

Release files / virtuals_binary_codec-0.1.1-cp312-cp312-macosx_11_0_arm64.whl

Download URL virtuals_binary_codec-0.1.1-cp312-cp312-macosx_11_0_arm64.whl
Size 51.1 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
163e7bf700d798aa5a529b0a8d3506fd4c009e59656503a668e2100f0f33b163
BLAKE2b-256 checksum
How to use checksums
643be0bf52cbafbd7697884599e9292c8934deaa81c5cf2e555f3a6b40a69a6e
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 Aug 19, 2026.

Transparency log

Release files / virtuals_binary_codec-0.1.1-cp312-cp312-macosx_10_13_x86_64.whl

Download URL virtuals_binary_codec-0.1.1-cp312-cp312-macosx_10_13_x86_64.whl
Size 51.3 kB
Tags CPython 3.12 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
c6c571dbfa8a2e4d82588ac213a4972471b1d2f38d29bdfe0c1e2d8897175f61
BLAKE2b-256 checksum
How to use checksums
9ae3c9cac62a66025bbffcac706034ea4f65007fc67a6aa8c4b178da6ffcb42e
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 Aug 19, 2026.

Transparency log

Release files / virtuals_binary_codec-0.1.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL virtuals_binary_codec-0.1.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 272.4 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
f927a5335aa7f5ed6ccdf37f996661a74a2bcf3cfb11c0f5e5f61e93db4ade87
BLAKE2b-256 checksum
How to use checksums
52d3fc83d16d96316f669aa8f16a0aa420fa6dea30449641c24ff21230398b76
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 Aug 19, 2026.

Transparency log

Release files / virtuals_binary_codec-0.1.1-cp311-cp311-macosx_11_0_arm64.whl

Download URL virtuals_binary_codec-0.1.1-cp311-cp311-macosx_11_0_arm64.whl
Size 51.5 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
a013dbe0d1fafa22c69bedab1f2b41056d1766bb22f8d444c6381821d716fb9c
BLAKE2b-256 checksum
How to use checksums
5a92f60745af202680a346ef0f4d4d21f41ea37c9b5ffc8b51721b2fd8dc8dba
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 Aug 19, 2026.

Transparency log

Release files / virtuals_binary_codec-0.1.1-cp311-cp311-macosx_10_9_x86_64.whl

Download URL virtuals_binary_codec-0.1.1-cp311-cp311-macosx_10_9_x86_64.whl
Size 51.6 kB
Tags CPython 3.11 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
1eb26cf0435349a5fa8f5a092961ee21c0cc78024c7d40ca5d698b48b6349751
BLAKE2b-256 checksum
How to use checksums
de5c374001d69872eb402a95ac02089554190389988a608841b677a07fb3efc4
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 Aug 19, 2026.

Transparency log

Release files / virtuals_binary_codec-0.1.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL virtuals_binary_codec-0.1.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 250.6 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
c7476d266385638ffe451c45b12e4f272721593c7ebebd21c52f73405695fc03
BLAKE2b-256 checksum
How to use checksums
27079b454a328303989b65871e6d08b4d7584590a78afeb23c4e41aae77de589
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 Aug 19, 2026.

Transparency log

Release files / virtuals_binary_codec-0.1.1-cp310-cp310-macosx_11_0_arm64.whl

Download URL virtuals_binary_codec-0.1.1-cp310-cp310-macosx_11_0_arm64.whl
Size 51.4 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
37252848c7ebce344cee2fad0c0de4fb45da270cacaed7c9803fd9a995c65053
BLAKE2b-256 checksum
How to use checksums
7143722fb3ee31e50e4de04f00a55e7798b07cbef9637be8fbf7db895f18470a
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 Aug 19, 2026.

Transparency log

Release files / virtuals_binary_codec-0.1.1-cp310-cp310-macosx_10_9_x86_64.whl

Download URL virtuals_binary_codec-0.1.1-cp310-cp310-macosx_10_9_x86_64.whl
Size 51.7 kB
Tags CPython 3.10 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
a9222b29abe77a20e49508a3555638f2e9c7b82d7d6d78709555bcb43dcf6bf5
BLAKE2b-256 checksum
How to use checksums
1893d72ba68b53f233e2b698f087c06bb0c634433260b766cb14d377a482725b
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 Aug 19, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.1 This release

16 release files

0.1.0

16 release files

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