Jump to content

  • Log In with Google      Sign In   
  • Create Account

#Actualthok

Posted 26 April 2013 - 09:22 AM

For the python standard libs, you shouldn't need any special citation. For other libs, check the project web page or source code for info about the license. When in doubt, ask the authors via email or IRC. Even if you do make a slight faux pas and forget to cite a lib properly, this shouldn't be a big problem unless you are trying to sell a product. But I'm not a lawyer, so do not take this as legal advice. Again, when in doubt, ask the author.

Regarding frameworks and libs, I see that you're trying to understand terminology. Knowing jargon and using it properly is good. :)

A library is simply a collection of functionality which encapsulates the details of a particular set of related tasks. An XML library is a good example (like the standard python 'xml' lib).

A framework may contain library-like code (and indeed, can be imported and used only as a library), but the distinguishing feature is that it suggests/forces you to construct your application a certain way. While a library will help you solve a particular problem in your application by abstracting away complexity, a framework will help you design, structure, and organize your code, in addition to abstracting away complexity.

Those are the best definitions I can come up with, in my own words. Someone else might have a better definition.

#1thok

Posted 26 April 2013 - 09:21 AM

For the python standard libs, you shouldn't need any special citation. For other libs, check the project web page or source code for info about the license. When in doubt, ask the authors via email or IRC. Even if you do make a slight faux pas and forget to cite a lib properly, this shouldn't be a big problem unless you are trying to sell a product. But I'm not a lawyer, so do not take this as legal advice. Again, when in doubt, ask the author.

Regarding frameworks and libs, I see that you're trying to understand terminology. Knowing jargon and using it properly is good. :)

A library is simply a collection of functionality which encapsulates the details of a particular set of related tasks. An XML library is a good example example (like the standard python 'xml' lib).

A framework may contain library-like code (and indeed, can be imported and used only as a library), but the distinguishing feature is that it suggests/forces you to construct your application a certain way. While a library will help you solve a particular problem in your application by abstracting away complexity, a framework will help you design, structure, and organize your code, in addition to abstracting away complexity.

Those are the best definitions I can come up with, in my own words. Someone else might have a better definition.

PARTNERS