Metadata-Version: 2.4
Name: scratch3_analyzer
Version: 1.0.0
Summary: A comprehensive Python library to extract, analyze, and export detailed statistics from Scratch 3.0 (.sb3) project files.
Author-email: jzm <939370014@qq.com>
Project-URL: Homepage, https://github.com/jzm3/scratch3_analyzer
Keywords: scratch,sb3,analysis,education,coding,visual-programming
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: Developers
Classifier: Topic :: Education
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pandas>=1.3.0
Requires-Dist: openpyxl>=3.0.0
Dynamic: license-file

\# Scratch3 Analyzer



A comprehensive Python library to extract, analyze, and export detailed statistics from Scratch 3.0 (.sb3) project files.



\## Features

\- Extract and analyze Scratch 3.0 project files (.sb3)

\- Analyze sprites, blocks, variables, lists, costumes, sounds, and events

\- Calculate project complexity scores

\- Export analysis results to Excel with multiple sheets

\- Batch process multiple .sb3 files

\- Command-line interface for easy use



\## Installation

```bash

pip install scratch3\_analyzer

Quick Start
python
from scratch3_analyzer import Scratch3Analyzer
analyzer = Scratch3Analyzer()
result = analyzer.analyze_file("my_project.sb3", "analysis.xlsx")
print(f"Total blocks: {result['complexity']['total_blocks']}")
Command Line Usage
bash
# Analyze a single file
scratch3-analyzer analyze my_project.sb3 -o results.xlsx

# Analyze all files in a directory
scratch3-analyzer batch ./projects -o summary.xlsx

# Show version
scratch3-analyzer --version
License
MIT License. See the LICENSE file for details.

Author
jzm (939370014@qq.com)

Project Home
https://github.com/jzm3/scratch3_analyzer


### **LICENSE**
```text
MIT License

Copyright (c) 2024 jzm

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.
