CogniX Software License Agreement
Copyright (c) 2026 Carlos Prados. All rights reserved.

This is not open source software. Read this before installing or using it.

1. DEFINITIONS

   "Licensor" means Carlos Prados, the copyright holder.

   "Software" means the `cognix-sdk` Python package, the `cgx` executable distributed
   with it, and any documentation, examples or files supplied with either.

   "Platform" means the CogniX inference, training and serving products operated or
   licensed by the Licensor, including any host system into which they are embedded.

   "Bundle" means a directory in the format the Software produces and validates: a
   manifest, a model file, a feature extractor and its samples.

   "You" means the individual or legal entity exercising the rights granted here.

2. GRANT OF LICENSE

   Subject to Your compliance with this Agreement, the Licensor grants You a
   non-exclusive, non-transferable, non-sublicensable, revocable, worldwide,
   royalty-free license to install and use the Software, for Your internal purposes
   only, in order to:

   (a) create, inspect and validate Bundles intended for deployment on the Platform;
   (b) evaluate the Software and the Platform, including before entering into any
       commercial agreement with the Licensor; and
   (c) develop and test Your own models and feature extractors against the Bundle
       format.

   No fee is charged for this license. It confers no right to the Platform itself,
   which is licensed separately.

3. RESTRICTIONS

   You may not, and may not permit any third party to:

   (a) distribute, publish, sell, rent, lease, lend, host or otherwise make the
       Software available to any third party, in whole or in part, whether alone or
       bundled with other software;
   (b) modify, adapt, translate or create derivative works of the Software;
   (c) reverse engineer, decompile or disassemble the Software, or attempt to derive
       its source code, except and only to the extent that this restriction is
       expressly prohibited by applicable law that cannot be waived by agreement (see
       Section 4);
   (d) use the Software, or any knowledge of the Bundle format obtained from it, to
       develop, or to assist any third party in developing, a product or service that
       competes with the Software or the Platform;
   (e) implement, or assist any third party in implementing, an inference, scoring or
       serving system that consumes Bundles, other than the Platform;
   (f) remove, obscure or alter any copyright, trademark or other proprietary notice
       in or displayed by the Software; or
   (g) circumvent any technical measure that limits the functionality of the Software.

   For the avoidance of doubt: models You create remain Yours, and nothing in this
   Agreement restricts what You do with a model of Your own in any system, provided
   You do not do so by means of the Software or of a Bundle-consuming implementation
   prohibited by Section 3(e).

4. MANDATORY LEGAL RIGHTS

   Nothing in this Agreement excludes or limits any right You have under applicable
   law that cannot be excluded or limited by agreement. In particular, where Directive
   2009/24/EC of the European Parliament and of the Council, or the national law
   implementing it, grants You a right to decompile the Software to achieve
   interoperability with an independently created program, that right applies
   notwithstanding Section 3(c), on the conditions that Directive lays down.

5. OWNERSHIP

   The Software is licensed, not sold. The Licensor and its suppliers retain all
   right, title and interest in and to the Software, including all intellectual
   property rights. All rights not expressly granted in Section 2 are reserved.

6. THIRD-PARTY COMPONENTS

   The `cgx` executable statically links open source components which are licensed to
   You under their own terms, not under this Agreement. Those terms are reproduced in
   the accompanying THIRD-PARTY-NOTICES.md file and prevail over this Agreement in
   respect of those components.

7. FEEDBACK

   If You send the Licensor suggestions, bug reports or other feedback about the
   Software, the Licensor may use it without restriction or obligation to You. This
   does not give the Licensor any right in Your models, Your data or Your Bundles.

8. NO SUPPORT

   This Agreement does not oblige the Licensor to provide support, maintenance,
   updates or new versions of the Software.

9. TERM AND TERMINATION

   This Agreement takes effect when You first install or use the Software and
   continues until terminated. It terminates automatically, without notice, if You
   breach any of its terms. On termination You must stop using the Software and delete
   all copies of it in Your possession. Sections 3, 5, 10, 11 and 12 survive
   termination.

10. 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, ACCURACY AND NON-INFRINGEMENT. THE SOFTWARE VALIDATES
    BUNDLES; IT DOES NOT WARRANT THAT ANY MODEL, PREDICTION OR DECISION PRODUCED WITH
    ITS HELP IS CORRECT, SAFE OR FIT FOR ANY PURPOSE.

11. LIMITATION OF LIABILITY

    TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSOR SHALL NOT BE
    LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL OR PUNITIVE DAMAGES,
    OR FOR ANY LOSS OF PROFITS, REVENUE, DATA OR BUSINESS, ARISING OUT OF OR RELATED
    TO THE SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. THE
    LICENSOR'S TOTAL AGGREGATE LIABILITY UNDER THIS AGREEMENT SHALL NOT EXCEED ONE
    HUNDRED EUROS (EUR 100).

    Nothing in this Section limits liability for death or personal injury caused by
    negligence, for fraud, or for any other liability that cannot be limited under
    applicable law.

12. GOVERNING LAW AND JURISDICTION

    This Agreement is governed by the laws of Spain, without regard to its conflict of
    law rules. The courts of the city of Madrid, Spain, shall have exclusive
    jurisdiction over any dispute arising out of or in connection with it, except that
    the Licensor may seek injunctive relief in any competent court. This Section does
    not deprive a consumer of the protection of the mandatory rules of the law of the
    country in which they are resident.

13. ENTIRE AGREEMENT

    This Agreement is the entire agreement between You and the Licensor regarding the
    Software and supersedes any prior understanding on that subject. If any provision
    is held unenforceable, it shall be modified to the minimum extent necessary to
    make it enforceable, and the remaining provisions shall remain in full force.

Contact: carlosprados@users.noreply.github.com
