Hippo's Techical Systems BV is proud to anounced that release 0.6 of
'phileas' is available.
Phileas stands for:
*P*ython *H*TML *I*ntegration - *L*arry's *E*legant *A*lternative
*S*cheme
(The word 'elegant' is a matter of taste of course but it makes the
acronym work!)
/Web-site/:
http://larry.myerscough.nl/phileas_project
/Description/:
Phileas is actually a new take on some old ideas:
The code in 'html40.py' allows html to be coded in a natural /[dare
I say'pythonic'?]/ style, as the following fragment illustrates:
from phileas.html40 import HTML40
# .....
h = HTML40()
# .....
h._(h.h1|'Major Heading',
h.p | (
""" closing tags may be implied by use of the '|'
operator. with brackets where appropriate""",
h.a(href=someUrl)|clickableLink,
h.br,
),
h.p, "or be coded explicitly like this!",
~h.p,
)
As such, it covers similar ground to established packages like
'HTMLgen' but I believe it is somewhat easier to use and leads to
clearer code when nested tags and looping constructions are used. In
fact, my intention is to make the practice of mixing templating
constructions with python code unnecesary.
The other files in the phileas package implement an object-oriented
web-page framework, rather like psp's ('python server pages') but
styled around the constructs in
'html40.py'.
/Installation:/
[You may wish/need to deviate from the followng instructions
depending on your platform.]
1. Create a directory 'phileas' in a location of your choice;
make a note of the parent directory name
2. Unzip the latest zip-file from
http://larry.myerscough.nl/phileas_project into this directory.
3. Create a file 'phileas.pth' in your python site-packages
directory containg the name of the parent directory (forward slashes
are ok, even on windows)
4. Check that the above has worked by doing 'import phileas'
from a python shell; no news (no output) is good news.
5. The rest is up to you; the other stuff on
http://larry.myerscough.nl may help you to get started.
/A final note from the author:/
I'm sure I need to improve a number of things before I have a
package worth calling 1.0. I look forward to receiving input from
the python community which will guide the necessary improvements.
Larry Myerscough (aka 'papahippo')
Hippos Technical Systems BV
Hi All,
Pydev 1.6.4 has been released
Details on Pydev: http://pydev.org
Details on its development: http://pydev.blogspot.com
Release Highlights:
-------------------------------
* Improved Unittest integration:
o Created a PyUnit view (with a red/green bar) which can be used
to see the results of tests and relaunching them
o The default test runner now allows parallel execution
(distributing tests by module or individually)
o The nose and py.test test runners are also supported now
* Major Bug Fixed: existing interpreters could be corrupted when
adding a new one
* Fixed AttributeError on console startup in Python 3.0
* Added theming and automatic sash orientation to the pydev code coverage view
* Patch by frigo7: When creating a new remote debugger target, the
terminated ones are removed
* Patch by frigo7: compare editor properly showing the revision
information and fixed broken shortcuts (e.g.: ctrl+z)
* Read-only files no longer editable in pydev actions
* Fixed issue of remaining \r on python 3.0 on input()
* The pydev parser is now properly dealing with bom (utf-8)
* Assign to local: if method starts with '_', the leading '_' is not
added to the local
What is PyDev?
---------------------------
PyDev is a plugin that enables users to use Eclipse for Python, Jython
and IronPython development -- making Eclipse a first class Python IDE
-- It comes with many goodies such as code completion, syntax
highlighting, syntax analysis, refactor, debug and many others.
Cheers,
--
Fabio Zadrozny
------------------------------------------------------
Software Developer
Aptana
http://aptana.com/
Pydev - Python Development Environment for Eclipse
http://pydev.orghttp://pydev.blogspot.com
ackward provides a C++ interface to some of the standard Python
modules, and is aimed at simplifying some extension/embedding tasks.
This is the first release of the ackward library. It includes pretty
good support for the uuid, logging, time, and datetime modules.
Project page: http://code.google.com/p/ackward/
Download: http://ackward.googlecode.com/files/ackward-0.1.tar.bz2