Skip to main content

Python tool for creating, editing and inspecting Penguinmod(.pmp) and Scratch(.sb3) files.

Project description

🐧 py-pmp-manip

A modular python tool for creating, editing and inspecting Penguinmod(.pmp) and Scratch(.sb3) project files.


🚀 Features

  • Creating ...
  • [Editing ...]
  • [Inspecting ...] ... Project files

📦 Installation

pip install py-pmp-manip

Or clone directly:

git clone https://github.com/GermanCodeEngineer/py-pmp-manip.git
cd py-pmp-manip
pip install -e .

🧰 Basic Usage

Before using most parts of pmp_manip, you must initialize the configuration once:

from pmp_manip import init_config, get_default_config

# Start from defaults and override what you need
cfg = get_default_config()
cfg.ext_info_gen.gen_opcode_info_dir = "output/gen_opcode_info"
init_config(cfg)

References


📁 Project Structure

py-pmp-manip/
├── pmp_manip/         # Source Code
│   ├── config/                  # Configuration schema and lifecycle
│   ├── core/                    # Core functionality
│   ├── ext_info_gen/            # information generator for custom extensions
│   ├── opcode_info/             # Contains an API for and the information about all the blocks
│   ├── utility/                 # Utilities for other modules
│   └── important_consts.py      # Common important constants
├── docs/              # Documentation
├── scripts/           # Independent project-related scripts
│   └── update_pyproject_toml.py # Updates pyproject.toml with version and dependencies
└── tests/             # Unit tests

🧪 Running Tests

Just run:

pytest tests/

📄 License

GPLv3


🤝 Contributing

Pull requests, issues, and feedback are welcome! Please read the CONTRIBUTING.md guide before submitting code.


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py_pmp_manip-1.0.0.tar.gz (117.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_pmp_manip-1.0.0-py3-none-any.whl (141.4 kB view details)

Uploaded Python 3

File details

Details for the file py_pmp_manip-1.0.0.tar.gz.

File metadata

  • Download URL: py_pmp_manip-1.0.0.tar.gz
  • Upload date:
  • Size: 117.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for py_pmp_manip-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a94a6baae1ec69a6d1af7f2779cb6779f8631ebf369ddaeb6229ed0106fb9c69
MD5 ed6254603f751edf1e094545961337b2
BLAKE2b-256 73deb6461968575377742139f1f3fcd9b778549672e61c08dcd908bf63dda89b

See more details on using hashes here.

File details

Details for the file py_pmp_manip-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: py_pmp_manip-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 141.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for py_pmp_manip-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 da8d145718ac4ea03fabdc56fbcff51be4519e5961e1a732c1ffb70970d20df4
MD5 2304b54027e0fb83bff91d342260817f
BLAKE2b-256 4ae6426113115300f67499b66192168d0588c5cd7937d458e523482574a4efd6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page