Best practices for single file modules Inspired by: Best Practices for Internal Package Structure

Eric S. Johansson esj at harvee.org
Tue Apr 5 15:49:24 EDT 2016


I was inspired by the thread on packaging practices discussion with 
bidict to ask a related question which is what are the best practices 
with packaging/releasing a single file Python module ?

Back story: I'm always creating little bits of useful code that I want 
to reuse (for example, recursive expansion template module). It seems 
like the overhead of setting up a module is a bit high for a single file 
module but maybe this modern nation I'm not aware of or template based 
techniques that would lower the setup overhead.



More information about the Python-list mailing list