[Python-Dev] ConfigParser argparse integration module (original) (raw)
Łukasz Langa lukasz at langa.pl
Sat Oct 13 10:06:55 CEST 2012
- Previous message: [Python-Dev] ConfigParser argparse integration module
- Next message: [Python-Dev] [BUG] Trailing spaces in pretty-printed JSON
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Wiadomość napisana przez S Joshua Swamidass <swamidass at gmail.com> w dniu 13 paź 2012, o godz. 05:24:
Hello,
It seemed like there were several requests to enable ini file parsing with argparse. I wrote module to do this. I'd be curious to know if this is useful and anyone has a better approach.
This mailing list focuses on the development of Python so your message if off-topic for this list. I suggest python-announce-list at python.org or the generic python-list at python.org.
That being said, a couple of remarks:
- See configglue which does what your module tries to do.
- A "Production/Stable" trove classifier without any unit tests does not look very convincing.
- Your code is 2.x only.
- ConfArgParse.args2config uses RawConfigParser whereas ConfArgParse._parse_config uses SafeConfigParser which will lead to inconsistent content handling.
- Your code is not PEP8 compliant.
- Long option names traditionally don't use underscores but dashes. E.g. not --conf_file but --conf-file.
- There doesn't seem to be a homepage. The one you listed in setup.py is your homepage, not the project's homepage.
- There doesn't seem to be a code repository for the project.
All in all: nice approach, promising project but definitely needs more work. Good luck :)
-- Best regards, Łukasz Langa Senior Systems Architecture Engineer
IT Infrastructure Department Grupa Allegro Sp. z o.o.
http://lukasz.langa.pl/ +48 791 080 144
-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20121013/eba071c8/attachment.html>
- Previous message: [Python-Dev] ConfigParser argparse integration module
- Next message: [Python-Dev] [BUG] Trailing spaces in pretty-printed JSON
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]