This is a fast dumper for a subset of YAML that NICOS uses for writing data files.
Prerequisites
The module requires Python (2.7 or 3.4+) and numpy (1.6+). The test suite requires nose for running, PyYAML for verification.
Usage
Install with setup.py as usual.
Basic usage:
import quickyaml quickyaml.Dumper(**kwargs).dump(object, stream)
To dump lists as flowing sequences, use the quickyaml.flowlist type, which is a subclass of list.
Dumper keyword arguments:
indent - indent width, default 4
width - fill width for flow sequences
callback - a callable that is called for objects of unsupported types: it takes the object as an argument and must return a bytes object or raise an exception
Tests
Run tests with nosetests after setup.py build.
Release files for nicos-quickyaml 1.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nicos_quickyaml-1.3.3.tar.gz | 14.3 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| nicos_quickyaml-1.3.3-cp314-cp314-manylinux1_x86_64.manylinux_2_5_x86_64.whl | CPython 3.14 | CPython 3.14 | Linux glibc 2.5+ x86-64 | Details |
| nicos_quickyaml-1.3.3-cp313-cp313-manylinux1_x86_64.manylinux_2_5_x86_64.whl | CPython 3.13 | CPython 3.13 | Linux glibc 2.5+ x86-64 | Details |
| nicos_quickyaml-1.3.3-cp312-cp312-manylinux1_x86_64.manylinux_2_5_x86_64.whl | CPython 3.12 | CPython 3.12 | Linux glibc 2.5+ x86-64 | Details |
| nicos_quickyaml-1.3.3-cp311-cp311-manylinux1_x86_64.manylinux_2_5_x86_64.whl | CPython 3.11 | CPython 3.11 | Linux glibc 2.5+ x86-64 | Details |
| nicos_quickyaml-1.3.3-cp310-cp310-manylinux1_x86_64.manylinux_2_5_x86_64.whl | CPython 3.10 | CPython 3.10 | Linux glibc 2.5+ x86-64 | Details |
| nicos_quickyaml-1.3.3-cp39-cp39-manylinux1_x86_64.manylinux_2_5_x86_64.whl | CPython 3.9 | CPython 3.9 | Linux glibc 2.5+ x86-64 | Details |
Total release size: 241.9 kB
Release files / nicos_quickyaml-1.3.3.tar.gz
| Download URL | nicos_quickyaml-1.3.3.tar.gz |
|---|---|
| Size | 14.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d0e42540b478f0852e308dabc2cb34e775b36333e139c020a063621dc0881d8d
|
|
BLAKE2b-256 checksum How to use checksums |
e26aed35a9e47ae2b07e58423b673f582efc15e2f0d755182752d9413d736c71
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.6
|
Release files / nicos_quickyaml-1.3.3-cp314-cp314-manylinux1_x86_64.manylinux_2_5_x86_64.whl
| Download URL | nicos_quickyaml-1.3.3-cp314-cp314-manylinux1_x86_64.manylinux_2_5_x86_64.whl |
|---|---|
| Size | 13.7 kB |
| Tags | CPython 3.14 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
51eb24e4b286e66bb19b1ae046426ee9195ff4341ba133ddb2832b0a6b36c72a
|
|
BLAKE2b-256 checksum How to use checksums |
98546690b3febea17792f01e5fecfdb956f26647914359ac390a8523563239c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.6
|
Release files / nicos_quickyaml-1.3.3-cp313-cp313-manylinux1_x86_64.manylinux_2_5_x86_64.whl
| Download URL | nicos_quickyaml-1.3.3-cp313-cp313-manylinux1_x86_64.manylinux_2_5_x86_64.whl |
|---|---|
| Size | 44.6 kB |
| Tags | CPython 3.13 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
dba1102e6929d2f3f8bf194dd947ff13981bca2dd451f377a3010b74283937d2
|
|
BLAKE2b-256 checksum How to use checksums |
2425c3287d2b8f6efd45baa07da982fc1fd09776fea12123c0cb0697e529ac5e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.6
|
Release files / nicos_quickyaml-1.3.3-cp312-cp312-manylinux1_x86_64.manylinux_2_5_x86_64.whl
| Download URL | nicos_quickyaml-1.3.3-cp312-cp312-manylinux1_x86_64.manylinux_2_5_x86_64.whl |
|---|---|
| Size | 44.6 kB |
| Tags | CPython 3.12 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
577b83b5f9c97a1f0415ffa5957a7dc100d56440edbb9bfc0b0b528fef19b6a1
|
|
BLAKE2b-256 checksum How to use checksums |
660d0a19d347955416fe25cfdf666cf77603e55f4df8c3c1e43d21cc9684ab5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.6
|
Release files / nicos_quickyaml-1.3.3-cp311-cp311-manylinux1_x86_64.manylinux_2_5_x86_64.whl
| Download URL | nicos_quickyaml-1.3.3-cp311-cp311-manylinux1_x86_64.manylinux_2_5_x86_64.whl |
|---|---|
| Size | 42.2 kB |
| Tags | CPython 3.11 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
0a12bcdf99959b2b2251739de198a7811e957ae18986e594966d3157e213c150
|
|
BLAKE2b-256 checksum How to use checksums |
0667776ddfca8fe6e5cf581becfc2bd20af84b386a83ab3565a312c4a3a52d94
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.6
|
Release files / nicos_quickyaml-1.3.3-cp310-cp310-manylinux1_x86_64.manylinux_2_5_x86_64.whl
| Download URL | nicos_quickyaml-1.3.3-cp310-cp310-manylinux1_x86_64.manylinux_2_5_x86_64.whl |
|---|---|
| Size | 41.4 kB |
| Tags | CPython 3.10 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
2a36addcb43d29cec816b998485bd1d522ddd44e279057af8c7477ab9e558f97
|
|
BLAKE2b-256 checksum How to use checksums |
744b3a442c8dea871eadc4af69f1f20df4895de660971a4612ec71b3c27501eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.6
|
Release files / nicos_quickyaml-1.3.3-cp39-cp39-manylinux1_x86_64.manylinux_2_5_x86_64.whl
| Download URL | nicos_quickyaml-1.3.3-cp39-cp39-manylinux1_x86_64.manylinux_2_5_x86_64.whl |
|---|---|
| Size | 41.0 kB |
| Tags | CPython 3.9 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
27b87bec31bca350dcba93c5b42dd424b2ad2e947d72563a6cd1c2a75cfd0c88
|
|
BLAKE2b-256 checksum How to use checksums |
e217170ebe51923eccc0918f70e67edc8d232e0e9e4cbe859ae4ce972a01eabe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.6
|