pypmxvmd 2.6.0__tar.gz → 2.7.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/PKG-INFO +32 -23
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/README.md +300 -291
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/pypmxvmd/__init__.py +1 -1
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/pypmxvmd/common/__init__.py +1 -1
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/pypmxvmd/common/io/_fast_binary.c +1529 -3170
- pypmxvmd-2.7.1/pypmxvmd/common/io/_fast_binary.cp311-win_amd64.pyd +0 -0
- pypmxvmd-2.7.1/pypmxvmd/common/io/_fast_binary.cp38-win_amd64.pyd +0 -0
- pypmxvmd-2.7.1/pypmxvmd/common/io/_fast_binary.pyx +370 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/pypmxvmd/common/parsers/_fast_pmx.c +2449 -2167
- pypmxvmd-2.7.1/pypmxvmd/common/parsers/_fast_pmx.cp311-win_amd64.pyd +0 -0
- pypmxvmd-2.7.1/pypmxvmd/common/parsers/_fast_pmx.cp38-win_amd64.pyd +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/pypmxvmd/common/parsers/_fast_pmx.pyx +217 -145
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/pypmxvmd/common/parsers/_fast_vmd.c +1454 -1208
- pypmxvmd-2.7.1/pypmxvmd/common/parsers/_fast_vmd.cp311-win_amd64.pyd +0 -0
- pypmxvmd-2.7.1/pypmxvmd/common/parsers/_fast_vmd.cp38-win_amd64.pyd +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/pypmxvmd/common/parsers/_fast_vmd.pyx +147 -101
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/pypmxvmd/common/parsers/pmx_parser.py +9 -10
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/pypmxvmd.egg-info/PKG-INFO +32 -23
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/pypmxvmd.egg-info/SOURCES.txt +7 -1
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/pyproject.toml +8 -3
- pypmxvmd-2.7.1/setup.py +54 -0
- pypmxvmd-2.6.0/pypmxvmd/common/io/_fast_binary.cp311-win_amd64.pyd +0 -0
- pypmxvmd-2.6.0/pypmxvmd/common/io/_fast_binary.pyx +0 -264
- pypmxvmd-2.6.0/pypmxvmd/common/parsers/_fast_pmx.cp311-win_amd64.pyd +0 -0
- pypmxvmd-2.6.0/pypmxvmd/common/parsers/_fast_vmd.cp311-win_amd64.pyd +0 -0
- pypmxvmd-2.6.0/pypmxvmd/common/validators/__init__.py +0 -7
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/pypmxvmd/common/io/__init__.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/pypmxvmd/common/io/_fast_binary.pyi +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/pypmxvmd/common/io/binary_io.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/pypmxvmd/common/io/file_utils.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/pypmxvmd/common/io/text_io.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/pypmxvmd/common/models/__init__.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/pypmxvmd/common/models/base.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/pypmxvmd/common/models/pmx.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/pypmxvmd/common/models/vmd.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/pypmxvmd/common/models/vpd.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/pypmxvmd/common/parsers/__init__.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/pypmxvmd/common/parsers/_fast_pmx.pyi +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/pypmxvmd/common/parsers/_fast_vmd.pyi +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/pypmxvmd/common/parsers/pmx_parser_nuthouse.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/pypmxvmd/common/parsers/vmd_parser.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/pypmxvmd/common/parsers/vmd_parser_nuthouse.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/pypmxvmd/common/parsers/vpd_parser.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/pypmxvmd.egg-info/dependency_links.txt +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/pypmxvmd.egg-info/entry_points.txt +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/pypmxvmd.egg-info/requires.txt +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/pypmxvmd.egg-info/top_level.txt +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/setup.cfg +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/tests/test_api_integration.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/tests/test_cython_parsers.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/tests/test_io_utils.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/tests/test_parser_optimization.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/tests/test_pmx_comprehensive.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/tests/test_pmx_writer.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/tests/test_quick_integration.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/tests/test_text_processing.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/tests/test_vmd_comparison.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/tests/test_vmd_comprehensive.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/tests/test_vmd_header.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/tests/test_vmd_parser.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.7.1}/tests/test_vpd_parser.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pypmxvmd
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.7.1
|
|
4
4
|
Summary: Wrapper for reading and modifying VMD and PMX files
|
|
5
5
|
Author-email: PythonImporter <271374667@qq.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/pypmxvmd/pypmxvmd
|
|
@@ -24,11 +24,15 @@ Requires-Dist: typing-extensions>=4.0.0; python_version < "3.10"
|
|
|
24
24
|
|
|
25
25
|
# PyPMXVMD
|
|
26
26
|
|
|
27
|
+

