You can subscribe to this list here.
| 2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(5) |
Oct
(2) |
Nov
(18) |
Dec
(26) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2006 |
Jan
(14) |
Feb
(28) |
Mar
(21) |
Apr
(17) |
May
(23) |
Jun
(12) |
Jul
(12) |
Aug
(7) |
Sep
(10) |
Oct
|
Nov
(4) |
Dec
(10) |
| 2007 |
Jan
(5) |
Feb
(8) |
Mar
|
Apr
|
May
(7) |
Jun
(1) |
Jul
(3) |
Aug
(3) |
Sep
(20) |
Oct
(3) |
Nov
(2) |
Dec
(12) |
| 2008 |
Jan
(40) |
Feb
(15) |
Mar
(1) |
Apr
|
May
(6) |
Jun
(19) |
Jul
(2) |
Aug
(17) |
Sep
(13) |
Oct
(7) |
Nov
(16) |
Dec
(5) |
| 2009 |
Jan
(15) |
Feb
(11) |
Mar
(11) |
Apr
(8) |
May
(6) |
Jun
(15) |
Jul
(19) |
Aug
(2) |
Sep
|
Oct
(19) |
Nov
(1) |
Dec
(3) |
| 2010 |
Jan
(12) |
Feb
(25) |
Mar
(45) |
Apr
(4) |
May
(2) |
Jun
(4) |
Jul
(6) |
Aug
(13) |
Sep
(1) |
Oct
(2) |
Nov
(2) |
Dec
(9) |
| 2011 |
Jan
(24) |
Feb
(7) |
Mar
(1) |
Apr
(6) |
May
(3) |
Jun
(3) |
Jul
|
Aug
(13) |
Sep
(9) |
Oct
(7) |
Nov
(17) |
Dec
|
| 2012 |
Jan
|
Feb
|
Mar
(5) |
Apr
(3) |
May
|
Jun
|
Jul
(3) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
|
Dec
|
| 2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(12) |
Oct
|
Nov
|
Dec
|
| 2014 |
Jan
(4) |
Feb
(3) |
Mar
|
Apr
(17) |
May
|
Jun
|
Jul
|
Aug
(5) |
Sep
(3) |
Oct
(3) |
Nov
|
Dec
|
| 2015 |
Jan
(11) |
Feb
|
Mar
|
Apr
(2) |
May
(1) |
Jun
|
Jul
|
Aug
(3) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2016 |
Jan
|
Feb
(2) |
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
(10) |
Dec
|
| 2017 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Werner <wer...@gm...> - 2014-04-28 18:23:27
|
Hi Rob, Thanks for the fast reply. On 4/28/2014 18:59, Rob Dennis wrote: > Validate is certainly intended to by 3 compatible and we have tests > running on 3.2 and 3.3. However, to get the appropriate version of > validate, you should use the one that's packaged with configobj. This > is a bit confusing for a new person, and long term I don't think > there's a case for packaging it separately (the current one exists for > backwards compatibility). > > If you don't mind me asking, what lead you to try pip installing > validate? I tried removing all references to doing that from the (new) > official docs, but perhaps I missed one. > > If you found the docs on voidspace, I'm afraid those are the > pre-python 3 compatibility work Eli and I have done and I'd recommend > find configobj on github or readthedocs. > Yeap I got to voidspace, will get it from github. Hhm, actually this works for me: pip3.4.exe install -U configobj==5.0.5 Gave me the correct one, I think and then un-installed and tried again without a version number and got 5.0.5 again. Werner |
|
From: Rob D. <rd...@gm...> - 2014-04-28 16:59:39
|
Validate is certainly intended to by 3 compatible and we have tests running on 3.2 and 3.3. However, to get the appropriate version of validate, you should use the one that's packaged with configobj. This is a bit confusing for a new person, and long term I don't think there's a case for packaging it separately (the current one exists for backwards compatibility). If you don't mind me asking, what lead you to try pip installing validate? I tried removing all references to doing that from the (new) official docs, but perhaps I missed one. If you found the docs on voidspace, I'm afraid those are the pre-python 3 compatibility work Eli and I have done and I'd recommend find configobj on github or readthedocs. |
|
From: Werner <wer...@gm...> - 2014-04-28 15:03:11
|
Hi, I am just trying out configobj and validate and I get this error when trying to install validate on Py 3.4 I get the following error. configobj installed fine, is validate not yet Py3 compatible? Werner C:\Python34\Scripts\pip3.4 run on 04/28/14 16:50:00 Downloading/unpacking validate Getting page https://pypi.python.org/simple/validate/ URLs to search for versions for validate: * https://pypi.python.org/simple/validate/ Analyzing links from page https://pypi.python.org/simple/validate/ Found link https://pypi.python.org/packages/source/v/validate/validate-1.0.0.tar.gz#md5=bc6418183b86dd68e8179b9c0d0ebc33 (from https://pypi.python.org/simple/validate/), version: 1.0.0 Found link https://pypi.python.org/packages/source/v/validate/validate-1.0.1.tar.gz#md5=344d67d133de0e1d824f0f6d74dba97a (from https://pypi.python.org/simple/validate/), version: 1.0.1 Skipping link http://www.voidspace.org.uk/python/configobj.html (from https://pypi.python.org/simple/validate/); unknown archive format: .html Skipping link http://www.voidspace.org.uk/python/validate.html (from https://pypi.python.org/simple/validate/); unknown archive format: .html Using version 1.0.1 (newest of versions: 1.0.1, 1.0.0) Downloading validate-1.0.1.tar.gz Downloading from URL https://pypi.python.org/packages/source/v/validate/validate-1.0.1.tar.gz#md5=344d67d133de0e1d824f0f6d74dba97a (from https://pypi.python.org/simple/validate/) Running setup.py (path:C:\Users\wbruhin\AppData\Local\Temp\pip_build_wbruhin\validate\setup.py) egg_info for package validate Traceback (most recent call last): File "<string>", line 17, in <module> File "C:\Users\wbruhin\AppData\Local\Temp\pip_build_wbruhin\validate\setup.py", line 13, in <module> from configobj import __version__ as VERSION File "C:\Users\wbruhin\AppData\Local\Temp\pip_build_wbruhin\validate\configobj.py", line 1632 except Exception, e: ^ SyntaxError: invalid syntax Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 17, in <module> File "C:\Users\wbruhin\AppData\Local\Temp\pip_build_wbruhin\validate\setup.py", line 13, in <module> from configobj import __version__ as VERSION File "C:\Users\wbruhin\AppData\Local\Temp\pip_build_wbruhin\validate\configobj.py", line 1632 except Exception, e: ^ SyntaxError: invalid syntax |
|
From: Mario A. <ma...@se...> - 2014-04-28 04:22:20
|
I'm trying to use 'configobj' but not having much success:
(1) It appears that validate() ALWAYS returns True, even if my config
file does not conform to spec.
(2) If I repeat one of the sub-sections in the "many" section I get:
Traceback (most recent call last):
File "./config.py", line 7, in <module>
config = ConfigObj(infile="foo.cfg", configspec="foo.spec")
File "/home/glarms/python/site-packages/configobj.py", line 1229, in
__init__
self._load(infile, configspec)
File "/home/glarms/python/site-packages/configobj.py", line 1318, in
_load
raise error
configobj.ConfigObjError: Parsing failed with several errors.
First error at line 14.
Attached is my (simple) example program, config and spec files.
Any help would be much appreciated.
::::::::::::::
config.py
::::::::::::::
#!/usr/bin/python
import os, sys
from configobj import ConfigObj, ConfigObjError, flatten_errors
from validate import Validator, ValidateError
config = ConfigObj(infile="foo.cfg", configspec="foo.spec")
vtor = Validator()
results = config.validate(vtor, preserve_errors=True)
print "results=", results
::::::::::::::
foo.cfg
::::::::::::::
#
# example config file
#
# global options
[DEFAULT]
FOOBAR = 1
JUNK = 0
# baseline options
[CHANNELS]
[[SRB1-BRIB]]
instance = 0
[[OHLN-BRIB]]
instance = 0
::::::::::::::
foo.spec
::::::::::::::
#
# config spec file for G-larnS
#
[DEFAULT]
FOOBAR = string
JUNK = integer
[CHANNELS]
[[__many__]]
instance = integer(default=0)
off = boolean(default=False)
--
Mario Aranha University of California, Berkeley
ma...@se... Berkeley Seismological Laboratory
Office: 510-643-3898 215 McCone Hall # 4760
Fax: 510-643-5811 Berkeley, CA 94720-4760
|
|
From: Rob D. <rd...@gm...> - 2014-02-15 06:31:08
|
Hello again everybody, Wanted to let you know that ConfigObj 5.0.0 is uploaded<https://pypi.python.org/pypi/configobj/5.0.0>and the docs are updated and moved to readthedocs.org <http://configobj.readthedocs.org/en/5.0.0/> The common theme for both of these, is that we (Eli and I, as co-maintainers) left everything unchanged compared to 4.7.2 aside from: - changing the list of supported versions from 2.3 - 2.6 to 2.6 - 3.3 and doing what was necessary to support that range - references in the documentation to old homepages, repositories and version numbers For now, the primary focus is fixing an bugs introduced by the python 3 support, and though we'll be using it ourselves in a python 3 environment, we encourage you to post any issue you have, no matter how small, to the github page: https://github.com/DiffSK/configobj Thanks :), -Rob |
|
From: David H. <neg...@gm...> - 2014-02-03 14:20:33
|
Hey Rob, That's good news. Thanks for taking the initiative. And as always, thanks to Michael Foord for being a talented, pragmatic, and welcoming package author. I'm a longtime user of configobj/validate, and though I've not often chimed in here, I like to think of myself as an advocate. I've gotten quite a few friends/co-workers/projects to adopt configobj over the years, and always look forward to integrating it into my work. If you ever need any help shouldering the maintenance burden, or need to solicit bug fixes, documentation updates, etc.. whatever, please don't hesitate to ask. I'll try to bump this up a few notches on my todo list, and be more pro-active. Cheers! -hoss David Hostetler neg...@gm... On Sun, Feb 2, 2014 at 4:58 PM, Rob Dennis <rd...@gm...> wrote: > Hello everyone, > > My name is Rob Dennis, and I'm one of the new maintainers of configobj. > After using it for a long time at both home and my job, I realized I needed > python 3 support. After working to maintain Python 2 and 3 compatibility in > a single code base, I reached out to Michael Foord, who graciously allowed > us to release it as a new configobj version 5.0.0 (only change from 4.7.2 > being a new set of supported python versions: 2.6, 2.7, 3.2 and 3.3) and > take over maintenance of the project. > > The repository is at: https://github.com/DiffSK/configobj > > And I look forward to answering any questions you may have, or accepting > any issue tickets you want to make. I confess I'm not too familiar with the > sourceforge mailing list setup, and the simpler workflow may be to open an > issue on github for anything you're wondering about. Even if it's just a > question, having it in one place will better allow the maintainers to take > action on it. > > Thanks, :) > -Rob > > > ------------------------------------------------------------------------------ > WatchGuard Dimension instantly turns raw network data into actionable > security intelligence. It gives you real-time visual feedback on key > security issues and trends. Skip the complicated setup - simply import > a virtual appliance and go from zero to informed in seconds. > > http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk > _______________________________________________ > Configobj-develop mailing list > Con...@li... > https://lists.sourceforge.net/lists/listinfo/configobj-develop > > |
|
From: Rob D. <rd...@gm...> - 2014-02-02 21:58:52
|
Hello everyone, My name is Rob Dennis, and I'm one of the new maintainers of configobj. After using it for a long time at both home and my job, I realized I needed python 3 support. After working to maintain Python 2 and 3 compatibility in a single code base, I reached out to Michael Foord, who graciously allowed us to release it as a new configobj version 5.0.0 (only change from 4.7.2 being a new set of supported python versions: 2.6, 2.7, 3.2 and 3.3) and take over maintenance of the project. The repository is at: https://github.com/DiffSK/configobj And I look forward to answering any questions you may have, or accepting any issue tickets you want to make. I confess I'm not too familiar with the sourceforge mailing list setup, and the simpler workflow may be to open an issue on github for anything you're wondering about. Even if it's just a question, having it in one place will better allow the maintainers to take action on it. Thanks, :) -Rob |
|
From: Michael F. <fuz...@vo...> - 2014-01-27 14:25:37
|
On 24 Jan 2014, at 20:00, Jim Crowell <jac...@ma...> wrote: > ...since configobj/validate can be used to schema-validate input in > already-converted dicts, they can be used to validate json or yaml as > well as ini files (not sure that it would work for all possible yaml > files)... > Well, the goal with validate was to create a reusable library that could be used for validation against arbitrary text sources. So if you find it useful *great*. I've not directly tried it for yaml or json, but I can imagine it being useful there. Michael > ------------------------------------------------------------------------------ > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > Learn Why More Businesses Are Choosing CenturyLink Cloud For > Critical Workloads, Development Environments & Everything In Between. > Get a Quote or Start a Free Trial Today. > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk > _______________________________________________ > Configobj-develop mailing list > Con...@li... > https://lists.sourceforge.net/lists/listinfo/configobj-develop -- http://www.voidspace.org.uk/ May you do good and not evil May you find forgiveness for yourself and forgive others May you share freely, never taking more than you give. -- the sqlite blessing http://www.sqlite.org/different.html |
|
From: Jim C. <jac...@ma...> - 2014-01-24 20:18:32
|
...since configobj/validate can be used to schema-validate input in already-converted dicts, they can be used to validate json or yaml as well as ini files (not sure that it would work for all possible yaml files)... |
|
From: Frank B. <fra...@pr...> - 2014-01-16 12:09:22
|
Hi,
I have adapted configobj to make it usable with Python3. You can find my
version on Github on the following URL:
https://github.com/fbrehm/configobj.git
in branch 'develop'. I gave this version the number 4.7.3.
In the attached patch there are all changes I have made on the files
configobj.py and validate.py.
In the GIT repository in branch develop there are more changes,
especially unittests in directory test.
Cheers
Frank
--
Frank Brehm
Ingolstädter Str. 1
12621 Berlin
Mail: fr...@br...
Tel.: +49 - (0)30 - 55 87 00 38
Mobil.: +49 - (0)171 -64 39 844
|
|
From: Frank B. <fra...@pr...> - 2014-01-15 15:16:19
|
Hi,
I have adapted configobj to make it usable with Python3. You can find my
version on Github on the following URL:
https://github.com/fbrehm/configobj.git
in branch 'develop'. I gave this version the number 4.7.3.
In the attached patch there are all changes I have made on the files
configobj.py and validate.py.
In the GIT repository in branch develop there are more changes,
especially unittests in directory test.
Cheers
Frank
--
Frank Brehm
Ingolstädter Str. 1
12621 Berlin
Mail: fr...@br...
Tel.: +49 - (0)30 - 55 87 00 38
Mobil.: +49 - (0)171 -64 39 844
|
|
From: Jason U. <ent...@gm...> - 2013-09-10 21:57:12
|
I suppose it'd be best to make this configurable, defaulting to "#". Ideally, set the comment chars before loading the file. On Tue, Sep 10, 2013 at 3:47 AM, Nikita A Menkovich <men...@gm...>wrote: > I created a small patch that add ";" to list of comment chars > > But this is _hack_ i think, maybe there will be better solution > > > On 10 September 2013 14:37, Nikita A Menkovich <men...@gm...>wrote: > >> Hi all! >> >> A have ini file used by php application and parse_ini_file function uses >> ";" for comments. >> >> I need to validate a config file and prefer to use python and configobj >> for this, but in configobj "#" used for comments. >> >> Can I use other symbols? Or how can I extend configobj to use ";" for >> comments? >> >> -- >> Nikita A Menkovich >> http://libc6.org/ >> JID: men...@gm... >> >> >> >> > > > -- > Nikita A Menkovich > http://libc6.org/ > JID: men...@gm... > > > > > > ------------------------------------------------------------------------------ > How ServiceNow helps IT people transform IT departments: > 1. Consolidate legacy IT systems to a single system of record for IT > 2. Standardize and globalize service processes across IT > 3. Implement zero-touch automation to replace manual, redundant tasks > http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk > _______________________________________________ > Configobj-develop mailing list > Con...@li... > https://lists.sourceforge.net/lists/listinfo/configobj-develop > > -- ~ Jason Unger |
|
From: Nikita A M. <men...@gm...> - 2013-09-10 10:38:15
|
Hi all! A have ini file used by php application and parse_ini_file function uses ";" for comments. I need to validate a config file and prefer to use python and configobj for this, but in configobj "#" used for comments. Can I use other symbols? Or how can I extend configobj to use ";" for comments? -- Nikita A Menkovich http://libc6.org/ JID: men...@gm... |
|
From: Vincent Fu <vf...@fu...> - 2013-09-09 19:25:51
|
Lars, this works great. Thank you very much.
Vincent
On 09/04/2013 10:49 AM, Lars Lohn wrote:
> I used this solution for the same problem in some of my work at Mozilla:
>
>
> import re
>
>
> class ConfigObjWithIncludes(configobj.ConfigObj):
> """This derived class is an extention to ConfigObj that adds nested
> includes to ini files. Here's an example:
>
> db.ini:
>
> dbhostname=myserver
> dbname=some_database
> dbuser=dwight
> dbpassword=secrets
>
> app.ini:
> [source]
> +include ./db.ini
>
> [destination]
> +include ./db.ini
>
> when the 'app.ini' file is loaded, ConfigObj will respond as if the file
> had been written like this:
> [source]
> dbhostname=myserver
> dbname=some_database
> dbuser=dwight
> dbpassword=secrets
>
> [destination]
> dbhostname=myserver
> dbname=some_database
> dbuser=dwight
> dbpassword=secrets
> """
> _include_re = re.compile(r'^(\s*)\+include\s+(.*?)\s*$')
>
> def _expand_files(self, file_name, original_path, indent=""):
> """This recursive function accepts a file name, opens the file and then
> spools the contents of the file into a list, examining each line as it
> does so. If it detects a line beginning with "+include", it assumes
> the string immediately following is a file name. Recursing, the file
> new file is opened and its contents are spooled into the accumulating
> list."""
> expanded_file_contents = []
> with open(file_name) as f:
> for a_line in f:
> match = ConfigObjWithIncludes._include_re.match(a_line)
> if match:
> include_file = match.group(2)
> if include_file.startswith('.'):
> include_file = os.path.join(
> original_path,
> include_file
> )
> new_lines = self._expand_files(include_file, os.path.dirname(include_file),
> indent + match.group(1))
> expanded_file_contents.extend(new_lines)
> else:
> expanded_file_contents.append(indent + a_line.rstrip())
> return expanded_file_contents
>
> def _load(self, infile, configspec):
> """this overrides the original ConfigObj method of the same name. It
> runs through the input file collecting lines into a list. When
> completed, this method submits the list of lines to the super class'
> function of the same name. ConfigObj proceeds, completely unaware
> that it's input file has been preprocessed."""
> if isinstance(infile, basestring):
> original_path = os.path.dirname(infile)
> expanded_file_contents = self._expand_files(infile, original_path)
> super(ConfigObjWithIncludes, self)._load(
> expanded_file_contents,
> configspec
> )
> else:
> super(ConfigObjWithIncludes, self)._load(infile, configspec)
>
>
>
> ------------------------------------------------------------------------------
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
> _______________________________________________
> Configobj-develop mailing list
> Con...@li...
> https://lists.sourceforge.net/lists/listinfo/configobj-develop
>
This e-mail (and any attachments) is confidential and may be privileged. Any unauthorized use, copying, disclosure or dissemination of this communication is prohibited. If you are not the intended recipient, please notify the sender immediately and delete all copies of the message and its attachments.
|
|
From: Lars L. <la...@mo...> - 2013-09-04 17:07:48
|
I used this solution for the same problem in some of my work at Mozilla:
import re
class ConfigObjWithIncludes(configobj.ConfigObj):
"""This derived class is an extention to ConfigObj that adds nested
includes to ini files. Here's an example:
db.ini:
dbhostname=myserver
dbname=some_database
dbuser=dwight
dbpassword=secrets
app.ini:
[source]
+include ./db.ini
[destination]
+include ./db.ini
when the 'app.ini' file is loaded, ConfigObj will respond as if the file
had been written like this:
[source]
dbhostname=myserver
dbname=some_database
dbuser=dwight
dbpassword=secrets
[destination]
dbhostname=myserver
dbname=some_database
dbuser=dwight
dbpassword=secrets
"""
_include_re = re.compile(r'^(\s*)\+include\s+(.*?)\s*$')
def _expand_files(self, file_name, original_path, indent=""):
"""This recursive function accepts a file name, opens the file and then
spools the contents of the file into a list, examining each line as it
does so. If it detects a line beginning with "+include", it assumes
the string immediately following is a file name. Recursing, the file
new file is opened and its contents are spooled into the accumulating
list."""
expanded_file_contents = []
with open(file_name) as f:
for a_line in f:
match = ConfigObjWithIncludes._include_re.match(a_line)
if match:
include_file = match.group(2)
if include_file.startswith('.'):
include_file = os.path.join(
original_path,
include_file
)
new_lines = self._expand_files(include_file, os.path.dirname(include_file),
indent + match.group(1))
expanded_file_contents.extend(new_lines)
else:
expanded_file_contents.append(indent + a_line.rstrip())
return expanded_file_contents
def _load(self, infile, configspec):
"""this overrides the original ConfigObj method of the same name. It
runs through the input file collecting lines into a list. When
completed, this method submits the list of lines to the super class'
function of the same name. ConfigObj proceeds, completely unaware
that it's input file has been preprocessed."""
if isinstance(infile, basestring):
original_path = os.path.dirname(infile)
expanded_file_contents = self._expand_files(infile, original_path)
super(ConfigObjWithIncludes, self)._load(
expanded_file_contents,
configspec
)
else:
super(ConfigObjWithIncludes, self)._load(infile, configspec)
|
|
From: Michael F. <fuz...@vo...> - 2013-09-03 22:58:59
|
On 3 Sep 2013, at 23:56, Vincent Fu <vf...@fu...> wrote: > It appears to me that merge method would not work if sections in one ini > file referenced sections in another. Is this correct? Correct. Those references would be resolved when the individual files were loaded, so cross file references wouldn't work. Michael > > On 09/03/2013 04:54 PM, Michael Foord wrote: >> >> On 3 Sep 2013, at 23:53, Jason Unger <ent...@gm...> wrote: >> >>> And what would happen if you did a root level save()? >>> >>> >> >> The wrong thing :-) >> >> Michael >> >>> On Tue, Sep 3, 2013 at 3:34 PM, Michael Foord <fuz...@vo...> wrote: >>> >>> On 3 Sep 2013, at 19:29, Jason Unger <ent...@gm...> wrote: >>> >>>> It might be cool to have an include directive, usable at any node position. >>> >>> >>> It would be. I'm not actively working on configobj at the moment I'm afraid. Have a look at configglue instead which does have an include system. >>> >>> For configobj you can use multiple ini files and the "merge" method to combine them into a single ConfigObj. >>> >>> Michael >>> >>>> >>>> >>>> On Tue, Sep 3, 2013 at 9:52 AM, Vincent Fu <vf...@fu...> wrote: >>>> We are using ConfigObj to parse an ini file that has grown to an >>>> unwieldy 5000+ lines. Does anyone have suggestions for how to use >>>> ConfigObj if we split the ini into multiple files? Thanks. >>>> >>>> Vincent >>>> >>>> This e-mail (and any attachments) is confidential and may be privileged. Any unauthorized use, copying, disclosure or dissemination of this communication is prohibited. If you are not the intended recipient, please notify the sender immediately and delete all copies of the message and its attachments. >>>> >>>> ------------------------------------------------------------------------------ >>>> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! >>>> Discover the easy way to master current and previous Microsoft technologies >>>> and advance your career. Get an incredible 1,500+ hours of step-by-step >>>> tutorial videos with LearnDevNow. Subscribe today and save! >>>> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk >>>> _______________________________________________ >>>> Configobj-develop mailing list >>>> Con...@li... >>>> https://lists.sourceforge.net/lists/listinfo/configobj-develop >>>> >>>> >>>> >>>> -- >>>> ~ Jason Unger >>>> ------------------------------------------------------------------------------ >>>> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! >>>> Discover the easy way to master current and previous Microsoft technologies >>>> and advance your career. Get an incredible 1,500+ hours of step-by-step >>>> tutorial videos with LearnDevNow. Subscribe today and save! >>>> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk_______________________________________________ >>>> Configobj-develop mailing list >>>> Con...@li... >>>> https://lists.sourceforge.net/lists/listinfo/configobj-develop >>> >>> >>> -- >>> http://www.voidspace.org.uk/ >>> >>> >>> May you do good and not evil >>> May you find forgiveness for yourself and forgive others >>> May you share freely, never taking more than you give. >>> -- the sqlite blessing >>> http://www.sqlite.org/different.html >>> >>> >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! >>> Discover the easy way to master current and previous Microsoft technologies >>> and advance your career. Get an incredible 1,500+ hours of step-by-step >>> tutorial videos with LearnDevNow. Subscribe today and save! >>> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> Configobj-develop mailing list >>> Con...@li... >>> https://lists.sourceforge.net/lists/listinfo/configobj-develop >>> >>> >>> >>> -- >>> ~ Jason Unger >>> ------------------------------------------------------------------------------ >>> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! >>> Discover the easy way to master current and previous Microsoft technologies >>> and advance your career. Get an incredible 1,500+ hours of step-by-step >>> tutorial videos with LearnDevNow. Subscribe today and save! >>> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk_______________________________________________ >>> Configobj-develop mailing list >>> Con...@li... >>> https://lists.sourceforge.net/lists/listinfo/configobj-develop >> >> >> -- >> http://www.voidspace.org.uk/ >> >> >> May you do good and not evil >> May you find forgiveness for yourself and forgive others >> May you share freely, never taking more than you give. >> -- the sqlite blessing >> http://www.sqlite.org/different.html >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! >> Discover the easy way to master current and previous Microsoft technologies >> and advance your career. Get an incredible 1,500+ hours of step-by-step >> tutorial videos with LearnDevNow. Subscribe today and save! >> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk >> _______________________________________________ >> Configobj-develop mailing list >> Con...@li... >> https://lists.sourceforge.net/lists/listinfo/configobj-develop >> > > ------------------------------------------------------------------------------ > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > Discover the easy way to master current and previous Microsoft technologies > and advance your career. Get an incredible 1,500+ hours of step-by-step > tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk > _______________________________________________ > Configobj-develop mailing list > Con...@li... > https://lists.sourceforge.net/lists/listinfo/configobj-develop -- http://www.voidspace.org.uk/ May you do good and not evil May you find forgiveness for yourself and forgive others May you share freely, never taking more than you give. -- the sqlite blessing http://www.sqlite.org/different.html |
|
From: Vincent Fu <vf...@fu...> - 2013-09-03 22:57:43
|
It appears to me that merge method would not work if sections in one ini file referenced sections in another. Is this correct? On 09/03/2013 04:54 PM, Michael Foord wrote: > > On 3 Sep 2013, at 23:53, Jason Unger <ent...@gm...> wrote: > >> And what would happen if you did a root level save()? >> >> > > The wrong thing :-) > > Michael > >> On Tue, Sep 3, 2013 at 3:34 PM, Michael Foord <fuz...@vo...> wrote: >> >> On 3 Sep 2013, at 19:29, Jason Unger <ent...@gm...> wrote: >> >>> It might be cool to have an include directive, usable at any node position. >> >> >> It would be. I'm not actively working on configobj at the moment I'm afraid. Have a look at configglue instead which does have an include system. >> >> For configobj you can use multiple ini files and the "merge" method to combine them into a single ConfigObj. >> >> Michael >> >>> >>> >>> On Tue, Sep 3, 2013 at 9:52 AM, Vincent Fu <vf...@fu...> wrote: >>> We are using ConfigObj to parse an ini file that has grown to an >>> unwieldy 5000+ lines. Does anyone have suggestions for how to use >>> ConfigObj if we split the ini into multiple files? Thanks. >>> >>> Vincent >>> >>> This e-mail (and any attachments) is confidential and may be privileged. Any unauthorized use, copying, disclosure or dissemination of this communication is prohibited. If you are not the intended recipient, please notify the sender immediately and delete all copies of the message and its attachments. >>> >>> ------------------------------------------------------------------------------ >>> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! >>> Discover the easy way to master current and previous Microsoft technologies >>> and advance your career. Get an incredible 1,500+ hours of step-by-step >>> tutorial videos with LearnDevNow. Subscribe today and save! >>> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> Configobj-develop mailing list >>> Con...@li... >>> https://lists.sourceforge.net/lists/listinfo/configobj-develop >>> >>> >>> >>> -- >>> ~ Jason Unger >>> ------------------------------------------------------------------------------ >>> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! >>> Discover the easy way to master current and previous Microsoft technologies >>> and advance your career. Get an incredible 1,500+ hours of step-by-step >>> tutorial videos with LearnDevNow. Subscribe today and save! >>> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk_______________________________________________ >>> Configobj-develop mailing list >>> Con...@li... >>> https://lists.sourceforge.net/lists/listinfo/configobj-develop >> >> >> -- >> http://www.voidspace.org.uk/ >> >> >> May you do good and not evil >> May you find forgiveness for yourself and forgive others >> May you share freely, never taking more than you give. >> -- the sqlite blessing >> http://www.sqlite.org/different.html >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! >> Discover the easy way to master current and previous Microsoft technologies >> and advance your career. Get an incredible 1,500+ hours of step-by-step >> tutorial videos with LearnDevNow. Subscribe today and save! >> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk >> _______________________________________________ >> Configobj-develop mailing list >> Con...@li... >> https://lists.sourceforge.net/lists/listinfo/configobj-develop >> >> >> >> -- >> ~ Jason Unger >> ------------------------------------------------------------------------------ >> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! >> Discover the easy way to master current and previous Microsoft technologies >> and advance your career. Get an incredible 1,500+ hours of step-by-step >> tutorial videos with LearnDevNow. Subscribe today and save! >> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk_______________________________________________ >> Configobj-develop mailing list >> Con...@li... >> https://lists.sourceforge.net/lists/listinfo/configobj-develop > > > -- > http://www.voidspace.org.uk/ > > > May you do good and not evil > May you find forgiveness for yourself and forgive others > May you share freely, never taking more than you give. > -- the sqlite blessing > http://www.sqlite.org/different.html > > > > > > > ------------------------------------------------------------------------------ > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > Discover the easy way to master current and previous Microsoft technologies > and advance your career. Get an incredible 1,500+ hours of step-by-step > tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk > _______________________________________________ > Configobj-develop mailing list > Con...@li... > https://lists.sourceforge.net/lists/listinfo/configobj-develop > |
|
From: Michael F. <fuz...@vo...> - 2013-09-03 22:54:51
|
On 3 Sep 2013, at 23:53, Jason Unger <ent...@gm...> wrote: > And what would happen if you did a root level save()? > > The wrong thing :-) Michael > On Tue, Sep 3, 2013 at 3:34 PM, Michael Foord <fuz...@vo...> wrote: > > On 3 Sep 2013, at 19:29, Jason Unger <ent...@gm...> wrote: > > > It might be cool to have an include directive, usable at any node position. > > > It would be. I'm not actively working on configobj at the moment I'm afraid. Have a look at configglue instead which does have an include system. > > For configobj you can use multiple ini files and the "merge" method to combine them into a single ConfigObj. > > Michael > > > > > > > On Tue, Sep 3, 2013 at 9:52 AM, Vincent Fu <vf...@fu...> wrote: > > We are using ConfigObj to parse an ini file that has grown to an > > unwieldy 5000+ lines. Does anyone have suggestions for how to use > > ConfigObj if we split the ini into multiple files? Thanks. > > > > Vincent > > > > This e-mail (and any attachments) is confidential and may be privileged. Any unauthorized use, copying, disclosure or dissemination of this communication is prohibited. If you are not the intended recipient, please notify the sender immediately and delete all copies of the message and its attachments. > > > > ------------------------------------------------------------------------------ > > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > > Discover the easy way to master current and previous Microsoft technologies > > and advance your career. Get an incredible 1,500+ hours of step-by-step > > tutorial videos with LearnDevNow. Subscribe today and save! > > http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk > > _______________________________________________ > > Configobj-develop mailing list > > Con...@li... > > https://lists.sourceforge.net/lists/listinfo/configobj-develop > > > > > > > > -- > > ~ Jason Unger > > ------------------------------------------------------------------------------ > > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > > Discover the easy way to master current and previous Microsoft technologies > > and advance your career. Get an incredible 1,500+ hours of step-by-step > > tutorial videos with LearnDevNow. Subscribe today and save! > > http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk_______________________________________________ > > Configobj-develop mailing list > > Con...@li... > > https://lists.sourceforge.net/lists/listinfo/configobj-develop > > > -- > http://www.voidspace.org.uk/ > > > May you do good and not evil > May you find forgiveness for yourself and forgive others > May you share freely, never taking more than you give. > -- the sqlite blessing > http://www.sqlite.org/different.html > > > > > > > ------------------------------------------------------------------------------ > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > Discover the easy way to master current and previous Microsoft technologies > and advance your career. Get an incredible 1,500+ hours of step-by-step > tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk > _______________________________________________ > Configobj-develop mailing list > Con...@li... > https://lists.sourceforge.net/lists/listinfo/configobj-develop > > > > -- > ~ Jason Unger > ------------------------------------------------------------------------------ > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > Discover the easy way to master current and previous Microsoft technologies > and advance your career. Get an incredible 1,500+ hours of step-by-step > tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk_______________________________________________ > Configobj-develop mailing list > Con...@li... > https://lists.sourceforge.net/lists/listinfo/configobj-develop -- http://www.voidspace.org.uk/ May you do good and not evil May you find forgiveness for yourself and forgive others May you share freely, never taking more than you give. -- the sqlite blessing http://www.sqlite.org/different.html |
|
From: Jason U. <ent...@gm...> - 2013-09-03 22:54:11
|
And what would happen if you did a root level save()? On Tue, Sep 3, 2013 at 3:34 PM, Michael Foord <fuz...@vo...>wrote: > > On 3 Sep 2013, at 19:29, Jason Unger <ent...@gm...> wrote: > > > It might be cool to have an include directive, usable at any node > position. > > > It would be. I'm not actively working on configobj at the moment I'm > afraid. Have a look at configglue instead which does have an include system. > > For configobj you can use multiple ini files and the "merge" method to > combine them into a single ConfigObj. > > Michael > > > > > > > On Tue, Sep 3, 2013 at 9:52 AM, Vincent Fu <vf...@fu...> wrote: > > We are using ConfigObj to parse an ini file that has grown to an > > unwieldy 5000+ lines. Does anyone have suggestions for how to use > > ConfigObj if we split the ini into multiple files? Thanks. > > > > Vincent > > > > This e-mail (and any attachments) is confidential and may be privileged. > Any unauthorized use, copying, disclosure or dissemination of this > communication is prohibited. If you are not the intended recipient, > please notify the sender immediately and delete all copies of the message > and its attachments. > > > > > ------------------------------------------------------------------------------ > > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > > Discover the easy way to master current and previous Microsoft > technologies > > and advance your career. Get an incredible 1,500+ hours of step-by-step > > tutorial videos with LearnDevNow. Subscribe today and save! > > > http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk > > _______________________________________________ > > Configobj-develop mailing list > > Con...@li... > > https://lists.sourceforge.net/lists/listinfo/configobj-develop > > > > > > > > -- > > ~ Jason Unger > > > ------------------------------------------------------------------------------ > > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > > Discover the easy way to master current and previous Microsoft > technologies > > and advance your career. Get an incredible 1,500+ hours of step-by-step > > tutorial videos with LearnDevNow. Subscribe today and save! > > > http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk_______________________________________________ > > Configobj-develop mailing list > > Con...@li... > > https://lists.sourceforge.net/lists/listinfo/configobj-develop > > > -- > http://www.voidspace.org.uk/ > > > May you do good and not evil > May you find forgiveness for yourself and forgive others > May you share freely, never taking more than you give. > -- the sqlite blessing > http://www.sqlite.org/different.html > > > > > > > > ------------------------------------------------------------------------------ > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > Discover the easy way to master current and previous Microsoft technologies > and advance your career. Get an incredible 1,500+ hours of step-by-step > tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk > _______________________________________________ > Configobj-develop mailing list > Con...@li... > https://lists.sourceforge.net/lists/listinfo/configobj-develop > -- ~ Jason Unger |
|
From: Michael F. <fuz...@vo...> - 2013-09-03 22:52:34
|
On 3 Sep 2013, at 19:29, Jason Unger <ent...@gm...> wrote: > It might be cool to have an include directive, usable at any node position. It would be. I'm not actively working on configobj at the moment I'm afraid. Have a look at configglue instead which does have an include system. For configobj you can use multiple ini files and the "merge" method to combine them into a single ConfigObj. Michael > > > On Tue, Sep 3, 2013 at 9:52 AM, Vincent Fu <vf...@fu...> wrote: > We are using ConfigObj to parse an ini file that has grown to an > unwieldy 5000+ lines. Does anyone have suggestions for how to use > ConfigObj if we split the ini into multiple files? Thanks. > > Vincent > > This e-mail (and any attachments) is confidential and may be privileged. Any unauthorized use, copying, disclosure or dissemination of this communication is prohibited. If you are not the intended recipient, please notify the sender immediately and delete all copies of the message and its attachments. > > ------------------------------------------------------------------------------ > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > Discover the easy way to master current and previous Microsoft technologies > and advance your career. Get an incredible 1,500+ hours of step-by-step > tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk > _______________________________________________ > Configobj-develop mailing list > Con...@li... > https://lists.sourceforge.net/lists/listinfo/configobj-develop > > > > -- > ~ Jason Unger > ------------------------------------------------------------------------------ > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > Discover the easy way to master current and previous Microsoft technologies > and advance your career. Get an incredible 1,500+ hours of step-by-step > tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk_______________________________________________ > Configobj-develop mailing list > Con...@li... > https://lists.sourceforge.net/lists/listinfo/configobj-develop -- http://www.voidspace.org.uk/ May you do good and not evil May you find forgiveness for yourself and forgive others May you share freely, never taking more than you give. -- the sqlite blessing http://www.sqlite.org/different.html |
|
From: Jason U. <ent...@gm...> - 2013-09-03 18:30:14
|
It might be cool to have an include directive, usable at any node position. On Tue, Sep 3, 2013 at 9:52 AM, Vincent Fu <vf...@fu...> wrote: > We are using ConfigObj to parse an ini file that has grown to an > unwieldy 5000+ lines. Does anyone have suggestions for how to use > ConfigObj if we split the ini into multiple files? Thanks. > > Vincent > > This e-mail (and any attachments) is confidential and may be privileged. > Any unauthorized use, copying, disclosure or dissemination of this > communication is prohibited. If you are not the intended recipient, > please notify the sender immediately and delete all copies of the message > and its attachments. > > > ------------------------------------------------------------------------------ > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > Discover the easy way to master current and previous Microsoft technologies > and advance your career. Get an incredible 1,500+ hours of step-by-step > tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk > _______________________________________________ > Configobj-develop mailing list > Con...@li... > https://lists.sourceforge.net/lists/listinfo/configobj-develop > -- ~ Jason Unger |
|
From: Vincent Fu <vf...@fu...> - 2013-09-03 17:12:28
|
We are using ConfigObj to parse an ini file that has grown to an unwieldy 5000+ lines. Does anyone have suggestions for how to use ConfigObj if we split the ini into multiple files? Thanks. Vincent This e-mail (and any attachments) is confidential and may be privileged. Any unauthorized use, copying, disclosure or dissemination of this communication is prohibited. If you are not the intended recipient, please notify the sender immediately and delete all copies of the message and its attachments. |
|
From: Michael F. <fuz...@vo...> - 2012-09-12 11:01:59
|
On 7 Sep 2012, at 15:05, Cornell Wright <co...@la...> wrote: > I've been starting to use ConfigObj4 and validate, it's a nice package. > I think there is an error in the get_extra_values example in configobj.html. > > # this code gets the extra values themselves > the_section = cfg > for section in sections: > the_section = cfg[section] > > > The last line should be: > the_section=the_section[section] > > Without that change, I get a key error on an extra value in a section > nested two deep. > Hello Cornell, Yes, I think you're correct. I'm not currently working on configobj but if you file an issue on the issue tracker it won't get lost if someone picks up working on it: http://code.google.com/p/configobj/issues/list All the best, Michael Foord > -- > Cornell Wright > > HPC-5 - High Performance System Integration > Los Alamos National Laboratory > 505-665-3109 - Office > 505-664-4084 - Pager (during work hours) > 505-695-4904 - Mobile (outside of work hours) > co...@la... - eMail > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Configobj-develop mailing list > Con...@li... > https://lists.sourceforge.net/lists/listinfo/configobj-develop > -- http://www.voidspace.org.uk/ May you do good and not evil May you find forgiveness for yourself and forgive others May you share freely, never taking more than you give. -- the sqlite blessing http://www.sqlite.org/different.html |
|
From: Michael F. <fuz...@vo...> - 2012-09-07 18:26:00
|
On 7 Sep 2012, at 19:08, Avery Penniston <ape...@ge...> wrote: > Is there a build of ConfigObj out there that works with 64-bit Python v2.7? > > I tried installing ConfigObj on top of a flavor of x64 Python 2.7 and it doesn’t work…says it can’t find the ConfigObj module – I’m assuming because ConfigObj is 32-bit only, is that right? ConfigObj is pure Python and so will work fine with 64bit Python. I don't know why your install didn't work though. Note that although the library is referred to as "ConfigObj" the module is actually named "configobj". Confusing I know, my apologies. All the best, Michael Foord > > Thanks, > > Avery > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________ > Configobj-develop mailing list > Con...@li... > https://lists.sourceforge.net/lists/listinfo/configobj-develop -- http://www.voidspace.org.uk/ May you do good and not evil May you find forgiveness for yourself and forgive others May you share freely, never taking more than you give. -- the sqlite blessing http://www.sqlite.org/different.html |
|
From: Avery P. <ape...@ge...> - 2012-09-07 18:22:35
|
Is there a build of ConfigObj out there that works with 64-bit Python v2.7? I tried installing ConfigObj on top of a flavor of x64 Python 2.7 and it doesn't work...says it can't find the ConfigObj module - I'm assuming because ConfigObj is 32-bit only, is that right? Thanks, Avery |