Skip to main content

A serializer for typed data in the Drift infrastructure.

Project description

Python DriftBytes

Python bindings for DriftBytes.

Requirements

  • Python >= 3.8
  • CMake >= 3.16 (for building)
  • C++17 compiler (for building)
  • conan >= 1.56, < 2.0 (for building)

Installation

pip install drift-bytes

Usage Example

from drift_bytes import Variant, InputBuffer, OutputBuffer

out_buf = OutputBuffer(3)
out_buf[0] = None
out_buf[1] = Variant(2)
out_buf[2] = [1.0, 2.0, 3.0]

in_buf = InputBuffer(out_buf.bytes())

assert in_buf[0].value is None
assert in_buf[1].value == 2
assert in_buf[2].value == [1.0, 2.0, 3.0]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

drift-bytes-0.3.0.tar.gz (22.4 kB view details)

Uploaded Source

Built Distributions

drift_bytes-0.3.0-cp311-cp311-win_amd64.whl (115.8 kB view details)

Uploaded CPython 3.11 Windows x86-64

drift_bytes-0.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (167.8 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

drift_bytes-0.3.0-cp311-cp311-macosx_10_13_x86_64.whl (127.4 kB view details)

Uploaded CPython 3.11 macOS 10.13+ x86-64

drift_bytes-0.3.0-cp310-cp310-win_amd64.whl (115.2 kB view details)

Uploaded CPython 3.10 Windows x86-64

drift_bytes-0.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (166.7 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

drift_bytes-0.3.0-cp310-cp310-macosx_10_13_x86_64.whl (126.0 kB view details)

Uploaded CPython 3.10 macOS 10.13+ x86-64

drift_bytes-0.3.0-cp39-cp39-win_amd64.whl (113.6 kB view details)

Uploaded CPython 3.9 Windows x86-64

drift_bytes-0.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (167.1 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

drift_bytes-0.3.0-cp39-cp39-macosx_10_13_x86_64.whl (126.1 kB view details)

Uploaded CPython 3.9 macOS 10.13+ x86-64

drift_bytes-0.3.0-cp38-cp38-win_amd64.whl (115.2 kB view details)

Uploaded CPython 3.8 Windows x86-64

drift_bytes-0.3.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (166.4 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

drift_bytes-0.3.0-cp38-cp38-macosx_10_13_x86_64.whl (127.0 kB view details)

Uploaded CPython 3.8 macOS 10.13+ x86-64

File details

Details for the file drift-bytes-0.3.0.tar.gz.

File metadata

  • Download URL: drift-bytes-0.3.0.tar.gz
  • Upload date:
  • Size: 22.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for drift-bytes-0.3.0.tar.gz
Algorithm Hash digest
SHA256 cd59389e379cb0612a9cb81ec525e392c49e2cd96daefc82fde09184e2d23deb
MD5 ff150ee7670b99ac0c0b7027ad61e43d
BLAKE2b-256 e13b32f1d60e274e4e70912cc173879cbd7b7ce8d0bb0fcbd106db89715f83b7

See more details on using hashes here.

File details

Details for the file drift_bytes-0.3.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for drift_bytes-0.3.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 6e775d151d0763251c9d2b3359e72beeae63e5311a238fe13f25c2ca2c3aaf8a
MD5 00de98f2369fd9e1178cf7398d651ca9
BLAKE2b-256 5c155d760203e373911026283e459825acf93ec71aee17b0a16d8048041efaaa

See more details on using hashes here.

File details

Details for the file drift_bytes-0.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for drift_bytes-0.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 34ce69d75d5f60ef881000da20a40d8c1cbf66ea8a5a41d78637dc676dea2b8c
MD5 cff7fb6673a7af912244c4b6abd10048
BLAKE2b-256 60ba40b0753153510d805864860da33bae09da72688939cc580711a2fa633c3f

See more details on using hashes here.

File details

Details for the file drift_bytes-0.3.0-cp311-cp311-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for drift_bytes-0.3.0-cp311-cp311-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 2e33f156e6263613fea952d61c997e9700771fc067b77da76caff5b34ccdc047
MD5 c1084cf151adce0566d9bb3ad607f56f
BLAKE2b-256 141d5de9f9b9fb1eca6adc7f31eb99318ea30ac09416df2ef0f8551c8ee85128

See more details on using hashes here.

File details

Details for the file drift_bytes-0.3.0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for drift_bytes-0.3.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 e6995eb12318d58a58d48c1f59ca5ff49b07651729d0bb4b5feace2ecc9455e9
MD5 86304cc23a6a23d4924b551c2a76796f
BLAKE2b-256 c9f01b1c4fe48199f9cd2e2cffac697f0f0b6b70766d753c243fdbcb0959deed

See more details on using hashes here.

File details

Details for the file drift_bytes-0.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for drift_bytes-0.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c037f45c2f9e49798339a5603780a4f48c01d9a7ea1d543ad14022615af0374b
MD5 56eeee7b5a63c22a12925e15ff682d18
BLAKE2b-256 f56a83eb05317358bfef3d3444b2649a3c62bcd85cd4d685b633a7a65c95916f

See more details on using hashes here.

File details

Details for the file drift_bytes-0.3.0-cp310-cp310-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for drift_bytes-0.3.0-cp310-cp310-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 d061c6a421d9166866ca39ebb1f96e0c733acb2c98a5904405faa824ef23239e
MD5 cd8a6c5035ba3258d18085f11881f21b
BLAKE2b-256 0ccd75c31943d5185184eee8aab55269c53ee101c84287d864474bb7732b5c14

See more details on using hashes here.

File details

Details for the file drift_bytes-0.3.0-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for drift_bytes-0.3.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 c4e7c6b295bca03bcf45b27f1955a921d8f6fbd69b09de4984ba03fd0eb71e1d
MD5 6d0db63a123c15320f6bb01b99a93674
BLAKE2b-256 9fdc1269e06bac7cd3c7c9959ec2888aa7bf5796dba375caa8caad19c573ee9e

See more details on using hashes here.

File details

Details for the file drift_bytes-0.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for drift_bytes-0.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b0aa18eaf28e3e27afa1f7e9f007bf4d6fde27ecebc92a26ea6c6458da0148ec
MD5 61ef64f715e243fdb3d8e49fc861ca78
BLAKE2b-256 2a63d56bd07f70924e252aab822cd75bf0ffb3e6ab8cf6fee6a134da220bc534

See more details on using hashes here.

File details

Details for the file drift_bytes-0.3.0-cp39-cp39-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for drift_bytes-0.3.0-cp39-cp39-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 b67708dffb89c6b09c41416a017e411b9a4cd2e3e77bb294f4f08b92389dcffc
MD5 56d281d50de3096fddffcd339397390c
BLAKE2b-256 effb98cce0d46e466e5015997586f2cc1a168ed7033ff66ee0ae0014b6d73c2e

See more details on using hashes here.

File details

Details for the file drift_bytes-0.3.0-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for drift_bytes-0.3.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 e80f800cd080e54b5e3dd847b32dead8db1fb79db0bb5e33f7e0904f59f44893
MD5 aac3d0daf3ae58f16d9c608e3409ac97
BLAKE2b-256 84a8ff2f98e5fc760c0631f97cd99e9ae6a3b05d8ee8da456ba1238ff3408aad

See more details on using hashes here.

File details

Details for the file drift_bytes-0.3.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for drift_bytes-0.3.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9199ebadd709f44ca8ee53fca390323c6117963da0a8b5c2bab2b6b0ca06f038
MD5 0505937eccfcdf96ef7b4a3a12500929
BLAKE2b-256 72364bcc6a02e67ac8788b29bc65c05e10f50f138811d853b7eea3c703be3563

See more details on using hashes here.

File details

Details for the file drift_bytes-0.3.0-cp38-cp38-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for drift_bytes-0.3.0-cp38-cp38-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 73043c2d04b7ee87006dd0287f73a6dce9a3c2542b1aa7d34dec2136cf169cc2
MD5 5d9042aa1c04b5107ff5660b6525bc18
BLAKE2b-256 b3b5f16a929d92ed59c533f8d0322ac95d032e1df66e09fa519e925a79dbec70

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page