| Version 1 (modified by xi, 7 years ago) (diff) |
|---|
PySyck
Python bindings for the Syck YAML parser and emitter
Overview
YAML is a data serialization format designed for human readability and interaction with scripting languages.
Syck is an extension for reading and writing YAML in scripting languages. Syck provides bindings to the Python programming language, but they are somewhat limited and leak memory.
PySyck is aimed to update the current Python bindings for Syck. The new bindings provide a wrapper for the Syck emitter and give access to YAML representation graphs. Hopefully it will not leak memory as well.
PySyck may be used for various tasks, in particular, as a replacement of the module pickle.
Requirements
PySyck requires Syck 0.55 or higher and Python 2.3 or higher. Python 2.2 is supported to some extent.
Download
Source
Windows binaries
Documentation
Quick example:
>>> from syck import * >>> print load(""" ... - foo ... - bar ... - baz ... """) ['foo', 'bar', 'baz'] >>> print dump(['foo', 'bar', 'baz']) --- - foo - bar - baz
For more details, please check README.txt.
Development and Bug reports
You may check out the PySyck source code from PySyck SVN repository.
If you find a bug in PySyck, please file a bug report. You may review open bugs through the list of open tickets.
You may use YAML-core mailing list to discuss PySyck.
Author and Copyright
The PySyck module is written by Kirill Simonov.
PySyck is released under the BSD license like Syck itself.
