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

This product includes software developed by third parties. Each component below
keeps its own licence. Binho LLC's own terms are in the LICENSE file, and
section 5 of that file explains how the two fit together.

Whether a particular component is present depends on the platform the wheel was
built for; the list below says which. To see exactly what a given installation
contains, run:

    pip show -f pycosmicsdk


================================================================================
libusb -- GNU Lesser General Public License, version 2.1 or later
================================================================================

This product uses the libusb library. libusb, and its use in this product, 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
distributed with this product as the file LICENSE.libusb.

    Copyright (c) 2001 Johannes Erdfelt <johannes@erdfelt.com>
    Copyright (c) 2007-2009 Daniel Drake <dsd@gentoo.org>
    Copyright (c) 2010-2012 Peter Stuge <peter@stuge.se>
    Copyright (c) 2008-2016 Nathan Hjelm <hjelmn@users.sourceforge.net>
    Copyright (c) 2009-2013 Pete Batard <pete@akeo.ie>
    Copyright (c) 2009-2013 Ludovic Rousseau <ludovic.rousseau@gmail.com>
    Copyright (c) 2010-2012 Michael Plante <michael.plante@gmail.com>
    Copyright (c) 2011-2013 Hans de Goede <hdegoede@redhat.com>
    Copyright (c) 2012-2013 Martin Pieuchot <mpi@openbsd.org>
    Copyright (c) 2012-2013 Toby Gray <toby.gray@realvnc.com>
    Copyright (c) 2013-2018 Chris Dickens <christopher.a.dickens@gmail.com>
    and the other contributors listed in the AUTHORS file of the libusb source
    distribution.

Version:  libusb 1.0.27
Source:   https://github.com/libusb/libusb
Build:    https://github.com/libusb/libusb-cmake -- the community CMake build
          system for libusb, which vendors an unmodified copy of the libusb
          source as a git subtree and is itself distributed under the same
          GNU LGPL v2.1.

The libusb source used in this product is unmodified upstream source. It is
built with the CMake build system named above rather than with the Autotools
build that ships in the libusb repository; that is a difference in build
configuration, not in the library source code. Complete corresponding source
code is available at no charge from either URL above.

HOW libusb IS LINKED, AND HOW TO REPLACE IT

Binho LLC relies on LGPL v2.1 section 6(b) -- equivalently LGPL v3 section
4(d)(1) under the "or later" option. libusb is distributed as a separate shared
library file that the compiled extension module loads at run time. Its object
code is not copied into the extension module.

The file is named:

    libusb-1.0.dll      on Windows
    libusb-1.0.so.0     on Linux
    libusb-1.0.0.dylib  on macOS

and is installed inside the pycosmicsdk installation. Running
"pip show -f pycosmicsdk" lists its exact path.

You may replace that file with an interface-compatible build of libusb of your
own, from modified or unmodified source, and this product will operate with it.
The LICENSE file grants that right expressly and does not restrict it.


================================================================================
HIDAPI -- BSD-3-Clause (as elected by Binho LLC)
================================================================================

This product includes the HIDAPI library (https://github.com/libusb/hidapi),
compiled into the extension module on every platform. HIDAPI is offered by its
authors under any one of three licences -- GPL-3.0, a BSD-style licence, or the
original HIDAPI licence -- at the discretion of the user of HIDAPI. Binho LLC
elects the BSD-style licence, reproduced here in full:

    Copyright (c) 2010, Alan Ott, Signal 11 Software
    All rights reserved.

    Redistribution and use in source and binary forms, with or without
    modification, are permitted provided that the following conditions are met:

        * Redistributions of source code must retain the above copyright
          notice, this list of conditions and the following disclaimer.
        * Redistributions in binary form must reproduce the above copyright
          notice, this list of conditions and the following disclaimer in the
          documentation and/or other materials provided with the distribution.
        * Neither the name of Signal 11 Software nor the names of its
          contributors may be used to endorse or promote products derived from
          this software without specific prior written permission.

    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
    LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    POSSIBILITY OF SUCH DAMAGE.


================================================================================
nanobind -- BSD-3-Clause
================================================================================

This product includes nanobind (https://github.com/wjakob/nanobind), compiled
into the extension module on every platform.

    Copyright (c) 2022 Wenzel Jakob <wenzel.jakob@epfl.ch>, All rights reserved.

    Redistribution and use in source and binary forms, with or without
    modification, are permitted provided that the following conditions are met:

    1. Redistributions of source code must retain the above copyright notice,
       this list of conditions and the following disclaimer.

    2. Redistributions in binary form must reproduce the above copyright
       notice, this list of conditions and the following disclaimer in the
       documentation and/or other materials provided with the distribution.

    3. Neither the name of the copyright holder nor the names of its
       contributors may be used to endorse or promote products derived from
       this software without specific prior written permission.

    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
    LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    POSSIBILITY OF SUCH DAMAGE.


================================================================================
libudev (systemd) -- GNU LGPL v2.1 or later -- Linux wheels only
================================================================================

A Linux wheel may use libudev, part of the systemd project
(https://github.com/systemd/systemd), which is licensed under the GNU Lesser
General Public License, version 2.1 or (at your option) any later version.
Whether it does depends on which HID backend that wheel was built with. The
copy of the licence distributed with this product as LICENSE.libusb is the
licence that applies to libudev as well.

libudev is dynamically linked. It is either resolved from the host system or,
where the wheel-repair step has bundled it, distributed as a separate shared
library file inside the installation that you may replace with an
interface-compatible build of your own. Running "pip show -f pycosmicsdk" lists
what is present. Complete corresponding source code is available at no charge
from the URL above.

Windows and macOS wheels do not contain or use libudev.


================================================================================
libudev's own dependencies -- Linux wheels only
================================================================================

Where the wheel-repair step bundles libudev, it also bundles the libraries
libudev itself links against on the manylinux image. They are present for
libudev's benefit; this product calls none of them directly. Each is
dynamically linked and ships as its own file inside the installation, which
"pip show -f pycosmicsdk" lists.

    libmount, libblkid, libuuid  -- util-linux (https://github.com/util-linux/util-linux)
        libmount and libblkid are licensed under the GNU Lesser General Public
        License, version 2.1 or (at your option) any later version; the copy
        distributed as LICENSE.libusb is the licence that applies to them.
        libuuid is licensed under the BSD 3-Clause licence. Complete
        corresponding source code for all three is available at no charge from
        the URL above.

    libselinux  -- https://github.com/SELinuxProject/selinux
        Public domain, with the SELinux project's own notice: "This library
        (libselinux) is public domain software, i.e. not copyrighted."

    libpcre2-8  -- https://github.com/PCRE2Project/pcre2
        BSD 3-Clause licence.

Windows and macOS wheels contain none of these: they do not use libudev.


================================================================================
PROVENANCE OF LICENSE.libusb
================================================================================

LICENSE.libusb is a copy of the file libusb/COPYING as it appears in the
libusb-cmake source tree that this project's build fetches -- that is, libusb's
own copy of the GNU Lesser General Public License, Version 2.1, February 1999.
Trailing whitespace on ten lines, and trailing blank lines at the end of the
file, were removed to satisfy this repository's whitespace hooks; no other
character was changed. The identical text also appears as libusb-cmake's own
top-level LICENSE file, differing from libusb/COPYING only in line wrapping.
