pypmxvmd 2.6.1__tar.gz → 2.7.2__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.
Files changed (62) hide show
  1. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/PKG-INFO +38 -28
  2. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/README.md +299 -289
  3. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/pypmxvmd/__init__.py +1 -1
  4. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/pypmxvmd/common/__init__.py +1 -1
  5. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/pypmxvmd/common/io/_fast_binary.c +1529 -3170
  6. pypmxvmd-2.7.2/pypmxvmd/common/io/_fast_binary.cp311-win_amd64.pyd +0 -0
  7. pypmxvmd-2.7.2/pypmxvmd/common/io/_fast_binary.pyx +370 -0
  8. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/pypmxvmd/common/parsers/_fast_pmx.c +2449 -2167
  9. pypmxvmd-2.7.2/pypmxvmd/common/parsers/_fast_pmx.cp311-win_amd64.pyd +0 -0
  10. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/pypmxvmd/common/parsers/_fast_pmx.pyx +217 -145
  11. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/pypmxvmd/common/parsers/_fast_vmd.c +1454 -1208
  12. pypmxvmd-2.7.2/pypmxvmd/common/parsers/_fast_vmd.cp311-win_amd64.pyd +0 -0
  13. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/pypmxvmd/common/parsers/_fast_vmd.pyx +147 -101
  14. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/pypmxvmd/common/parsers/pmx_parser.py +9 -10
  15. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/pypmxvmd.egg-info/PKG-INFO +38 -28
  16. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/pypmxvmd.egg-info/SOURCES.txt +1 -1
  17. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/pyproject.toml +8 -7
  18. pypmxvmd-2.7.2/tests/test_complete_coverage.py +1276 -0
  19. pypmxvmd-2.6.1/pypmxvmd/common/io/_fast_binary.cp311-win_amd64.pyd +0 -0
  20. pypmxvmd-2.6.1/pypmxvmd/common/io/_fast_binary.pyx +0 -264
  21. pypmxvmd-2.6.1/pypmxvmd/common/parsers/_fast_pmx.cp311-win_amd64.pyd +0 -0
  22. pypmxvmd-2.6.1/pypmxvmd/common/parsers/_fast_vmd.cp311-win_amd64.pyd +0 -0
  23. pypmxvmd-2.6.1/pypmxvmd/common/validators/__init__.py +0 -7
  24. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/pypmxvmd/common/io/__init__.py +0 -0
  25. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/pypmxvmd/common/io/_fast_binary.cp38-win_amd64.pyd +0 -0
  26. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/pypmxvmd/common/io/_fast_binary.pyi +0 -0
  27. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/pypmxvmd/common/io/binary_io.py +0 -0
  28. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/pypmxvmd/common/io/file_utils.py +0 -0
  29. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/pypmxvmd/common/io/text_io.py +0 -0
  30. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/pypmxvmd/common/models/__init__.py +0 -0
  31. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/pypmxvmd/common/models/base.py +0 -0
  32. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/pypmxvmd/common/models/pmx.py +0 -0
  33. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/pypmxvmd/common/models/vmd.py +0 -0
  34. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/pypmxvmd/common/models/vpd.py +0 -0
  35. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/pypmxvmd/common/parsers/__init__.py +0 -0
  36. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/pypmxvmd/common/parsers/_fast_pmx.cp38-win_amd64.pyd +0 -0
  37. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/pypmxvmd/common/parsers/_fast_pmx.pyi +0 -0
  38. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/pypmxvmd/common/parsers/_fast_vmd.cp38-win_amd64.pyd +0 -0
  39. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/pypmxvmd/common/parsers/_fast_vmd.pyi +0 -0
  40. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/pypmxvmd/common/parsers/pmx_parser_nuthouse.py +0 -0
  41. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/pypmxvmd/common/parsers/vmd_parser.py +0 -0
  42. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/pypmxvmd/common/parsers/vmd_parser_nuthouse.py +0 -0
  43. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/pypmxvmd/common/parsers/vpd_parser.py +0 -0
  44. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/pypmxvmd.egg-info/dependency_links.txt +0 -0
  45. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/pypmxvmd.egg-info/entry_points.txt +0 -0
  46. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/pypmxvmd.egg-info/requires.txt +0 -0
  47. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/pypmxvmd.egg-info/top_level.txt +0 -0
  48. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/setup.cfg +0 -0
  49. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/setup.py +0 -0
  50. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/tests/test_api_integration.py +0 -0
  51. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/tests/test_cython_parsers.py +0 -0
  52. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/tests/test_io_utils.py +0 -0
  53. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/tests/test_parser_optimization.py +0 -0
  54. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/tests/test_pmx_comprehensive.py +0 -0
  55. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/tests/test_pmx_writer.py +0 -0
  56. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/tests/test_quick_integration.py +0 -0
  57. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/tests/test_text_processing.py +0 -0
  58. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/tests/test_vmd_comparison.py +0 -0
  59. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/tests/test_vmd_comprehensive.py +0 -0
  60. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/tests/test_vmd_header.py +0 -0
  61. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/tests/test_vmd_parser.py +0 -0
  62. {pypmxvmd-2.6.1 → pypmxvmd-2.7.2}/tests/test_vpd_parser.py +0 -0
