Skip to main content

High-performance Rust implementation of PyYAML

Project description

pyyaml-rs

High-performance Rust implementation of PyYAML.

Features

  • Drop-in replacement for PyYAML's safe_load/safe_dump functions
  • 10-50x faster YAML parsing and serialization
  • Full API compatibility with PyYAML

Installation

pip install pyyaml-rs

Usage

import pyyaml_rs as yaml

# Load YAML
data = yaml.safe_load("key: value")

# Dump YAML
yaml_str = yaml.safe_dump({"key": "value"})

Performance

  • YAML parsing: 121µs per operation (Python) → ~5-10µs (Rust)
  • Expected speedup: 10-50x

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

pyyaml_rs-0.1.0.tar.gz (8.0 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pyyaml_rs-0.1.0-cp314-cp314-win_amd64.whl (245.0 kB view details)

Uploaded CPython 3.14Windows x86-64

pyyaml_rs-0.1.0-cp313-cp313-win_amd64.whl (245.0 kB view details)

Uploaded CPython 3.13Windows x86-64

pyyaml_rs-0.1.0-cp312-cp312-win_amd64.whl (245.0 kB view details)

Uploaded CPython 3.12Windows x86-64

pyyaml_rs-0.1.0-cp312-cp312-manylinux_2_34_x86_64.whl (406.0 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

pyyaml_rs-0.1.0-cp312-cp312-macosx_11_0_arm64.whl (357.5 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

pyyaml_rs-0.1.0-cp311-cp311-win_amd64.whl (244.3 kB view details)

Uploaded CPython 3.11Windows x86-64

pyyaml_rs-0.1.0-cp311-cp311-manylinux_2_34_x86_64.whl (406.3 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

pyyaml_rs-0.1.0-cp311-cp311-manylinux_2_34_aarch64.whl (399.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ ARM64

pyyaml_rs-0.1.0-cp311-cp311-macosx_11_0_arm64.whl (358.1 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

pyyaml_rs-0.1.0-cp310-cp310-win_amd64.whl (244.2 kB view details)

Uploaded CPython 3.10Windows x86-64

pyyaml_rs-0.1.0-cp310-cp310-manylinux_2_34_x86_64.whl (406.2 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.34+ x86-64

pyyaml_rs-0.1.0-cp310-cp310-macosx_11_0_arm64.whl (358.0 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

pyyaml_rs-0.1.0-cp39-cp39-win_amd64.whl (244.1 kB view details)

Uploaded CPython 3.9Windows x86-64

pyyaml_rs-0.1.0-cp39-cp39-manylinux_2_34_x86_64.whl (406.2 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.34+ x86-64

pyyaml_rs-0.1.0-cp39-cp39-macosx_11_0_arm64.whl (357.9 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

pyyaml_rs-0.1.0-cp38-cp38-manylinux_2_34_x86_64.whl (405.9 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.34+ x86-64

pyyaml_rs-0.1.0-cp38-cp38-macosx_11_0_arm64.whl (357.8 kB view details)

Uploaded CPython 3.8macOS 11.0+ ARM64

File details

Details for the file pyyaml_rs-0.1.0.tar.gz.

File metadata

  • Download URL: pyyaml_rs-0.1.0.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.11.5

File hashes

Hashes for pyyaml_rs-0.1.0.tar.gz
Algorithm Hash digest
SHA256 878981b474da26021f9549e9014d99d6bec018307e59cb1cddad3c0f30131294
MD5 9de06d4f77dd544366926a90f0b49a15
BLAKE2b-256 c3e9fd6c50b11c652dbfe0fe0ba293a2479e262a9368cc4d692d034d8b785a4d

See more details on using hashes here.

File details

Details for the file pyyaml_rs-0.1.0-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: pyyaml_rs-0.1.0-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 245.0 kB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyyaml_rs-0.1.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 f6b245443d5de6ca6fb3330839cf84633540ee319800f1862d1e49a65c27f66b
MD5 145b734b17740d60ecb2540fdebe8084
BLAKE2b-256 2e64491ed738b80935d4b74a9a6738bee0a8b870ced9c6336002bd119592434c

See more details on using hashes here.

File details

Details for the file pyyaml_rs-0.1.0-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: pyyaml_rs-0.1.0-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 245.0 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyyaml_rs-0.1.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 dcb8392d9661cd365ea3e9029a2add3b599a8fefb79b98452db6439b86f47e99
MD5 15d14e8ee6752422d239fc9a076986ff
BLAKE2b-256 c2e275c7ff63d60daea83dd57df16e2024cb95e5b9f6a3e6bcf63d276f77c9c2

See more details on using hashes here.

File details

Details for the file pyyaml_rs-0.1.0-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: pyyaml_rs-0.1.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 245.0 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyyaml_rs-0.1.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 db53fd6680395efb1fe2ebbc0265ab90b1f6f8a953403317e9ca2d15e3501b72
MD5 1a5a1545438e5293b307fff458b9eafd
BLAKE2b-256 ddc46b42ea51d6e2a9d05efa76369a1b653114807b3b2a473afc245cbc2fa528

See more details on using hashes here.

File details

Details for the file pyyaml_rs-0.1.0-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pyyaml_rs-0.1.0-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 49e4a086530f4b2d9fb6ac35c27de3542353d54b82a49d2ade3ce1b7678ca3e6
MD5 4a598080139af25d41157f48cbf118d7
BLAKE2b-256 db52e9e6cf5e8ff569a932971a2646b49b6cbd89574883a8ef14a68000e1849e

See more details on using hashes here.

File details

Details for the file pyyaml_rs-0.1.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyyaml_rs-0.1.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cf66e82759f0428cd9590f08e3f2920b0504ed60335663af71f6cd750265e971
MD5 4fb4a21792d5f098c5c0437b221c0df3
BLAKE2b-256 3f36d827e10ba75820b73b6583f8044e676a01e728971582f4b96a1002c49b8f

See more details on using hashes here.

File details

Details for the file pyyaml_rs-0.1.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: pyyaml_rs-0.1.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 244.3 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyyaml_rs-0.1.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 a11dc3f4efea05f6861bc3aa184c4a699f9a3e0b6577e717c3839e84d79005e8
MD5 f526764678746059047b5d106aaa8446
BLAKE2b-256 cae98a4e9ac1d18299826a1583b27cfb681e508ccff2aa3b116c4ab6484ff3ec

See more details on using hashes here.

File details

Details for the file pyyaml_rs-0.1.0-cp311-cp311-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pyyaml_rs-0.1.0-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 9f751d8537367bbf0dbca3dca2324684a6504db082eb0e967a885a55f8a9e85b
MD5 8acedd322ae0934dff6d6495a50ed234
BLAKE2b-256 9863931c387f7fd130c12b96cd072e8c16e86342a0f5af642edc1a00fa990760

See more details on using hashes here.

File details

Details for the file pyyaml_rs-0.1.0-cp311-cp311-manylinux_2_34_aarch64.whl.

File metadata

File hashes

Hashes for pyyaml_rs-0.1.0-cp311-cp311-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 c3169ec4a8be280a7a23b689170d25c48da687fb42f57e530b1d29414f1c4e19
MD5 490800fbccde4d1c9186385f84bc1764
BLAKE2b-256 388fd67ce8f6c91ac5e33c0c0c63bd3fcd5c6dc1c2bb5da75b329a8cd3f71f5d

See more details on using hashes here.

File details

Details for the file pyyaml_rs-0.1.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyyaml_rs-0.1.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 444b88d701ad5b6f9c71bf98925edc30226b2d8bed84dc771600da7e62b26af0
MD5 209ef215105d5dc93ac8d8d8e0df7b69
BLAKE2b-256 fb4bc1e2409e2ad4fa959eeeb16f50d2cbf49a3cd96581e3439b554f7c9240c8

See more details on using hashes here.

File details

Details for the file pyyaml_rs-0.1.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: pyyaml_rs-0.1.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 244.2 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyyaml_rs-0.1.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 7186dca894159aa1636c39a291d7b255f73b2f01f2ed7c3e2577230cc76bc897
MD5 57cee153cb4295d66a158d00ac1fc463
BLAKE2b-256 178f2317345efc12427d830255ae7183705ca122c8e1dc5729b8ded89c72f8d8

See more details on using hashes here.

File details

Details for the file pyyaml_rs-0.1.0-cp310-cp310-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pyyaml_rs-0.1.0-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 8386915b195e2cbfc4775cb971321af3533a27eafc3453b9d530033ad9660f34
MD5 3405a46f48285fc7f7c602f00fa41cc3
BLAKE2b-256 140eb22778d754e93d4b207a1f7162805708cc70901e6d1fe88f7846a41f411c

See more details on using hashes here.

File details

Details for the file pyyaml_rs-0.1.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyyaml_rs-0.1.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 df91b1117dba94f4a85b2abcbdb7398a094ce0808ae425d7fb7857bf49b98ac5
MD5 e3e7af205389ce1eba5c4bfcc1edc8d0
BLAKE2b-256 f9cd672dd755c99a9c5df33fc7fc97a11cf44363d51fd3b2b996517cf6e8cbd1

See more details on using hashes here.

File details

Details for the file pyyaml_rs-0.1.0-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: pyyaml_rs-0.1.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 244.1 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyyaml_rs-0.1.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 11e95f0ea6bb8fa553935df09541ccc98d8db1af7dc3458c3b64edcb4d5ff3b2
MD5 8b63ca42f83199304aca97391e4f4a31
BLAKE2b-256 931195d8050731e703d3b8fe6bbf13ebf70bb816f87f547bda3e3b6ae865d8da

See more details on using hashes here.

File details

Details for the file pyyaml_rs-0.1.0-cp39-cp39-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pyyaml_rs-0.1.0-cp39-cp39-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 086c7bc984a7b3a2b56f7adbb9bf6ea004c940414cba2e2211424a219c6ed4a2
MD5 0d2c11d6b2c4799d72d8fa331f162fb6
BLAKE2b-256 b732b704d3b8e5028895bcfad103684df71fb103db49912e2033fe2509e1be18

See more details on using hashes here.

File details

Details for the file pyyaml_rs-0.1.0-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyyaml_rs-0.1.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e162931f70989920246f801bfd4ec71917b3418a0d2ebfcb5fc3559f50efe2cf
MD5 74c040801e1dca131cea7e50b70ea0e0
BLAKE2b-256 183667b14db6460234a46bfc5ec330b15f52869754d01dd12a704f62adb7fa0f

See more details on using hashes here.

File details

Details for the file pyyaml_rs-0.1.0-cp38-cp38-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pyyaml_rs-0.1.0-cp38-cp38-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 f24c6f7cda113fa880faba40fc7f06d2812ecfac7d6a34c0028169a003d852f2
MD5 990fb4f52d47943aebe6a184d82d479f
BLAKE2b-256 79dc2c1b6dca7a30b69f4a79fadf2176ee3709dd8adf5dd5898f4cc8c8a3af9b

See more details on using hashes here.

File details

Details for the file pyyaml_rs-0.1.0-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyyaml_rs-0.1.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4a3484a46738356e7b8fcd864ace025b12a2d40ce91b6c0588ebc35672844016
MD5 c6813d76b56ca2042416c80cc2066189
BLAKE2b-256 58a6b6d43b53bd32321aa2bb915dab315da8cfbd13f15e83659a6f994ee72a2a

See more details on using hashes here.

Supported by

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