as more than just a proof-of-concept but to get pyjamas out of looking
like "a nice toy, doesn't do much, great demos, shame about real
life", i've created yet another git repository browser. this one,
thanks to pyjamas, obviously runs as both a desktop application and
also as a web application - same source code.
pyjamasgitweb is actually two independent happily small projects. the
first is simply a JSONRPC-based git web server (in python, using
python-git) and the second is a matching front-end.
the front-end is happily bare but functional. a demo is here (please
be nice to it) where you will see immediately a total lack of colour
or even borders:
http://pyjs.org/pygit
if anyone wants the source code, or to help contribute, it's at:
git clone gitolite@pyjs.org:pyjamasgitweb
to start the server, read the README, install the dependencies, then do:
$ cd jsonservice
$ python srv.py {path to top level of repository} &
$ cd ../pyjamas
$ ./build.sh # requires symlink ~/bin/pyjsbuild to sandbox
$ firefox http://127.0.0.1:8000/outputJSONRPCService.html &
$ python JSONRPCService.py # for the desktop version
l.
I've just released for the first time six, a set of helpers for
maintaining a code base on Python 2 and 3 simultaneously. It includes
fake byte and unicode literals and wrappers for syntax changes between
the languages. The license is MIT.
You can download it on PyPi: http://pypi.python.org/pypi/six
or read the documentation: http://packages.python.org/six/
Bugs can be reported to the Launchpad page: http://bugs.launchpad.net/python-six
--
Regards,
Benjamin
Hi,
I am pleased to announce version 2.21.4 of the Python bindings for GObject.
The new release is available from ftp.gnome.org as and its mirrors as
soon as its synced correctly:
http://download.gnome.org/sources/pygobject/2.21/
What's new since PyGObject 2.21.3?
- Build the cairo shim as a python module so the _gi module
stops linking to it (Tomeu Vizoso)
- add drawing area demo (John (J5) Palmieri)
- sort the demo list (John (J5) Palmieri)
- rename iter to treeiter so we aren't using a python reserved
word (John (J5) Palmieri)
- Fixup for change in buffer API (John (J5) Palmieri)
- add ListStore, TreeStore and TreeViewColumn APIs (John (J5) Palmieri)
- Add unit test for add_actions user data. (Ignacio Casal Quinteiro)
- Pass user_data param when adding actions (Paolo Borelli)
- add an exception type to the try/except block (John (J5) Palmieri)
- return PyList instead of PyTuple for array, return empty
list for NULL arrays (John (J5) Palmieri)
- Fix 'make distcheck' (Tomeu Vizoso)
- Allow building pygobject without introspection support by
providing --disable-introspection to configure. (Tomeu Vizoso)
- Make sure that sys.argv is a list and not a sequence. (Tomeu Vizoso)
- Force loading the GObject typelib so we have available the
wrappers for base classes such as GInitiallyUnowned. (Tomeu Vizoso)
- we shouldn't g_array_free NULL pointers (John (J5) Palmieri)
- remove unneeded TextIter creation in the tests (John (J5) Palmieri)
- add override for TextBuffer (John (J5) Palmieri)
- fix up some build issues (John (J5) Palmieri)
- make the overrides file git friendly by appending to __all__
after each override (John (J5) Palmieri)
- Override Dialog constructor and add_buttons method (Paolo Borelli)
- Merge PyGI (Johan Dahlin)
Note to packagers:
The configure option --enable-pygi has been removed and we build now
introspection support by default. It's not recommend for distros, but
if needed, you can build PyGObject without requiring
gobject-introspection by passing --disable-introspection. When built
with introspection support (the default) we require pycairo as a build
dependency. We now install one more python module _gi_cairo.so that
links to libcairo and depends on pycairo and that should be packaged
separately.
Blurb:
GObject is an object system library used by GTK+ and GStreamer.
PyGObject provides a convenient wrapper for the GObject library for use
in Python programs, and takes care of many of the boring details such as
managing memory and type casting. When combined with PyGTK, and
gnome-python, it can be used to write full featured Gnome applications.
Like the GObject library itself PyGObject is licensed under the
GNU LGPL, so is suitable for use in both free software and proprietary
applications. It is already in use in many applications ranging
from small single purpose scripts up to large full
featured applications.
PyGObject requires glib >= 2.22.4 and Python >= 2.3.5 to build.
GIO bindings require glib >= 2.22.4.
Please remember that this is an unstable release and shouldn't be used
in production.
Regards,
The PyGObject team
pox: utilities for filesystem exploration and automated builds
http://www.its.caltech.edu/~mmckerns/software.html
# Version
0.1a1: 06/28/10
# Highlights
First alpha version for initial release.
Pox provides utilities for discovering the user's environment::
- return the user's name, current shell, and path to user's home
directory
- strip duplicate entries from the user's $PATH
- lookup and expand environment variables from ${VAR} to 'value'
Pox also provides utilities for filesystem exploration and manipulation::
- discover the path to a file, exectuable, directory, or symbolic link
- discover the path to an installed package
- parse operating system commands for remote shell invocation
- convert text files to platform-specific formatting
Documentation:
- User's Guide with tutorials
- online Reference Manual
---
Mike McKerns
California Institute of Technology
http://www.its.caltech.edu/~mmckerns
dill: a utility for serialization of python objects
http://www.its.caltech.edu/~mmckerns/software.html
# Version
0.1a1: 06/28/10
# Highlights
First alpha version for initial release.
Dill is capable of pickling the following standard types::
- none, type, bool, int, long, float, complex, str, unicode,
- tuple, list, dict, file, buffer, builtin,
- both old and new style classes,
- instances of old and new style classes,
- set, frozenset, array, lambda,
- standard functions, functions with yields, nested functions
- cell, method, unboundmethod, module, code,
- dictproxy, methoddescriptor, getsetdescriptor, memberdescriptor,
- wrapperdescriptor, xrange, slice,
- notimplemented, ellipsis, quit
Dill also provides the capability to::
- save and load python interpreter sessions
Documentation:
- User's Guide with tutorials
- online Reference Manual
---
Mike McKerns
California Institute of Technology
http://www.its.caltech.edu/~mmckerns
pyina: a MPI-based parallel mapper and launcher
http://www.its.caltech.edu/~mmckerns/software.html
# Version
0.1a1: 06/28/10
# Highlights
First alpha version for initial release.
Pyina provides a highly configurable parallel map-reduce interface
to running MPI jobs, with::
- a map-reduce interface that extends the python 'map' standard
- the ability to submit batch jobs to a selection of schedulers
- the ability to customize node and process launch configurations
- the ability to launch parallel MPI jobs with standard python
- ease in selecting different strategies for processing a work list
Documentation:
- User's Guide with tutorials
- online Reference Manual
---
Mike McKerns
California Institute of Technology
http://www.its.caltech.edu/~mmckerns
pathos: a framework for heterogeneous computing
http://www.its.caltech.edu/~mmckerns/software.html
# Version
0.1a1: 06/28/10
# Highlights
First alpha version for initial release.
Pathos provides a configurable distributed parallel-map reduce interface
to launching RPC service calls, with::
- a map-reduce interface that extends the python 'map' standard
- the ability to submit service requests to a selection of servers
- the ability to tunnel server communications with ssh
- automated load-balancing between multiprocessing and RPC servers
The pathos core is built on low-level communication to remote hosts using
ssh. The interface to ssh, scp, and ssh-tunneled connections can::
- configure and launch remote processes with ssh
- configure and copy file objects with scp
- establish an tear-down a ssh-tunnel
To get up and running quickly, pathos also provides infrastructure to::
- easily establish a ssh-tunneled connection to a RPC server
Documentation:
- User's Guide with tutorials
- online Reference Manual
---
Mike McKerns
California Institute of Technology
http://www.its.caltech.edu/~mmckerns
Hi All,
Pydev 1.5.8 has been released
Details on Pydev: http://pydev.org
Details on its development: http://pydev.blogspot.com
Release Highlights:
-------------------------------
* Features only available on Aptana Studio 3 (Beta):
* Theming support provided by Aptana Studio used
* Find bar provided by Aptana used (instead of the default
find/replace dialog)
* Aptana App Explorer provides Pydev nodes
* Eclipse:
* Eclipse 3.6 is now supported
* Pydev Jars are now signed
* Django:
* DoesNotExist and MultipleObjectsReturned recognized in Django
* Added option to make the name of Django models,views,tests
editors work as regular editors while still changing the icon
* Run/Debug:
* Ctrl+Shift+B properly working to toggle breakpoint
* If file is not found in debugger, only warn once (and properly
cache the return)
* Run configuration menus: Only showing the ones that have an
available interpreter configured
* Outline/Pydev Package Explorer:
* Fixed sorting issue in pydev package explorer when comparing
elements from the python model with elements from the eclipse resource
model
* Fixed issue when the 'go into' was used in the pydev package
explorer (refresh was not automatic)
* Added decoration to class attributes
* Added node identifying if __name__ == '__main__'
* General:
* Properly working with editor names when the path would be the
same for different editors
* Fixed issue where aptanavfs appeared in the title for aptana remote files
* Fixed halting condition
* Not always applying completion of dot in interactive console on
context-insensitive completions
* Home key properly handled in compare editor
* Interactive console working with pickle
* String substitution configuration in interpreter properly works
* On import completions, full module names are not shown anymore,
only the next submodule alternative
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
Pyro 4.1
---------
I'm pleased to announce the release of Pyro 4.1!
Detailed info here: http://www.razorvine.net/python/Pyro
(a page about migration from Pyro 3.x is included)
Download Pyro 4.1 here: http://www.xs4all.nl/~irmen/pyro4/download/
License: MIT software license.
What is Pyro?
-------------
PYthon Remote Objects provides a very easy way of remote communication
between python objects somewhere in a network. It enables you to do
remote method calls on objects as if they were normal local objects.
Objects can be located by a direct identifier or indirectly by logical,
humanly-readable names that are managed in a name server.
Pyro is designed to be simple (but powerful) so it's only a manner of
adding a few lines of code to ignite your objects.
Simple example: http://www.razorvine.net/python/Pyro/Example
Changes
-------
The most important changes compared to Pyro 4.0 are:
- socketserver now also implements handleRequests for external event loops
- external event loop has been changed slightly, see the updated eventloop
example for usage example
- threadpool server now has a pool of worker threads that grows/shrinks
as needed, between configurable limits
- added @Pyro.callback decorator to be able to raise callback exceptions
locally as well as on the caller side.
Enjoy,
Irmen de Jong
See http://moinmo.in/MoinMoinDownload for the release archive and the
change log.
BTW, we still need much more people helping with cleaning up on
master19.moinmo.in.
So, especially if you speak some non-english language, you can help!
See http://moinmo.in/MoinDev/Translation for details.