Category Archives: Python

Entries about Python, particulary my pedigree analysis software, PyPedal.

pandas support may be coming in PyPedal 2.1

I’ve been experimenting with pandas, a data analysis toolkit that provide an R-like data frame object. I am close to having working code that converts pedigree data into a DataFrame instance, which should make a lot of computations much easier. … Continue reading

Posted in Python | Tagged , , , , , , | Leave a comment

New Tools Coming to PyPedal

While I sit here on the train I thought I’d let you know what’s going on with PyPedal these days. First, I do not have plans for a Python 3 port at the moment. One of the big blockers on … Continue reading

Posted in Python | Tagged | Leave a comment

What’s the trick to getting UniCurses working on Windows? Promiscuity.

You can’t really make a roguelike without curses, and while Windows makes many of us curse there’s not an official Windows port. There is, however, PDCurses. To keep us Python programmers sane there is UniCurses, “a wrapper for Python 2.x/3.x … Continue reading

Posted in Python | 1 Comment

PyPedal Release Candidate 7 Highlights Need for Unit Testing

Many thanks to Matthieu Authier for reporting several bugs, which in turn led to more bugs. The hunt started with broken code in examples/new_amatrix.py, which led to bugs in several subroutines in pyp_nrm, which exposed some small side issues. Notably, … Continue reading

Posted in Python, Science | Tagged , | Leave a comment

This is a Quick Test of the Google Syntax Highlighter for WordPress Plugin

I read about the Google Syntax Highlighter for WordPress in a blog entry by Jacob Gube describing several purportedly-useful WordPress extensions. The plugin sounds like just the thing to pretty-up some entries I’m working on about PyPedal. Here’s a simple … Continue reading

Posted in Python | Tagged , , , | Leave a comment

PyPedal Release Candidate 3 Features an Inbreeding Bugfix and Refactored Database Handling

The third release candidate of PyPedal 2.0 has been released. It includes a minor bugfix to pyp_nrm/inbreeding_vanraden() and a completely-refactored database backend. After a few days of writing, and a false start with SQLAlchemy, I’ve completely rewritten the database backend … Continue reading

Posted in Python, Science | Tagged , , , | Leave a comment

PyPedal Release Candidates Feature Fewer Bugs!

One supposes that the titles of this entry is not particularly informative because that is, in fact, the point of release candidates: to iron out as many lingering bugs as possible. What do you from a guy with hair like … Continue reading

Posted in Python, Science | Tagged | Leave a comment

What I’ve learned from my Open Source project

Here are a few things that I’ve learned while working on my pedigree analysis software, PyPedal. If you’re a programmer, or spend much time reading about programming and the Open Source movement, you’ll find most of this to be quite … Continue reading

Posted in Articles, Python | Tagged , , , | 1 Comment

[PyPedal] Beta 11 fixes some reordering and ID hashing problems

This release of PyPedal fixes some small problems in pyp_utils/reorder(), cleans up some ID-handling issues in pyp_newclasses/NewAnimal::__init__(), and replaces the hashing algorithm used in pyp_newclasses/NewAnimal::string_to_int(). The previous hashing algorithm was colliding on similar keys and the side effects were showing … Continue reading

Posted in Articles, Python | Tagged , | Leave a comment