Subscribe to RSS Feed

Posts Tagged ‘Python’

Using python-coverage for tests in Entertainer

Apr 9th, 2008 by Joshua Scotton

I recently read a blog post about python-coverage. This is a module which works out how much of a python file has been used when a python file is run.

One very helpful use it can be put to is that of working out how much of a project’s source code has been covered by unit tests and I decided to try this for the Entertainer Media Center project.

What follows is how I installed and used python-coverage to work out how much of the Entertainer Source code is actually tested when all our unittests are run. I relied upon this webpage and the command line help available from python-coverage.

Post to Twitter Post to Delicious Post to Digg Post to Facebook

Continue Reading »
11 Comments

Started GoogleCode site for ChallengeHelper

Mar 1st, 2008 by Joshua Scotton

I’ve started a googlecode page for the python code I’ll be using to help manage the Blender Week Day Challenges. You can find the project page here

At the moment I’ve add Challenge, Entry and Item classes and it can now load and save challenge data in xml format.

The next step will be added a ChallengeManager class to manager the insertion of data and automatic posting to www.blenderchallenge.com and blenderartists.org

Post to Twitter Post to Delicious Post to Digg Post to Facebook

Continue Reading »
2 Comments

Doxygen comments in Python

Feb 27th, 2008 by Joshua Scotton

I’ve been creating automatic documentation for the Entertainer project using Doxygen.
As you may know, Entertainer is written in python, so what follows is a short guide to commenting python code in a format that Doxygen will pick up.

Post to Twitter Post to Delicious Post to Digg Post to Facebook

Continue Reading »
11 Comments

Creating Documentation from Python Source Files with Doxygen and doxypy

Feb 4th, 2008 by Joshua Scotton
Creating Documentation from Python Source Files with Doxygen and doxypy

I was recently generating some documentation from the Entertainer source code and decided to share how I managed to do it.

I’m assuming python 2.4 is installed on your system.

First install doxygen and graphviz

Post to Twitter Post to Delicious Post to Digg Post to Facebook

Continue Reading »
15 Comments

Entertainer

Jan 12th, 2008 by Joshua Scotton
Entertainer

 

I’ve just joined the Entertainer Project  over on Launchpad.

From the website:

“Entertainer aims to be a simple and easy-to-use media center solution for Gnome and XFce desktop environments. Entertainer is written completely in Python using object-oriented programming paradigm. It uses GStreamer multimedia framework for multimedia playback. User Interface is implemented with Clutter UI-library, which allows sleek OpenGL animated user interfaces. Entertainer also uses other great projects like SQLite, pyIMDBb and iNotify.

The ultimate goal of the project is to create the best media center solution available for any platform. This means that Entertainer should be the best looking, most easy to use and most feature filled media center solution available. Not the easiest goal to achieve. It’s a long way, but we have a good start here!”

My first job is to add opml import capability to the rss feed reader and allow the option to sync with liferea. I’ll be checking out any bugs relating to this as well.

Post to Twitter Post to Delicious Post to Digg Post to Facebook

Continue Reading »
5 Comments

Blender Import Reference Images Script

Jan 1st, 2008 by Joshua Scotton

I’ve just finished coding a python script for Blender 2.44 which imports all the jpg files in a folder into planes in a scene.

This can be used to import a number of reference images into a scene as an aid to modelling.

V1.0

* imports any pictures with the extension .jpg
* resizes planes to 2 blender units per 1000 pixels

V1.1

* implements changes proposed by migius on blenderartists to work on windows xp
* can choose any extension
* can choose the scale

V1.2

* cosmetic changes ;)

Version 1.2: importrefimages12.py

Post to Twitter Post to Delicious Post to Digg Post to Facebook

Continue Reading »
9 Comments

Calendar

February 2012
M T W T F S S
« Dec    
 12345
6789101112
13141516171819
20212223242526
272829