@@ -1,12 +1,12 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pypmxvmd
3
- Version: 2.6.1
4
- Summary: Wrapper for reading and modifying VMD and PMX files
3
+ Version: 2.7.2
4
+ Summary: Python MikuMikuDance file parser library for VMD, PMX, and VPD.
5
5
  Author-email: PythonImporter <271374667@qq.com>
6
- Project-URL: Homepage, https://github.com/pypmxvmd/pypmxvmd
7
- Project-URL: Documentation, https://pypmxvmd.readthedocs.io/
8
- Project-URL: Repository, https://github.com/pypmxvmd/pypmxvmd
9
- Project-URL: Bug Tracker, https://github.com/pypmxvmd/pypmxvmd/issues
6
+ Project-URL: Homepage, https://github.com/271374667/pypmxvmd
7
+ Project-URL: Documentation, https://271374667.github.io/pypmxvmd/
8
+ Project-URL: Repository, https://github.com/271374667/pypmxvmd
9
+ Project-URL: Bug Tracker, https://github.com/271374667/pypmxvmd/issues
10
10
  Keywords: mmd,mikumikudance,pmx,vmd,vpd,3d,animation
11
11
  Classifier: Development Status :: 4 - Beta
12
12
  Classifier: Intended Audience :: Developers
@@ -24,11 +24,16 @@ Requires-Dist: typing-extensions>=4.0.0; python_version < "3.10"
24
24
 
25
25
  # PyPMXVMD
26
26
 
