LICENSE.rst 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. License
  2. -------
  3. Copyright (c) 2013-2018, Kim Davies. All rights reserved.
  4. Redistribution and use in source and binary forms, with or without
  5. modification, are permitted provided that the following conditions are met:
  6. #. Redistributions of source code must retain the above copyright
  7. notice, this list of conditions and the following disclaimer.
  8. #. Redistributions in binary form must reproduce the above
  9. copyright notice, this list of conditions and the following
  10. disclaimer in the documentation and/or other materials provided with
  11. the distribution.
  12. #. Neither the name of the copyright holder nor the names of the
  13. contributors may be used to endorse or promote products derived
  14. from this software without specific prior written permission.
  15. #. THIS SOFTWARE IS PROVIDED BY THE CONTRIBUTORS "AS IS" AND ANY
  16. EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  17. IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  18. PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR
  19. CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  20. SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  21. LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  22. DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  23. THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  24. (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
  25. USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
  26. DAMAGE.
  27. Portions of the codec implementation and unit tests are derived from the
  28. Python standard library, which carries the `Python Software Foundation
  29. License <https://docs.python.org/2/license.html>`_:
  30. Copyright (c) 2001-2014 Python Software Foundation; All Rights Reserved
  31. Portions of the unit tests are derived from the Unicode standard, which
  32. is subject to the Unicode, Inc. License Agreement:
  33. Copyright (c) 1991-2014 Unicode, Inc. All rights reserved.
  34. Distributed under the Terms of Use in
  35. <http://www.unicode.org/copyright.html>.
  36. Permission is hereby granted, free of charge, to any person obtaining
  37. a copy of the Unicode data files and any associated documentation
  38. (the "Data Files") or Unicode software and any associated documentation
  39. (the "Software") to deal in the Data Files or Software
  40. without restriction, including without limitation the rights to use,
  41. copy, modify, merge, publish, distribute, and/or sell copies of
  42. the Data Files or Software, and to permit persons to whom the Data Files
  43. or Software are furnished to do so, provided that
  44. (a) this copyright and permission notice appear with all copies
  45. of the Data Files or Software,
  46. (b) this copyright and permission notice appear in associated
  47. documentation, and
  48. (c) there is clear notice in each modified Data File or in the Software
  49. as well as in the documentation associated with the Data File(s) or
  50. Software that the data or software has been modified.
  51. THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF
  52. ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  53. WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  54. NONINFRINGEMENT OF THIRD PARTY RIGHTS.
  55. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS
  56. NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL
  57. DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
  58. DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
  59. TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  60. PERFORMANCE OF THE DATA FILES OR SOFTWARE.
  61. Except as contained in this notice, the name of a copyright holder
  62. shall not be used in advertising or otherwise to promote the sale,
  63. use or other dealings in these Data Files or Software without prior
  64. written authorization of the copyright holder.