Skip to content

JustinHop/manyio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

manyio

I have had ENOUGH of going back and forth between these FREAKING FORMATS!!!!

Converts easily between YaML, JSON, and XML. I'll add more if I feel like it.

(c) Justin Hoppensteadt 2019 <[email protected]>

Usage:

<justin@thinkpad1:~/src/manyio>
$ ./manyio.py --help
manyio Justin Hoppensteadt 2019 <[email protected]
Usage: manyio [options] [INPUT] [OUTPUT]

Options:
    -i --informat=FORMAT     Format of input  [default: auto]
    -o --outformat=FORMAT    Format of output [default: pretty]
    -D --debug               Debug output
    -F --formats             List supported formats
    -h --help                help

Arguments:
    INPUT           Input file, - or none for stdin
    OUTPUT          Output file, or none for stdout
<justin@thinkpad1:~/src/manyio>
$ ./manyio.py --formats
Input formats: ['auto', 'json', 'xml', 'yaml']
Output formats: ['auto', 'json', 'xml', 'yaml', 'pretty']


Requirements:

Written for python3.7. The only non-standard library I use is docopt, which is awesome.
http://docopt.org/

I started using xmltodict as well

I took two defs off of stack exchange, the rest is mine


Write it, cut it, paste it, save it, load it, check it, quick rewrite it

About

Switch data formats. XML, JSON, YAML, more maybe

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published