27
+ ![pypmxvmd](https://socialify.git.ci/271374667/pypmxvmd/image?description=1&font=Inter&language=1&name=1&owner=1&theme=Auto)
28
+
29
+ [English API](docs/API.md) | [中文 API](docs/API_CN.md)
30
+
27
31
  Python MikuMikuDance File Parser Library
28
32
 
29
33
  [![Python Version](https://img.shields.io/badge/python-3.8%2B-blue.svg)](https://www.python.org/downloads/)
30
34
  [![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)
31
- [![Version](https://img.shields.io/badge/version-2.5.1-orange.svg)](https://github.com/pypmxvmd/pypmxvmd)
35
+ [![Version](https://img.shields.io/badge/version-2.7.1-orange.svg)](https://github.com/pypmxvmd/pypmxvmd)
36
+ [![Tests](https://img.shields.io/badge/tests-143%20passed-brightgreen.svg)](#)
32
37
 
33
38
  PyPMXVMD is a Python library for parsing and modifying MikuMikuDance (MMD) files, supporting the following formats:
34
39
 
@@ -42,13 +47,16 @@ PyPMXVMD is a Python library for parsing and modifying MikuMikuDance (MMD) files
42
47
  - Conversion between binary and text formats
43
48
  - Object-oriented API design, easy to use
44
49
  - Complete type annotation support
45
- - Optional Cython acceleration for core parsing and binary I/O (average 3.7x faster than the previous path)
50
+ - Cython acceleration(3.7x faster) for core parsing and binary I/O (VMD/PMX, binary read/write)
46
51
  - No external dependencies (core functionality)
47
52
  - Supports Python 3.8+
48
53
 
49
54
  ## Installation
50
55
 
51
56
  ```bash
57
+ # Install from PyPI
58
+ pip install pypmxvmd
59
+
52
60
  # Install from source
53
61
  git clone https://github.com/pypmxvmd/pypmxvmd.git
54
62
  cd pypmxvmd
@@ -62,7 +70,7 @@ pip install -e ".[dev]"
62
70
 
63
71
  The core parsing path supports Cython-accelerated modules for VMD/PMX and binary I/O.
64
72
  In typical workloads, the Cython implementation is ~3.7x faster on average than the previous implementation.
65
- Prebuilt Cython binaries are only provided for Python 3.11; other Python versions need to compile locally.
73
+ Prebuilt wheels are provided for Windows (cp38-cp313). Other platforms or versions compile locally.
66
74
  If the compiled modules are not available, the library automatically falls back to pure Python.
67
75
 
68
76
  ```bash
@@ -229,26 +237,23 @@ class VpdPose:
229
237
  ## Project Structure
230
238
 
231
239
  ```
232
- pypmxvmd/
233
- ├── pypmxvmd/ # Main package
234
- │ ├── __init__.py # Public API
235
- │ ├── common/ # Common components
236
- │ │ ├── models/ # Data models
237
- │ │ │ ├── vmd.py # VMD data structures
238
- │ │ │ ├── pmx.py # PMX data structures
239
- │ │ │ └── vpd.py # VPD data structures
240
- │ │ └── parsers/ # Parsers
241
- │ │ ├── vmd_parser_nuthouse.py
242
- │ │ ├── pmx_parser_nuthouse.py
243
- │ │ └── vpd_parser.py
244
- │ └── presentation/ # Presentation layer
245
- │ ├── cli/ # Command-line interface
246
- │ └── gui/ # Graphical interface
247
- ├── tests/ # Tests
248
- ├── docs/ # Documentation
249
- └── mmd_scripting/ # Legacy code (reference)
240
+ pypmxvmd/ # Main package
241
+ __init__.py # Public API (load/save helpers)
242
+ common/ # Core implementation
243
+ io/ # Binary/text IO (+ Cython accel)
244
+ models/ # Data models (VMD/PMX/VPD)
245
+ parsers/ # Parsers (+ fast modules)
246
+ validators/ # Validation helpers
247
+ docs/ # Documentation
248
+ API.md # English API
249
+ API_CN.md # 中文 API
250
+ scripts/ # Build helpers
251
+ build_cython.py
252
+ build_wheels.py
253
+ tests/ # Tests + fixtures
250
254
  ```
251
255
 
256
+
252
257
  ## Testing
253
258
 
254
259
  ```bash
@@ -279,7 +284,12 @@ mypy pypmxvmd/
279
284
  flake8 pypmxvmd/
280
285
  ```
281
286
 
282
- ## Version History
287
+ ## Changelog
288
+
289
+ ### v2.7.1
290
+ - Updated core parsers and binary I/O with Cython fast paths
291
+ - Added/expanded Windows wheel builds (cp38-cp313)
292
+ - Improved text format auto-detection and test coverage
283
293
 
284
294
  ### v2.5.1
285
295
  - Added optional Cython acceleration for core parsing and binary I/O