S-expression parser for Python
Project description
S-expression parser for Python
==============================
`pysexp` is a simple S-expression parser/serializer. It has
simple `load` and `dump` functions like `pickle`, `json` or `PyYAML`
module.
>>> from pysexp import loads, dumps
>>> loads('("a" "b")')
['a', 'b']
>>> print(dumps(['a', 'b']))
("a" "b")
You can install `pysexp` from PyPI_::
pip install pysexp
License
-------
`pysexp` is licensed under the terms of the BSD 2-Clause License.
See the source code for more information.
==============================
`pysexp` is a simple S-expression parser/serializer. It has
simple `load` and `dump` functions like `pickle`, `json` or `PyYAML`
module.
>>> from pysexp import loads, dumps
>>> loads('("a" "b")')
['a', 'b']
>>> print(dumps(['a', 'b']))
("a" "b")
You can install `pysexp` from PyPI_::
pip install pysexp
License
-------
`pysexp` is licensed under the terms of the BSD 2-Clause License.
See the source code for more information.
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
pysexp-0.0.4.dev1.tar.gz
(6.4 kB
view details)
File details
Details for the file pysexp-0.0.4.dev1.tar.gz
.
File metadata
- Download URL: pysexp-0.0.4.dev1.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05d5ad3d1cb71d0f95588905a5a752630f3fe3d96b8ab962b2ec2bdfd0675e8a |
|
MD5 | b36f0cd246e822da5320f03018b023ab |
|
BLAKE2b-256 | 0bb37d8e0b4f9ede3bf12eb5b9d5a1c5a71fd7ed615d591de6f4b23364fc1748 |