[Twisted-Python] Progress report on splitting packages

Thomas Mangin thomas.mangin at exa-networks.co.uk
Tue Apr 20 04:17:22 EDT 2004


Clark C. Evans wrote:

>This makes very little sense to me.  In my humble opinion, it should
>stay 'twisted.news'.  Calling it 'lowdown' beacuse a top level package
>of 'news' is taken is really counterproductive, finding good names is
>hard enough.   I do see the value in breaking twisted into modules, so
>that a subset of twisted could be used.   However, I don't see why these
>items can be named 'twisted.XXXX', perhaps the 'core' distribution
>should just have place-holder '__init__.py' file...
>
>/twisted/news/__init__.py
>
>  raise NotImplementedError("""\
>      Download this package from 
>      http://projects.twistedmatrix.com/news/
>  """)
>  
>
I am a boring fart and I always though that names should be as explicit 
as possible.

Am I right to think that all the code will be related to 
applications/application frameworks  using twisted ?
In that case something like twistedapp (please do not take that name as 
the ultimate recommendation) would make more sense.

As well I would saws that the organization should be like
twistedapp.news.lowdown
twistedapp.web.nevow
twistedapp.ssh.counch
[...]

I have no idea of what are flow, lore, and some other modules and it 
seems that some of you do not know neither what is xish neither !
Should it be called twistedapp.jabber.xish ???

So the protocol is obvious from the module name and it is easy to add 
more application of the same protocol without any name clash.
At that point it is clear that nevow is a web application, even if the 
name itself does not give the information away.

Thomas




More information about the Twisted-Python mailing list