pytagsfs team mailing list archive
Mailing list archive
Re: pytagsfs image support
While there is no comment in code, I have difficulties to understand how the
code is organized and I would not spend much time doing reverse engineering
1) Could you confirm that the metastores is the interface with file we would
And so, we can activate metastore with option "pytagsfs -o metastores=..."
2) What is the purpose and how do you use "path.py" and "testline.py"
3) Could you confirm that the "get" method is used to read keywords from
file given in path
4) Could you confirm that the "set" method is used to write keywords within
file given by path
5) What is the type and organization of variable "values" in get and set :
list, tulp or dict ?
6) Is there other method than "get" and "set" which must be programmed ?
7) How and where the format string is managed ? Are substitution sequence
also defined in metastore ?
> -----Original Message-----
> From: Forest Bond [mailto:forest@xxxxxxxxxxxxxxxxxxx]
> Sent: Friday, April 30, 2010 5:13 PM
> To: Rey Cyril
> Cc: pytagsfs@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Pytagsfs] pytagsfs image support
> Hi Rey,
> On Fri, Apr 30, 2010 at 04:32:34PM +0200, Rey Cyril wrote:
> > For long, I dream for a such tools for photo management, but I am
> sure I
> > will have time for programming. As I spend too much time with my
> > my girlfriend is not so happy with that...
> I'm familiar with this problem. ;)
> > Some question :
> > - Where the base class metastore is defined ?
> > - How (and where) pytagfs know which subclass has to be used,
> according to
> > file type ?
> For testing, you can use the "metastores" mount option:
> pytagsfs -o
> exiv2_.PyExiv2MetaStore ...
> (I use the underscore to make sure we don't have module name clashes
> with the
> pyexiv2 library. I think this may only be an issue with Python 2.5
> but I don't remember.)
> You could also place your implementation somewhere else on the
> Just adjust the dotted name specifying the metastore implementation.
> > Program I downloaded has no comment. Where can I download a
> > version ?
> True, pytagsfs code is a little slim on comments. I prefer fewer
> clearer code over too many comments -- comments have to be
> all. But patches adding reasonable code comments are welcome.
> make the code clearer and easier to read are also welcome.
> You should use bzr to get the latest development code:
> bzr branch lp:pytagsfs
> Here's a bzr quick start document:
> Hope this helps. It will be a few months before I have more time to
> pytagsfs, but I will get back around to it to fix some bugs and get
> release out.
> Forest Bond