Pulsar utilities.
pulsar.util.
copy_to_path
Copy file-like object to path.
copy_to_temp
Copy file-like object to temp file and return path.
enum
http://stackoverflow.com/questions/36932/how-can-i-represent-an-enum-in-python