|
|
28
|
+
|
|
29
|
+
[English API](docs/API.md) | [中文 API](docs/API_CN.md)
|
|
30
|
+
|
|
27
31
|
Python MikuMikuDance File Parser Library
|
|
28
32
|
|
|
29
33
|
[](https://www.python.org/downloads/)
|
|
30
34
|
[](LICENSE)
|
|
31
|
-
[](https://github.com/pypmxvmd/pypmxvmd)
|
|
32
36
|
|
|
33
37
|
PyPMXVMD is a Python library for parsing and modifying MikuMikuDance (MMD) files, supporting the following formats:
|
|
34
38
|
|
|
@@ -42,13 +46,16 @@ PyPMXVMD is a Python library for parsing and modifying MikuMikuDance (MMD) files
|
|
|
42
46
|
- Conversion between binary and text formats
|
|
43
47
|
- Object-oriented API design, easy to use
|
|
44
48
|
- Complete type annotation support
|
|
45
|
-
- Optional Cython acceleration for core parsing and binary I/O (
|
|
49
|
+
- Optional Cython acceleration for core parsing and binary I/O (VMD/PMX, binary read/write)
|
|
46
50
|
- No external dependencies (core functionality)
|
|
47
51
|
- Supports Python 3.8+
|
|
48
52
|
|
|
49
53
|
## Installation
|
|
50
54
|
|
|
51
55
|
```bash
|
|
56
|
+
# Install from PyPI
|
|
57
|
+
pip install pypmxvmd
|
|
58
|
+
|
|
52
59
|
# Install from source
|
|
53
60
|
git clone https://github.com/pypmxvmd/pypmxvmd.git
|
|
54
61
|
cd pypmxvmd
|
|
@@ -62,7 +69,7 @@ pip install -e ".[dev]"
|
|
|
62
69
|
|
|
63
70
|
The core parsing path supports Cython-accelerated modules for VMD/PMX and binary I/O.
|
|
64
71
|
In typical workloads, the Cython implementation is ~3.7x faster on average than the previous implementation.
|
|
65
|
-
Prebuilt
|
|
72
|
+
Prebuilt wheels are provided for Windows (cp38-cp313). Other platforms or versions compile locally.
|
|
66
73
|
If the compiled modules are not available, the library automatically falls back to pure Python.
|
|
67
74
|
|
|
68
75
|
```bash
|
|
@@ -229,26 +236,23 @@ class VpdPose:
|
|
|
229
236
|
## Project Structure
|
|
230
237
|
|
|
231
238
|
```
|
|
232
|
-
pypmxvmd/
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
│ └── gui/ # Graphical interface
|
|
247
|
-
├── tests/ # Tests
|
|
248
|
-
├── docs/ # Documentation
|
|
249
|
-
└── mmd_scripting/ # Legacy code (reference)
|
|
239
|
+
pypmxvmd/ # Main package
|
|
240
|
+
__init__.py # Public API (load/save helpers)
|
|
241
|
+
common/ # Core implementation
|
|
242
|
+
io/ # Binary/text IO (+ Cython accel)
|
|
243
|
+
models/ # Data models (VMD/PMX/VPD)
|
|
244
|
+
parsers/ # Parsers (+ fast modules)
|
|
245
|
+
validators/ # Validation helpers
|
|
246
|
+
docs/ # Documentation
|
|
247
|
+
API.md # English API
|
|
248
|
+
API_CN.md # 中文 API
|
|
249
|
+
scripts/ # Build helpers
|
|
250
|
+
build_cython.py
|
|
251
|
+
build_wheels.py
|
|
252
|
+
tests/ # Tests + fixtures
|
|
250
253
|
```
|
|
251
254
|
|
|
255
|
+
|
|
252
256
|
## Testing
|
|
253
257
|
|
|
254
258
|
```bash
|
|
@@ -279,7 +283,12 @@ mypy pypmxvmd/
|
|
|
279
283
|
flake8 pypmxvmd/
|
|
280
284
|
```
|
|
281
285
|
|
|
282
|
-
##
|
|
286
|
+
## Changelog
|
|
287
|
+
|
|
288
|
+
### v2.7.1
|
|
289
|
+
- Updated core parsers and binary I/O with Cython fast paths
|
|
290
|
+
- Added/expanded Windows wheel builds (cp38-cp313)
|
|
291
|
+
- Improved text format auto-detection and test coverage
|
|
283
292
|
|
|
284
293
|
### v2.5.1
|
|
285
294
|
- Added optional Cython acceleration for core parsing and binary I/O
|