ipartola/groper
View on GitHub ↗ ★ 36 Python
Python library for parsing config files and command line arguments
8 mentions on Hacker News by 1 person: 1 story, 7 comments · first 2011-12-16 · latest 2024-10-06
20082026
-
…by a command line argument. I also wanted to be as simple to use as possible. The code is hosted at https://github.com/ipartola/groper I am not sure if in today’s world of systemd this is useful at all. The code probably needs clean up…
comment by IgorPartola · 2024-10-06 · in Pantheon: Parsing command line arguments -
…your options, but also works with config files too. Don't write your own logic for this. Just use https://github.com/ipartola/groper
comment by IgorPartola · 2015-12-07 · in A magic getopt -
…built into a Debian package so maintenance is pretty simple, and init scripts just work. groper - https://github.com/ipartola/groper . groper is a configuration library that Python's stdlib is really missing. Python comes with argparse for…
comment by IgorPartola · 2015-04-24 · in Ask HN: Brag about open-source projects you're proud of -
…it, which is indeed the whole point of this library. I feel pretty good about this thing. [1] https://github.com/ipartola/groper
comment by IgorPartola · 2014-04-06 · in Say “no” to import side‐effects in Python -
Allow me to shamelessly throw my project into the ring: https://github.com/ipartola/groper . It is Python-specific, but for me it fulfills a very real need: to have a single library that I can use to both read a config file and command…
comment by IgorPartola · 2014-02-24 · in Libucl: Universal configuration library parser -
…After that the only code that explicitly does something different is a library I have ( https://github.com/ipartola/groper ) which cares explicitly about int vs long.
comment by IgorPartola · 2013-03-26 · in Converting Python2 to Python3 [video] -
And if you want to have both command line args and config files, check out my project: https://github.com/ipartola/groper . It even supports creating a sample config file out of the options you have defined.
comment by IgorPartola · 2012-11-12 · in Python Libraries you should know about