-
Notifications
You must be signed in to change notification settings - Fork 143
Add JSON, YAML and XML writing and parsing support #96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
setup.py
Outdated
@@ -24,6 +24,7 @@ def test_suite(): | |||
'ply', | |||
'rdflib', | |||
'six', | |||
'ruamel.yaml', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please do not use that YAML parser: it requires a native and a C compiler. Use PyYaml instead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. I think you are missing some tests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just by having a quick glance, you might want to add support py3
@krysnuvadga You mean the example files only, right? |
@pombredanne @pombredanne I've made the changes requested. Please, let me know if something is wrong or missing |
4890ed7
to
23dfe4b
Compare
Signed-off-by: Xavier Figueroa <xavierfigueroav@gmail.com>
Signed-off-by: Xavier Figueroa <xavierfigueroav@gmail.com>
…YAML. Signed-off-by: Xavier Figueroa <xavierfigueroav@gmail.com>
Signed-off-by: Xavier Figueroa <xavierfigueroav@gmail.com>
Signed-off-by: Xavier Figueroa <xavierfigueroav@gmail.com>
Signed-off-by: Xavier Figueroa <xavierfigueroav@gmail.com>
Signed-off-by: Xavier Figueroa <xavierfigueroav@gmail.com>
Signed-off-by: Xavier Figueroa <xavierfigueroav@gmail.com>
Signed-off-by: Xavier Figueroa <xavierfigueroav@gmail.com>
… them. Signed-off-by: Xavier Figueroa <xavierfigueroav@gmail.com>
- '-or-later' instead of '+' - '-only' instead of nothing Signed-off-by: Xavier Figueroa <xavierfigueroav@gmail.com>
Modify tests to support Snippet information. Signed-off-by: Xavier Figueroa <xavierfigueroav@gmail.com>
Add library 'xmltodict' as dependency in setup.py file. Change the name of base writers, parsers and builders to indicate the XML support. Signed-off-by: Xavier Figueroa <xavierfigueroav@gmail.com>
Signed-off-by: Xavier Figueroa <xavierfigueroav@gmail.com>
Signed-off-by: Xavier Figueroa <xavierfigueroav@gmail.com>
…ML formats. Signed-off-by: Xavier Figueroa <xavierfigueroav@gmail.com>
Signed-off-by: Xavier Figueroa <xavierfigueroav@gmail.com>
Signed-off-by: Xavier Figueroa <xavierfigueroav@gmail.com>
23dfe4b
to
2840266
Compare
@pombredanne this is ready for review. Please check! |
@xavierfigueroav thank you! |
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Add missing notices Organize and sorts imports Import proper __future__ Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
I pushed a few cleanup commits. Please review |
@pombredanne Everything looks great! |
Also remove __main__ from test code Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
This is mostly trimming extra white spaces. Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
All merged now. Thank you ++ |
Signed-off-by: Xavier Figueroa xavierfigueroav@gmail.com