LICENSE 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. psycopg2 and the LGPL
  2. ---------------------
  3. psycopg2 is free software: you can redistribute it and/or modify it
  4. under the terms of the GNU Lesser General Public License as published
  5. by the Free Software Foundation, either version 3 of the License, or
  6. (at your option) any later version.
  7. psycopg2 is distributed in the hope that it will be useful, but WITHOUT
  8. ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  9. FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
  10. License for more details.
  11. In addition, as a special exception, the copyright holders give
  12. permission to link this program with the OpenSSL library (or with
  13. modified versions of OpenSSL that use the same license as OpenSSL),
  14. and distribute linked combinations including the two.
  15. You must obey the GNU Lesser General Public License in all respects for
  16. all of the code used other than OpenSSL. If you modify file(s) with this
  17. exception, you may extend this exception to your version of the file(s),
  18. but you are not obligated to do so. If you do not wish to do so, delete
  19. this exception statement from your version. If you delete this exception
  20. statement from all source files in the program, then also delete it here.
  21. You should have received a copy of the GNU Lesser General Public License
  22. along with psycopg2 (see the doc/ directory.)
  23. If not, see <https://www.gnu.org/licenses/>.
  24. Alternative licenses
  25. --------------------
  26. The following BSD-like license applies (at your option) to the files following
  27. the pattern ``psycopg/adapter*.{h,c}`` and ``psycopg/microprotocol*.{h,c}``:
  28. Permission is granted to anyone to use this software for any purpose,
  29. including commercial applications, and to alter it and redistribute it
  30. freely, subject to the following restrictions:
  31. 1. The origin of this software must not be misrepresented; you must not
  32. claim that you wrote the original software. If you use this
  33. software in a product, an acknowledgment in the product documentation
  34. would be appreciated but is not required.
  35. 2. Altered source versions must be plainly marked as such, and must not
  36. be misrepresented as being the original software.
  37. 3. This notice may not be removed or altered from any source distribution.