The MIT License (MIT) with restrictions Copyright (c) 2022 William Woodruff Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. The following terms additionally apply and override any above terms for applicable parties: You may not use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software in a military or law enforcement context, defined as follows: 1. A military context is a professional context where the intended application of the Software is integration or use with or by military software, tools (software or hardware), or personnel. This includes contractors and subcontractors as well as research affiliates of any military organization. 2. A law enforcement context is a professional context where the intended application of the Software is integration or use with or by law enforcement software, tools (software or hardware), or personnel. This includes contractors and subcontractors as well as research affiliates of any law enforcement organization. Entities that sell or license to military or law enforcement organizations may use the Software under the original terms, but only in contexts that do not assist or supplement the sold or licensed product. Students and academics who are affiliated with research institutions may use the Software under the original terms, but only in contexts that do not assist or supplement collaboration or affiliation with any military or law enforcement organization.