Zwiki is.. a powerful, innovative, user-friendly wiki engine based on the Zope 2 platform. This project has been developed since 1999 by Simon Michael and contributors around the world, powers many Zope and non-Zope-related wikis, and is free software released under the GNU GPL . Please explore the site, and enjoy the software. Your questions, comments, patches and donations are most welcome!
Slashdash is the perfect dashboard widget for the Slashdot obsessed Apple toting geek. Slashdash provides a quick 5 newest articles glance on your OS 10.4 dashboard. Simply click the Slashdash icon in your widget tray, and you will have a small Slashdot themed widget window that will update every 30 minutes automatically. Click the article title and the article will open in your Safari Browser.
Googsystray is a system tray app for Google Voice, GMail, Google Calendar, Google Reader, and Google Wave. The idea is to be able to keep track of all that stuff without having to keep a bunch of browser tabs open, or constantly checking them. It notifies on new messages, alerts, etc., and provides basic services quickly (Reading or sending a new SMS message, or marking an email read, for example.)
This is code implements the example given in pages 11-15 of An Introduction to the Kalman Filter by Greg Welch and Gary Bishop, University of North Carolina at Chapel Hill, Department of Computer Science.
GDAL - Geospatial Data Abstraction Library Select language: [English][Russian][Portuguese][French/Francais] GDAL is a translator library for raster geospatial data formats that is released under an X/MIT style Open Source license by the Open Source Geospatial Foundation. As a library, it presents a single abstract data model to the calling application for all supported formats. It also comes with a variety of useful commandline utilities for data translation and processing. The NEWS page describes the November 2009 GDAL/OGR 1.6.3 release.
Delny is a Python package which can be used to make a Delaunay triangulation from a set of n-dimensional points. It is effectively a Python interface to libqhull, the C library of the Qhull program, but (currently) restricted to Delaunay triangulation. It was first developed to use in a mesh generator developed as dissertation at the University of Southampton with Hans Fangohr as supervisor. This very specific application area was the reason for the limited functionality of the libqhull wrapper, which in turn is likely the reason that there is useable code available.
A python GUI framework on top of Sqlalchemy and PyQt, inspired by the Django admin interface. Start building desktop applications at warp speed, simply by adding some additional information to you model definition. Have a look at the Screenshots or move straight to the introduction tutorial Documentation.
def fitToWindow(self): """ Fits the image to the scroll area's size. """ sizeImage = self.lblImage.pixmap().size() height, width = sizeImage.height(), sizeImage.width() # If its smaller than self size, let it be normal size if height<self.size().height() and width<self.size().width(): self.normalSize() else: sizeImage.scale(self.size()*0.98, Qt.KeepAspectRatio) # Adjust the scale self.scale = float(sizeImage.height()) / height # Resize image to 95% self's size self.lblImage.resize(sizeImage) # Toggle windowFit (For resize events) self.windowFit = True
Elefant (Efficient Learning, Large-scale Inference, and Optimisation Toolkit) is an open source library for machine learning licensed under the Mozilla Public License (MPL). We develop an open source machine learning toolkit which provides
PyjamasDesktop is actually a port of PyJamas which is a web toolkit, so you also have the option of running PyjamasDesktop applications as web applications - unmodified.
Eric is a full featured Python and Ruby editor and IDE, written in python. It is based on the cross platform Qt gui toolkit, integrating the highly flexible Scintilla editor control.
Deques are a generalization of stacks and queues (the name is pronounced “deck” and is short for “double-ended queue”). Deques support thread-safe, memory efficient appends and pops from either side of the deque with approximately the same O(1) performance in either direction.
Pyoptic is an optics and physics simulation based on python and uses scipy as a calculation engine, matplotlib and tvtk for visualisation. It is mainly intended for simple simulations of optical engineering, imaging systems, laser systems, laser transportation and applications, lens design etc.
The Large Synoptic Survey Telescope (LSST) is a project to build an 8.4m telescope at Cerro Pachon, Chile and survey the entire sky every three days starting around 2014. The scientific goals of the project range from characterizing the population of largish asteroids which are in orbits that could hit the Earth to understanding the nature of the dark energy that is causing the Universe's expansion to accelerate. The application codes, which handle the images coming from the telescope and generate catalogs of astronomical sources, are being implemented in C++, exported to python using swig. The pipeline processing framework allows these python modules to be connected together to process data in a parallel environment.
Cython is a language that makes writing C extensions for the Python language as easy as Python itself. Cython is based on the well-known Pyrex, but supports more cutting edge functionality and optimizations.
OSE is a generic application framework suitable for constructing general purpose applications, distributed systems and web based services. The four main parts of OSE are an extensive C++ class library, a set of Python wrappers, a build environment based on GNU Make, and a set of documentation extraction tools.
Eg to make a struct from a string >>> a = cast(packet, POINTER(A)).contents >>> a.x 258 >>> Or (this is identical to your method) >>> a = A() >>> a.x 0 >>> memmove(addressof(a), packet, sizeof(a)) 3083811008L >>> a.x 258 I think the second of those methods is promoted by the ctypes documentation. I'm not sure about the lifetimes of the .contents in the first method! And the reverse >>> string_at(addressof(a), sizeof(a)) '\x02\x01\x00\x00' >>>
The Internet Communications Engine (Ice) is a modern object-oriented middleware with support for C++, .NET, Java, Python, Objective-C, Ruby, and PHP. Ice is used in many mission-critical projects by companies all over the world. Ice is easy to learn, yet provides a powerful network infrastructure and vast array of features for demanding technical applications. Ice is free software, available with full source, and released under the terms of GNU General Public License (GPL). Commercial licenses are available for customers who wish to use Ice for closed-source software.
PyNIO is a Python package that allows read and/or write access to a variety of data formats using an interface modeled on netCDF. PyNIO is composed of a C library called libnio along with a Python module based on and with an interface similar to the Scientific.IO.NetCDF module written by Konrad Hinsen. The C library contains the same data I/O code used in NCL, a scripting language developed for analysis and visualization of geo-scientific data. Currently supported formats include: * netCDF (read/write) * GRIB 1 and GRIB 2 (read-only) * HDF 4 (read/write for Scientific DataSets only) * HDFEOS 2 (read-only for Grid and Swath data only) * CCM history files (read-only)
mat files contain data saved in Matlab's proprietary format. How to read these files in Python depends on the version of Matlab used to save them, up to 7.1 or greater. Here are exemples of how to read two variables lat and lon from a mat file called "test.mat".
MetaArray is a class that extends ndarray, adding support for per-axis meta data storage. This class is useful for storing data arrays along with units, axis names, column names, axis values, etc. MetaArray objects can be indexed and sliced arbitrarily using named axes and columns. Download here: MetaArray.py
Pinax is an open-source platform built on the Django Web Framework. By integrating numerous reusable Django apps to take care of the things that many sites have in common, it lets you focus on what makes your site different.
PyFacebook is currently best-tested with Django, and if you are just starting out with Python web development, the author highly recommends this combination :-). If you'd rather use another framework, there are also Pylons and other WSGI helpers in PyFacebook as well.
The threading module provides an easy way to work with threads. Its Thread class may be subclassed to create a thread or threads. The run method should contain the code you wish to be executed when the thread is executed.
acob Kaplan-Moss ABSTRACT Django is one of the premier web frameworks for Python, and is often compared to Ruby-on-Rails. Jacob is one of the lead developers on Django
Ack. Ppython requires worker threads on each cluster node. I want an ssh private key (no p/w) solution. 1) Start parallel python execution server on all your remote computational nodes:
Distributed Sage allows you to do distributed computing in Sage. To get up and running quickly, run dsage.setup() to run the configuration utility. Note that configuration files will be stored in the directory $DOT Sage/dsage. QUICK-START
MATLAB® and NumPy/SciPy have a lot in common. But there are many differences. NumPy and SciPy were created to do numerical and scientific computing in the most natural way with Python, not to be MATLAB® clones. This page is intended to be a place to collect wisdom about the differences, mostly for the purpose of helping proficient MATLAB® users become proficient NumPy and SciPy users. NumPyProConPage is another page for curious people who are thinking of adopting Python with NumPy and SciPy instead of MATLAB® and want to see a list of pros and cons.
Dynamically serving images Finally we have to create a Image handler that will dynamically serve these images off the /img path. We'll also update the HTML to pull in these dynamically served images.
This documentation describes the profiler functionality provided in the modules cProfile, profile and pstats. This profiler provides deterministic profiling of Python programs. It also provides a series of report generation tools to allow users to rapidly examine the results of a profile operation.
Here, I am collecting python snippets that I find enlightening and/or just useful. On a subpage, you find a JPype-using hack to access Weka's Java classes from Python.
map(function, iterable, ...)¶ Apply function to every item of iterable and return a list of the results. If additional iterable arguments are passed, function must take that many arguments and is applied to the items from all iterables in parallel. If one iterable is shorter than another it is assumed to be extended with None items. If function is None, the identity function is assumed; if there are multiple arguments, map() returns a list consisting of tuples containing the corresponding items from all iterables (a kind of transpose operation). The iterable arguments may be a sequence or any iterable object; the result is always a list.
The Unit Of Work system, a central part of SQLAlchemy's Object Relational Mapper (ORM), organizes pending create/insert/update/delete operations into queues and flushes them all in one batch. To accomplish this it performs a topological "dependency sort" of all modified items in the queue so as to honor foreign key constraints, and groups redundant statements together where they can sometimes be batched even further. This produces the maxiumum efficiency and transaction safety, and minimizes chances of deadlocks. Modeled after Fowler's "Unit of Work" pattern as well as Hibernate, Java's leading object-relational mapper.