Readable regular expressions in Python

Awhile back, I needed to parse some strings that were created using Python's string formatter. There's actually a package called parse that's intended to do just that: Reuse the string formatting syntax to extract data from a string. Unfortunately, there were a couple of reasons that prevented ...

more ...

pypath-magic v0.3

pypath command-line interface in pypath-magic v0.3

pypath-magic provides a simple interface for adding modules and packages to your Python path.

Unlike modifications to sys.path, this allows you to easily modify your Python path across sessions. Unlike modifications to environment variables, this doesn't require you to explain to ...

more ...


pypath-magic

%pypath: An IPython magic for manipulating your Python path

Edit: Now with support for Python 3!

You're a pragmatic Python developer, so you extract the logically related bits of your code into functions and group those functions together into modules.

Now, how do you actually import those modules? If ...

more ...

Source control for scientists and soloists

Normally when people talk about source control, they focus on collaboration: If you're collaborating on code and you're not using source control, you're doing it wrong! If you're collaborating with others, source control looks roughly like this:

If you're just working on your own code ...

more ...