3000 lines per Python package.<p>"Ad hoc is a Latin phrase which means 'for this purpose'. It generally signifies a solution designed for a specific problem or task, non-generalizable, and which cannot be adapted to other purposes." -- <a href="http://en.wikipedia.org/wiki/Ad_hoc" rel="nofollow">http://en.wikipedia.org/wiki/Ad_hoc</a><p>No mention to the size of the solution, big or small. The point here is the specificity.