python中的edn格式读写器
edn_format的Python项目详细描述
#edn_u format
在python中实现[edn format](https://github.com/edn-format/edn)。
[![构建状态](https://travis-ci.org/swaroopch/edn_format.svg?branch=master)(https://travis ci.org/swaroopch/edn_格式)
[![PyPI version](https://img.shields.io/pypi/v/edn_format.svg)](https://pypi.org/project/edn_format/)
## Installation ##
pip install edn_format
## Usage ##
```pycon
>>> import edn_format
>>> edn_format.dumps({1, 2, 3})
'#{1 2 3}'
>>> edn_format.loads(“[1 true nil]”)
[1,true,none]
````
>通常,`edn_format.loads(edn_format.dumps(obj))==obj`.如果这是
false,则可能是一个错误。
特别是下面的活跃贡献者。
\contributors\contributors
-[JasHuGaN ](http://Github.com/JasuGaN)
[http://Github.com /Exelf)] BR/>< BR/>本地DEV(BR/> BR/>‘BASH<BR/>1。一次性:从https://brew.sh
brew cask安装virtualbox vagrant
一次:安装vagrant plugin
安装vagrant vbguest
3。这就是你所需要的。通过ssh访问开发环境
vagrant ssh
cd/vagrant
运行测试
python tests.py
检查python警告
python-wall-c'import edn _format'
`
` `
` `
` `
` ` ` ` ` ` ` `
`/>` ` ` ` ` ` ` ` ` `发布新版本:
1。在“setup.py”中增加版本号,例如“0.6.3”
2。创建一个git标记:`git tag-a v0.6.3-m'version 0.6.3'`
3.push git标记:`git push origin master--tags`
4.确保您有一个带有PYPI凭据的[~/.pypirc文件](http://docs.python.org/2/distutils/packageindex.html pypirc)。
5.运行“python setup.py sdist upload”
在python中实现[edn format](https://github.com/edn-format/edn)。
[![构建状态](https://travis-ci.org/swaroopch/edn_format.svg?branch=master)(https://travis ci.org/swaroopch/edn_格式)
[![PyPI version](https://img.shields.io/pypi/v/edn_format.svg)](https://pypi.org/project/edn_format/)
## Installation ##
pip install edn_format
## Usage ##
```pycon
>>> import edn_format
>>> edn_format.dumps({1, 2, 3})
'#{1 2 3}'
>>> edn_format.loads(“[1 true nil]”)
[1,true,none]
````
>通常,`edn_format.loads(edn_format.dumps(obj))==obj`.如果这是
false,则可能是一个错误。
特别是下面的活跃贡献者。
\contributors\contributors
-[JasHuGaN ](http://Github.com/JasuGaN)
[http://Github.com /Exelf)] BR/>< BR/>本地DEV(BR/> BR/>‘BASH<BR/>1。一次性:从https://brew.sh
brew cask安装virtualbox vagrant
一次:安装vagrant plugin
安装vagrant vbguest
3。这就是你所需要的。通过ssh访问开发环境
vagrant ssh
cd/vagrant
运行测试
python tests.py
检查python警告
python-wall-c'import edn _format'
`
` `
` `
` `
` ` ` ` ` ` ` `
`/>` ` ` ` ` ` ` ` ` `发布新版本:
1。在“setup.py”中增加版本号,例如“0.6.3”
2。创建一个git标记:`git tag-a v0.6.3-m'version 0.6.3'`
3.push git标记:`git push origin master--tags`
4.确保您有一个带有PYPI凭据的[~/.pypirc文件](http://docs.python.org/2/distutils/packageindex.html pypirc)。
5.运行“python setup.py sdist upload”