Generate a Python package project using the Python Cookiecutter package
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

4 年之前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. GNU LESSER GENERAL PUBLIC LICENSE
  2. Version 3, 29 June 2007
  3. Copyright (C) 2007 Free Software Foundation, Inc. <http s ://fsf.org/>
  4. Everyone is permitted to copy and distribute verbatim copies of this license
  5. document, but changing it is not allowed.
  6. This version of the GNU Lesser General Public License incorporates the terms
  7. and conditions of version 3 of the GNU General Public License, supplemented
  8. by the additional permissions listed below.
  9. 0. Additional Definitions.
  10. As used herein, "this License" refers to version 3 of the GNU Lesser General
  11. Public License, and the "GNU GPL" refers to version 3 of the GNU General Public
  12. License.
  13. "The Library" refers to a covered work governed by this License, other than
  14. an Application or a Combined Work as defined below.
  15. An "Application" is any work that makes use of an interface provided by the
  16. Library, but which is not otherwise based on the Library. Defining a subclass
  17. of a class defined by the Library is deemed a mode of using an interface provided
  18. by the Library.
  19. A "Combined Work" is a work produced by combining or linking an Application
  20. with the Library. The particular version of the Library with which the Combined
  21. Work was made is also called the "Linked Version".
  22. The "Minimal Corresponding Source" for a Combined Work means the Corresponding
  23. Source for the Combined Work, excluding any source code for portions of the
  24. Combined Work that, considered in isolation, are based on the Application,
  25. and not on the Linked Version.
  26. The "Corresponding Application Code" for a Combined Work means the object
  27. code and/or source code for the Application, including any data and utility
  28. programs needed for reproducing the Combined Work from the Application, but
  29. excluding the System Libraries of the Combined Work.
  30. 1. Exception to Section 3 of the GNU GPL.
  31. You may convey a covered work under sections 3 and 4 of this License without
  32. being bound by section 3 of the GNU GPL.
  33. 2. Conveying Modified Versions.
  34. If you modify a copy of the Library, and, in your modifications, a facility
  35. refers to a function or data to be supplied by an Application that uses the
  36. facility (other than as an argument passed when the facility is invoked),
  37. then you may convey a copy of the modified version:
  38. a) under this License, provided that you make a good faith effort to ensure
  39. that, in the event an Application does not supply the function or data, the
  40. facility still operates, and performs whatever part of its purpose remains
  41. meaningful, or
  42. b) under the GNU GPL, with none of the additional permissions of this License
  43. applicable to that copy.
  44. 3. Object Code Incorporating Material from Library Header Files.
  45. The object code form of an Application may incorporate material from a header
  46. file that is part of the Library. You may convey such object code under terms
  47. of your choice, provided that, if the incorporated material is not limited
  48. to numerical parameters, data structure layouts and accessors, or small macros,
  49. inline functions and templates (ten or fewer lines in length), you do both
  50. of the following:
  51. a) Give prominent notice with each copy of the object code that the Library
  52. is used in it and that the Library and its use are covered by this License.
  53. b) Accompany the object code with a copy of the GNU GPL and this license document.
  54. 4. Combined Works.
  55. You may convey a Combined Work under terms of your choice that, taken together,
  56. effectively do not restrict modification of the portions of the Library contained
  57. in the Combined Work and reverse engineering for debugging such modifications,
  58. if you also do each of the following:
  59. a) Give prominent notice with each copy of the Combined Work that the Library
  60. is used in it and that the Library and its use are covered by this License.
  61. b) Accompany the Combined Work with a copy of the GNU GPL and this license
  62. document.
  63. c) For a Combined Work that displays copyright notices during execution, include
  64. the copyright notice for the Library among these notices, as well as a reference
  65. directing the user to the copies of the GNU GPL and this license document.
  66. d) Do one of the following:
  67. 0) Convey the Minimal Corresponding Source under the terms of this License,
  68. and the Corresponding Application Code in a form suitable for, and under terms
  69. that permit, the user to recombine or relink the Application with a modified
  70. version of the Linked Version to produce a modified Combined Work, in the
  71. manner specified by section 6 of the GNU GPL for conveying Corresponding Source.
  72. 1) Use a suitable shared library mechanism for linking with the Library. A
  73. suitable mechanism is one that (a) uses at run time a copy of the Library
  74. already present on the user's computer system, and (b) will operate properly
  75. with a modified version of the Library that is interface-compatible with the
  76. Linked Version.
  77. e) Provide Installation Information, but only if you would otherwise be required
  78. to provide such information under section 6 of the GNU GPL, and only to the
  79. extent that such information is necessary to install and execute a modified
  80. version of the Combined Work produced by recombining or relinking the Application
  81. with a modified version of the Linked Version. (If you use option 4d0, the
  82. Installation Information must accompany the Minimal Corresponding Source and
  83. Corresponding Application Code. If you use option 4d1, you must provide the
  84. Installation Information in the manner specified by section 6 of the GNU GPL
  85. for conveying Corresponding Source.)
  86. 5. Combined Libraries.
  87. You may place library facilities that are a work based on the Library side
  88. by side in a single library together with other library facilities that are
  89. not Applications and are not covered by this License, and convey such a combined
  90. library under terms of your choice, if you do both of the following:
  91. a) Accompany the combined library with a copy of the same work based on the
  92. Library, uncombined with any other library facilities, conveyed under the
  93. terms of this License.
  94. b) Give prominent notice with the combined library that part of it is a work
  95. based on the Library, and explaining where to find the accompanying uncombined
  96. form of the same work.
  97. 6. Revised Versions of the GNU Lesser General Public License.
  98. The Free Software Foundation may publish revised and/or new versions of the
  99. GNU Lesser General Public License from time to time. Such new versions will
  100. be similar in spirit to the present version, but may differ in detail to address
  101. new problems or concerns.
  102. Each version is given a distinguishing version number. If the Library as you
  103. received it specifies that a certain numbered version of the GNU Lesser General
  104. Public License "or any later version" applies to it, you have the option of
  105. following the terms and conditions either of that published version or of
  106. any later version published by the Free Software Foundation. If the Library
  107. as you received it does not specify a version number of the GNU Lesser General
  108. Public License, you may choose any version of the GNU Lesser General Public
  109. License ever published by the Free Software Foundation.
  110. If the Library as you received it specifies that a proxy can decide whether
  111. future versions of the GNU Lesser General Public License shall apply, that
  112. proxy's public statement of acceptance of any version is permanent authorization
  113. for you to choose that version for the Library.