rest2web 0.4.0 alpha is now available.
http://www.voidspace.org.uk/python/rest2web/
What's New ?
==========
See
http://www.voidspace.org.uk/python/rest2web/reference/changelog.html#versio…
Lots of bugfixes and new features since the 0.3.0 release.
Includes a new gallery plugin (which will also function as a standalone
HTML gallery generator).
http://www.voidspace.org.uk/python/rest2web/reference/gallery.html
There is also an experimental windows executable version.
The documentation has been greatly improved, including a tutorial which
should get anyone up to scratch on the basics very quickly.
http://www.voidspace.org.uk/python/rest2web/tutorial.html
What is rest2web
=============
**rest2web** is a tool for autogenerating wesites, or parts of
websites. It's main features are :
* Integrated with docutils.
* Automatically builds index pages and navigation links (sidebars and
{acro;breadcrumbs;Weird name for navigation links ?}).
* Embedded code in templates for unlimited expressiveness.
* Flexible macro system.
* Uses relative links, so sites can be viewed from the filesystem.
* Unicode internally - so you don't have to be. {sm;:-p}
* Includes features for multiple translations of sites.
* Built-in gallery creator plugin.
* The basic system is very easy to use.
* Lots of powerful (optional) features.
The content can be stored as HTML, or in reST format; in which case the
HTML will be generated using docutils. **rest2web** inserts each page
into a template, and automatically creates index pages for sections,
and navigation links.
Webware 0.9 has been released.
Webware for Python is a suite of Python packages and tools for
developing object-oriented, web-based applications. The suite uses well
known design patterns and includes a fast Application Server, Servlets,
Python Server Pages (PSP), Object-Relational Mapping, Task Scheduling,
Session Management, and many other features. Webware is very modular and
easily extended.
Webware for Python is well proven and platform-independent. It is
compatible with multiple web servers, database servers and operating
systems.
The new release includes numerous enhancements, additions and bug fixes
over the previous release. We can list only a few of them here:
* easier installation
* improved documentation
* improved examples
* bug fixes
* a built-in HTTP server for immediate "playing",
* a debug app server compatible with WingIDE and other debuggers
* support for the Kid templating language
* support for PostgreSQL
* better support for recent versions of Python including properties,
the object type and the datetime module
Check out the Webware for Python home page at http://w4py.org
I'd like to announce the first release of PySizer, a memory usage
profiler for Python code.
PySizer was written as part of Google's Summer of Code.
The source, documentation and so on are at http://pysizer.8325.org.
The current release is at
http://pysizer.8325.org/dist/sizer-0.1.tar.gz.
The code is kept in a Subversion repository at
http://codespeak.net/svn/user/nick8325/sizer.
The idea is to take a snapshot of memory use at some time, and then
use the functions of the profiler to find information about it.
Features
--------
* You can make a snapshot of all reachable objects at a given time,
organised as a tree (well, a graph, since there are cycles).
* For any given object, you can find out how much space it takes up,
what objects it references and so on.
With a patched version of Python, you can also find out what stack of
function calls created an object, and what objects were created by
each stack of calls.
* You can collect objects into groups. For example, you can group each
object according to the module it appears to come from. Then you can
treat each module as a single object.
* You can filter objects, find the amount of space used by instances of
each type, find objects which appeared from one snapshot to the next,
find the biggest objects/types/groups, and so on.
Requirements
------------
See http://pysizer.8325.org/INSTALL.
The main one is Python 2.4 - I will port it to 2.3 soon.
Bugs, suggestions, comments, problems, anything else
----------------------------------------------------
You can contact me at nick.smallbone(a)gmail.com. I would love to know if
you find a use for it, too.
Background:
Full scipy builds on top of scipy_core to provide many more tools for
computational science and engineering. Included are tools for
optimization, integration (including ode solvers), signal processing,
sparse matrices, complete FFTs, complete linear algebra, statistical
functions, input and output routines, interpolation, integration, and
many special functions.
SciPy 0.4.3
This version is the first release to build on top of the new scipy_core
(v 0.6.1). The code is relatively stable, but there may be some
lingering bugs from the transition from Numeric. Please report any
errors you find. The LICENSE is a BSD style License---the same as
scipy_core. More information can be found (some of which is dated) at
http://www.scipy.org. The sourceforge site where it can be downloaded
is http://sourceforge.net/projects/scipy.
<P><A HREF="http://www.scipy.org">SciPy (full) 0.4.3</A> - Extension
modules for scipy_core (12-Nov-05)
Background:
Numeric is an add-on Python module that has seen widespread adoption.
It enables Python to be used as a Scientific Computing Environment
similar to MATLAB or IDL. Numeric was originally written nearly 10
years ago, and while still performing admirably, needed much updating to
take advantage of the new features in Python and to remove old warts.
SciPy Core 0.6.1
SciPy Core is a new system which builds on the code-base of Numeric, but
implements features (such as advanced index-selection, and user-settable
error modes). There are over 25 major new feature enhancements. The
LICENSE is still a BSD style License---the same as old Numeric. More
information can be found at the web-site: http://numeric.scipy.org
<P><A HREF="http://numeric.scipy.org">SciPy Core 0.6.1</A> - Replacement
for Numeric Python. (12-Nov-05)
See http://gmpy.sourceforge.net/ for details.
What is it: a wrapper for the GMP library, to provide multi-precision
arithmetic for Python. Multi-precision floats, and unbounded-precision
rationals, are not present in stock Python; multi-precision integers
('long') are, but gmpy's version of multi-precision integers is faster
for some operations (NOT all -- used to be, but Python 2.3 did serious
enhancements to some operations on longs) and provides lots of nifty
pre-packaged additional functions.
Minor changes and bug-fixes since the latest 0.9 pre-alpha; support for
Python 2.3. The Windows binary release is now for Python 2.3 _only_ (if
you're stuck with Python 2.2 on Windows, you can keep using gmpy 0.9
pre-alpha and not really suffer from that). Known bug on Windows: the
scan0 and scan1 functions appear broken (perhaps related to the lack of
a GMP 4.0 library for Windows -- haven't found one around yet).
Alex
I'm pleased to announce FormEncode 0.3.
What is it?
-----------
FormEncode is a package for form validation and conversion. It also
includes modules for parsing, filling, and extracting metadata from HTML
forms. It features robust conversion both of incoming and outgoing
data, attention paid to helpful error messages, and a wide variety of
pre-build validators. It also supports composition of validators, and
validating structured data, including nested and repeating form elements.
FormEncode is being used in several projects, including Subway,
TurboGears, and SQLObject.
Where is it?
------------
Website and docs:
http://formencode.org
Download:
http://cheeseshop.python.org/pypi/FormEncode
What has changed?
-----------------
>From the news file:
* Allow errors to be inserted automatically into a form when using
``formencode.htmlfill``, when a ``<form:error>`` tag isn't found for
an error.
* Added ``if_key_missing`` attribute to ``schema.Schema``, which will
fill in any keys that are missing and pass them to the validator.
* ``FancyValidator`` has changed, adding ``if_invalid_python`` and
``validate_python`` options (which also apply to all subclasses).
Also ``if_empty`` only applies to ``to_python`` conversions.
* ``FancyValidator`` now has a ``strip`` option, which if true and if
input is a string, will strip whitespace from the string.
* Allow chained validators to validate otherwise-invalid forms, if
they define a ``validate_partial`` method. The credit card
validator does this.
* Handle ``FieldStorage`` input (from file uploads); added a
``formencode.fieldstorage`` module to wrap those instances in
something a bit nicer. Added
``validators.FieldStorageUploadConverter`` to make this conversion.
* Added ``StringBoolean`` converter, which converts strings like
``"true"`` to Python booleans.
Bugfixes
~~~~~~~~
* A couple fixes to ``DateConverter``, ``FieldsMatch``,
``StringBoolean``, ``CreditCardValidator``.
* Added missing ``Validator.assert_string`` method.
* ``formencode.htmlfill_schemabuilder`` handles checkboxes better.
* Be a little more careful about how ``Invalid`` exceptions are
created (catch some errors sooner).
* Improved handling of non-string input in ``htmlfill``.
Experiments
~~~~~~~~~~~
* Some experimental work in ``formencode.formgen``. Experimental, I
say!
* Added an experimental ``formencode.context`` module for
dynamically-scoped variables.
Hello out there,
I'm really pleased to announce the first public release of Pynakotheka.
Pynakotheka is a simple GPL-licensed python script which generates
static HTML photo albums to be added to web sites or to be burnt in CDs.
It includes some templates and it's easy to create more.
It depends on python, CheetahTemplate, EXIF and PIL.
Read more and download it from:
http://inigo.katxi.org/devel/pynakotheka
or http://www.terra.es/personal7/inigoserna/pynakotheka
Of course, all comments, suggestions etc. are welcome.
Best regards,
--
Iñigo Serna <inigoserna(a)terra.es>
Katxijasotzaileak
ANNOUNCING twill v0.7.4.
twill is a simple Web scripting language built on top of Python and
John J. Lee's 'mechanize'. It's designed for automated testing of Web
sites, but it should prove useful for anybody who needs to interact
with Web sites (especially those using logins and cookies) on the
command line or via a script.
twill can also now be used for stress-testing and benchmarking of
complex sites via the twill-fork script.
twill is a reimplementation of Cory Dodt's PBP.
A twill script looks like this:
# go to the /. login page
go http://slashdot.org/login.pl
# fill in the form
fv 1 unickname test
fv 1 upasswd test
submit
# ok, there's no such account ;). show error HTML.
show
---
This is the fifth public release of twill, version 0.7.4.
(Tagline: "many bugs fixed, nose-based unit tests now work.")
Download directly here:
http://darcs.idyll.org/~t/projects/twill-0.7.4.tar.gz
Documentation is online at
http://www.idyll.org/~t/www-tools/twill.html
---
Miscellaneous details:
twill is implemented in Python and uses pyparsing and mechanize. In
addition to the existing simple command language, twill can easily be
extended with Python. twill also provides a fairly simple and
well-documented wrapper around mechanize.
twill scripts can be recorded with maxq, although scripts may require
some hand tweaking at the moment. See the twill documentation for
more information.
twill does not understand JavaScript, I'm sorry to say.
---
Notable bug fixes and features:
* better error handling & display;
* many, many browsing bugs fixed;
* new 'url', 'exit', 'showlinks', 'title', 'config' and 'agent' commands;
* 'nose' unit tests and unit-test support infrastructure; c.f.
http://www.idyll.org/~t/www-tools/twill.html#unit-testing
Thanks go to Tommi Virtanen, James Cameron, sureshvv, William Volkman,
and Mike Rovner for patches and bug reports.
The Sydney Python group is having its last meeting for the year next
Thursday, November 17. Andy Todd will be regaling us with a preview of
his upcoming OSDC presentation, "Building GUI Applications with
PythonCard".
Usual time and place:
Thursday, November 17, 2005 (6:30 PM - 8:30 PM)
James Squire Brewhouse
2 The Promenade King St Wharf
Sydney, New South Wales
If you could send me a note (or click the appropriate radio button on
http://upcoming.org/event/39890) in advance, that would be much
appreciated. (Just turning up is fine too.)
Cheers,
Alan.