专有软件许可协议
PROPRIETARY SOFTWARE LICENSE AGREEMENT

软件名称：mdrtreadtool —— 医疗器械警戒趋势分析工具
版本：2.0.0
著作权人（许可方）：sysucai
发布日期：2026-10-12

本协议同时提供中文与英文文本。中、英文文本如有歧义，以中文文本为准。
This Agreement is provided in both Chinese and English. In case of any
discrepancy, the Chinese text shall prevail.


一、定义

1.1 「本软件」指 mdrtreadtool 软件包及其全部组成文件，包括但不限于已编译的扩展
    模块（chart_tool.pyd）、图标资源、文档、示例数据与随附脚本。
1.2 「许可方」指本软件的著作权人 sysucai。
1.3 「被许可方」指通过合法途径获取、安装或使用本软件的自然人或法人。


二、授权范围

2.1 在遵守本协议全部条款的前提下，许可方授予被许可方一项**非独占、不可转让、
    不可再许可**的普通使用许可，允许被许可方：
    (a) 在其自身业务（含企业内部业务）中安装、运行本软件；
    (b) 使用本软件生成的图表、统计数据与报告，用于内部质量分析、法规报告编制
        等正当用途。

2.2 被许可方**无需**为上述使用支付许可费用。


三、限制

被许可方**不得**实施下列行为，亦不得允许或协助第三方实施：

3.1 对本软件进行反向工程、反编译、反汇编、解密，或以其他方式试图获取其源代码、
    内部算法或未公开的实现细节；
3.2 复制、发布、分发、出租、出借、出售、转让本软件或其任何部分，或将本软件
    上传至任何公开的软件仓库、网盘、论坛或其他信息分享平台；
3.3 移除、遮蔽、篡改本软件中的任何著作权声明、许可声明、版本标识或作者署名；
3.4 将本软件或其修改版本用于提供商业服务（包括但不限于 SaaS、代做报告、
    二次销售），无论是否直接收费；
3.5 将本软件用于任何违反中华人民共和国法律法规的用途；
3.6 以本软件为基础开发实质功能相同或近似的竞争性产品。


四、权利保留

4.1 本软件系授权使用，而非出售。本协议未明示授予的一切权利，均由许可方保留。
4.2 本软件的全部知识产权（包括但不限于著作权、商标权、商业秘密）均归许可方
    所有，不因本协议的签署或履行而发生转移。


五、第三方组件

5.1 本软件在运行过程中依赖若干第三方开源组件（例如 NumPy、pandas、matplotlib、
    openpyxl、Pillow、xlrd 等）。这些组件由各自的著作权人依照其自身的开源许可
    协议（如 BSD、MIT、PSF 等）授权，**不适用**本协议的专有条款。
5.2 被许可方如分发本软件所在的 Python 环境，应自行遵守上述第三方组件的许可要求。


六、无担保

6.1 本软件按「现状」提供，不附带任何形式的明示或默示担保，包括但不限于对
    适销性、特定用途适用性及不侵权的担保。
6.2 许可方不保证本软件运行无中断、无错误，亦不保证其输出的统计结果、图表或
    结论满足任何特定监管要求。


七、责任限制

7.1 在适用法律允许的最大范围内，许可方不对因使用或无法使用本软件而产生的
    任何直接、间接、附带、特殊、惩罚性或后果性损害（包括但不限于数据丢失、
    业务中断、利润损失、监管处罚）承担赔偿责任，无论其是否已被告知该等
    损害的可能性。
7.2 本软件输出的图表与统计量仅供参考。医疗器械警戒判定涉及法规责任，最终
    结论应由具备相应资质的专业人员独立作出。


八、协议的终止

8.1 被许可方违反本协议任一条款时，本协议项下的授权**自动终止**，无需许可方
    另行通知。
8.2 授权终止后，被许可方应立即停止使用并销毁本软件的全部副本。


九、适用法律与争议解决

9.1 本协议的订立、效力、解释、履行及争议解决，均适用中华人民共和国法律。
9.2 因本协议产生的争议，双方应友好协商解决；协商不成的，任何一方均可向许可方
    住所地有管辖权的人民法院提起诉讼。


十、其他

10.1 下载、安装、复制或以任何方式使用本软件，即视为被许可方已阅读、理解并
     同意接受本协议全部条款的约束。
10.2 若被许可方不同意本协议的任何条款，请立即停止安装与使用，并删除本软件的
     全部副本。


────────────────────────────────────────────────────────────────────────────
ENGLISH TEXT

Software: mdrtreadtool — Medical Device Vigilance Trend Analysis Tool
Copyright (C) 2026 sysucai. All rights reserved.

1. GRANT. Subject to the terms of this Agreement, the Licensor grants you a
   non-exclusive, non-transferable, non-sublicensable license to install and
   use this software for your own internal business purposes, free of charge.

2. RESTRICTIONS. You may NOT: (a) reverse engineer, decompile, disassemble or
   otherwise attempt to derive the source code, internal algorithms or
   non-public implementation details of the software; (b) copy, publish,
   distribute, rent, lease, sell, transfer or upload the software or any part
   of it to any public repository, file-sharing service, forum or other
   information-sharing platform; (c) remove, obscure or alter any copyright,
   license, version or attribution notice; (d) use the software or any
   derivative thereof to provide commercial services, including but not
   limited to SaaS offerings, report-writing services or resale, whether or
   not a fee is charged; (e) use the software for any purpose prohibited by
   the laws of the People's Republic of China; or (f) develop a competing
   product with substantially similar functionality based on the software.

3. RESERVATION. The software is licensed, not sold. All rights not expressly
   granted are reserved by the Licensor. All intellectual property rights in
   the software remain with the Licensor and are not transferred.

4. THIRD-PARTY COMPONENTS. The software depends on third-party open-source
   components (e.g. NumPy, pandas, matplotlib, openpyxl, Pillow, xlrd), which
   are licensed under their own respective licenses and are NOT governed by
   this Agreement.

5. 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.

6. LIMITATION OF LIABILITY. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW,
   THE LICENSOR SHALL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
   SPECIAL, PUNITIVE OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO
   THE USE OF OR INABILITY TO USE THE SOFTWARE.

7. TERMINATION. Your rights under this Agreement terminate automatically
   without notice if you breach any of its terms.

8. GOVERNING LAW. This Agreement shall be governed by and construed in
   accordance with the laws of the People's Republic of China.

9. ACCEPTANCE. By downloading, installing, copying or otherwise using this
   software, you acknowledge that you have read, understood and agree to be
   bound by this Agreement. If you do not agree, you must stop using the
   software and delete all copies immediately.

────────────────────────────────────────────────────────────────────────────
SPDX-License-Identifier: LicenseRef-Proprietary
