A fast YAML parser
Project description
Fast YAML
A Fast YAML Parser for Python.
Dependency
- Python ≥ 3.10
- Rust ≥ 1.63
Installation
1. Build from source
git clone https://github.com/MINGtoMING/fastyaml.git
cd fastyaml
pip install maturin
maturin develop --release
2. install from PyPi
pip install fastyaml
Usage
import fastyaml
if __name__ == '__main__':
with open("path/to/read.yaml", 'r') as fp:
tmp = fastyaml.load(fp)
with open("path/to/write.yaml", 'w') as fp:
fastyaml.dump(tmp, fp)
License
Licensed under either of Apache License, Version 2.0 or MIT license at your option.Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fastyaml-0.1.0.tar.gz
(11.4 kB
view details)
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fastyaml-0.1.0.tar.gz.
File metadata
- Download URL: fastyaml-0.1.0.tar.gz
- Upload date:
- Size: 11.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4af3664c867e933d66792b24f09c80ca4868f5b78b01e0653bdaaf216aed1e23
|
|
| MD5 |
166fece56afe1a239b0fe6d4f62a7f38
|
|
| BLAKE2b-256 |
8ba54095b3b1a5617b54226ae591ccb65649f6b8e55090cb92c973ff9437cea7
|
File details
Details for the file fastyaml-0.1.0-cp310-abi3-win_amd64.whl.
File metadata
- Download URL: fastyaml-0.1.0-cp310-abi3-win_amd64.whl
- Upload date:
- Size: 224.1 kB
- Tags: CPython 3.10+, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d731fe76b51c4eec07acdca38628579385b657deb3d4f6cbb92c9e6dc14a499
|
|
| MD5 |
79488f460512eee1f853e5f8169452f9
|
|
| BLAKE2b-256 |
18a14598bc335f5a127f5db4d95c34aefc4807649829b7de6352dd432bd80d15
|
File details
Details for the file fastyaml-0.1.0-cp310-abi3-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: fastyaml-0.1.0-cp310-abi3-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 342.2 kB
- Tags: CPython 3.10+, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
478a9458850a7081aee324a589bca3e83a7fc532c7cff013ec7ed5109892461e
|
|
| MD5 |
e948f35a9d19d86a1203cc23065bbd08
|
|
| BLAKE2b-256 |
e5a8d588a588fdfa019f33cd6f29edb91906d8cda2bc9ae2bd1caf2f065cb0a6
|