Skip to content

Instantly share code, notes, and snippets.

@Ahmed
Ahmed / processify.py
Last active August 29, 2015 14:23 — forked from schlamar/processify.py
import os
import sys
import traceback
from functools import wraps
from multiprocessing import Process, Queue
def processify(func):
'''Decorator to run a function as a process.
Coding:
http://jobs.readwriteweb.com/ # supports RSS to get jobs
http://angel.co/jobs # supports APIs to get jobs
http://startuply.com/ # supports RSS to get jobs
http://jobs.37signals.com/ # supports RSS to get jobs
http://www.dice.com/ # supports RSS and JSON to search for jobs
http://jobs.github.com/ # supports RSS
http://www.craigslist.org # supports RSS and XML to post and read jobs
http://www.reddit.com/ # supports posting posts through bots, and reading RSS
http://news.ycombinator.com/jobs # supports RSS for reading jobs