Great example of a python module/package following up to date conventions.

Joan Miller peloko45 at gmail.com
Thu Jan 28 14:41:06 EST 2010


On 28 ene, 19:17, Big Stu <stu.dohe... at gmail.com> wrote:
> I'm hoping someone on here can point me to an example of a python
> package that is a great example of how to put it all together.  I'm
> hoping for example code that demonstrates:
>
> -Strict adherence to PEP 8
> -thorough use of Docstrings
> -Conventional directory structure/package layout
> -Appropriate use of the latest accepted coding guidelines in the
> python community (e.g., new classes versus old classes, Python 3000
> compatibility, newer language features, etc. etc.)
> -Some amount of object oriented design
>
> Bonus:
> -Unit tests
> -Logging mechanism
>
> I can't imagine a package that's been around longer than a few years
> will hit upon all these things well unless the maintainer went back
> and did some serious refactoring and re-tooling.
>
> Is this question possible to answer?

Look here:

http://bitbucket.org/ares/scripy/src/



More information about the Python-list mailing list