GithubHelp home page GithubHelp logo

nubank / edn_format Goto Github PK

View Code? Open in Web Editor NEW

This project forked from swaroopch/edn_format

2.0 120.0 0.0 194 KB

EDN reader and writer implementation in Python, using PLY (lex, yacc)

Home Page: http://www.swaroopch.com/2012/12/24/edn-format-python/

License: Other

Makefile 0.24% Python 97.70% Shell 2.06%

edn_format's Introduction

edn_format

Implements the EDN format in Python.

All features of EDN are implemented, including custom tagged elements.

Build Status PyPI version

Installation

pip install edn_format

Usage

>>> import edn_format
>>> edn_format.dumps({1, 2, 3})
'#{1 2 3}'
>>> edn_format.loads("[1 true nil]")
[1, True, None]
>>> edn_format.loads_all("1 2 3 4")
[1, 2, 3, 4]

In general, edn_format.loads(edn_format.dumps(obj)) == obj. If this is false, it may be a bug.

See tests.py for full details.

Contributors

Special thanks to the following contributors for making this library usable:

edn_format's People

Contributors

swaroopch avatar bitemyapp avatar konr avatar marianoguerra avatar bfontaine avatar gabrielferreira95 avatar petrounias avatar hcarvalhoalves avatar ashinohara avatar jasiskis avatar caique-lima avatar sabino avatar ivan avatar olivergeorge avatar

Stargazers

Felipe Monteiro avatar Atmos Maciel avatar

Watchers

Hélio avatar Guilherme Neumann avatar Lucas Cavalcanti avatar Ceci Fernandes avatar Rodrigo Flores avatar Caires Vinicius avatar Guilherme Ferreira avatar Pedro Axelrud avatar  avatar Andre Souza avatar Eliel Jr avatar Leandro Storoli avatar Vinicius Quaiato avatar Francisco Freire avatar Edward Wible avatar Gabriel Melo avatar Marcelo Theodoro avatar James Cloos avatar Danilo Buiatti Lamounier avatar Rodolfo Ponteado avatar Joaquim Torres avatar Leonardo Trabuco avatar Laís Oliveira avatar Gavin M. Bell avatar Paulo Roberto de Oliveira Castro avatar Lucas Lima avatar Vitor Guarino Olivier avatar Rodrigo Perez Taboada avatar Caio Oliveira avatar  avatar  avatar Helio Padrao avatar  avatar Max avatar  avatar  avatar Rafael Rabelo avatar George Jegon avatar Douglas Arruda avatar apsey avatar  avatar Maitê Balhester avatar Pedro Lira avatar Isabela Gonçalves avatar  avatar Tiago Matias avatar Riad Vargas avatar Euclides Filho avatar Thales Machado avatar Gabriel avatar Guilherme Peixoto avatar Eron Alves avatar  avatar  avatar Eric Yoshimura avatar Gianfranco Yosida avatar Ana Claudia Valeije avatar Vinicius Barreto avatar Pedro Ruiz avatar Danilo Unk Vaz avatar Felipe Beline avatar  avatar Andrew Michalik avatar Léo Meira Vital avatar Rodrigo Lessinger avatar  avatar Guilherme Assis avatar Gustavo Torres avatar Rafael Ring avatar Lucas Ferreira avatar Paulo Rossi avatar Rafael Maruta avatar Uriel Silva avatar Juarez Lencioni Maccarini avatar brave avatar  avatar  avatar Estevam Machado avatar César Wedemann avatar Deco avatar Rubens Farias avatar Bruno Koba avatar Lucas Mafra avatar  avatar edu avatar  avatar  avatar Stela Melo avatar Suzanne avatar  avatar Talita avatar Kevin Bird avatar  avatar Tulio Geraldes Calsaverini avatar Henrique Gasparini Fiuza do Nascimento avatar Daouda Traore avatar Gabriel Quintas de Oliveira avatar Isabella Pimentel avatar Pedro Fabretti avatar Henrique Lopes avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.