Binho pycosmicsdk Software Licence
Copyright (c) 2026 Binho LLC. All rights reserved.

This licence governs the binary distribution published under the name
"pycosmicsdk" (the "Software"), including the compiled extension module inside
it. Read it together with the NOTICE file, which identifies the third-party
software distributed inside the Software and says where its source code can be
obtained, and with LICENSE.libusb, which is a complete copy of the GNU Lesser
General Public License, Version 2.1.


1. DEFINITIONS

   "Binho Code" means every part of the Software other than the Third-Party
   Components -- the pycosmicsdk Python package and the Binho CosmicSDK C/C++
   library and binding code compiled into the extension module.

   "Third-Party Components" means the third-party software identified in the
   NOTICE file and distributed with or inside the Software.

   "You" means the person or organisation exercising the rights granted below.


2. LICENCE GRANT

   Subject to sections 3 and 4, Binho LLC grants You a worldwide, royalty-free,
   non-exclusive, non-transferable licence to:

   (a) install, run and use the Software for any purpose, internal or
       commercial, with no limit on the number of users or machines;

   (b) reproduce and redistribute the Software, provided that every copy You
       redistribute is a complete and unmodified distribution package as
       published by Binho LLC, with this LICENSE file, the NOTICE file, the
       LICENSE.libusb file and every other copyright, licence and attribution
       notice intact. This permits, among other things, hosting a published
       wheel on an internal package index or mirror, caching it in a build
       system, and including it unmodified in a container image or an
       application installer;

   (c) modify the Software for Your own use; and

   (d) reverse engineer, decompile and disassemble the Software to the extent
       necessary to debug modifications You made under 2(c).

   The rights in 2(c) and 2(d) are granted because the Software uses libusb,
   which is licensed under the GNU Lesser General Public License; see section
   5. They are deliberately granted over the whole of the Software, not only
   over the libusb portion, so that no part of the Software stands in the way
   of exercising them.


3. RESTRICTIONS

   Except as section 5 provides for the Third-Party Components, and except
   where a mandatory provision of applicable law grants You a right that cannot
   be waived by agreement:

   (a) You may not distribute a modified copy of the Binho Code, in source or
       in binary form. The right in 2(c) is a right to modify for Your own use;
       it is not a right to distribute what You made.

   (b) You may not sublicense, rent, lease or sell the Software as a product in
       its own right.

   (c) You may not remove, obscure or alter any copyright, licence or
       attribution notice contained in or accompanying the Software.

   (d) You may not reverse engineer, decompile or disassemble the Binho Code
       for any purpose other than the one stated in 2(d).

   (e) You acquire no right in the source code of the Binho Code, and no right
       in any Binho LLC trade mark, trade name or product name. Using the names
       "Binho", "Supernova", "Pulsar" or "pycosmicsdk" to endorse or promote a
       product of Your own requires prior written permission from Binho LLC.

   No patent licence is granted by this licence, whether expressly, by
   implication, by estoppel or otherwise.


4. RESERVATION OF RIGHTS

   The Software is licensed, not sold. Binho LLC retains all right, title and
   interest in the Binho Code, including every intellectual property right in
   it. Any right not expressly granted in section 2 is reserved.


5. THIRD-PARTY COMPONENTS, AND libusb IN PARTICULAR

   The Software contains third-party software. Each Third-Party Component
   remains subject to its own licence, which is reproduced in, or identified
   by, the NOTICE file. Where a term of this licence conflicts with the licence
   of a Third-Party Component, that component's own licence governs that
   component, and nothing in section 3 or section 4 restricts a right that that
   component's licence grants You.

   PROMINENT NOTICE, given because GNU LGPL v2.1 section 6 requires it: the
   Software uses the libusb library. libusb, and its use in the Software, are
   covered by the GNU Lesser General Public License, version 2.1 or -- at Your
   option -- any later version. A complete copy of version 2.1 of that licence
   is supplied with the Software as the file LICENSE.libusb. The NOTICE file
   states which version of libusb is used, on which platforms, and where its
   complete corresponding source code can be obtained at no charge.

   Binho LLC satisfies the further obligation in LGPL v2.1 section 6 by
   sub-option 6(b) -- equivalently, LGPL v3 section 4(d)(1) under the "or
   later" option. That is: libusb is distributed as a separate shared library
   file that the extension module loads at run time, rather than being copied
   into the extension module. You may replace that file with an
   interface-compatible version of libusb that You have built yourself, from
   modified or unmodified source, and the Software will operate with it. The
   NOTICE file names that file and gives its location inside an installed copy
   of the Software. Nothing in section 3 prohibits that replacement, and
   section 2(b) permits You to redistribute the Software with libusb so
   replaced, provided the rest of the distribution package is unmodified and
   all notices remain intact.


6. NO WARRANTY

   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.


7. LIMITATION OF LIABILITY

   TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL BINHO
   LLC 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.


8. APPLICABLE LAW

   Sections 6 and 7 apply only so far as applicable law permits. Some
   jurisdictions do not allow the exclusion of implied warranties, or the
   limitation of liability for death, personal injury, fraud or gross
   negligence; there, those exclusions and limitations apply only to the extent
   the law allows and the remainder of this licence stays in force. Likewise,
   nothing in section 3 restricts a right You hold under a mandatory provision
   of applicable law that cannot be excluded by agreement, including any
   statutory right to decompile software in order to achieve interoperability.


9. HOW THE SOFTWARE IS DISTRIBUTED

   Binho LLC publishes the Software as compiled binary wheels. No source
   distribution of the Binho Code is published and none is offered under this
   licence. This does not qualify section 5: the complete corresponding source
   code of every Third-Party Component licensed under the GNU LGPL is available
   as the NOTICE file describes.
