pigment64 0.6.3__pp311-pypy311_pp73-musllinux_1_2_i686.whl

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.
pigment64/__init__.py ADDED
@@ -0,0 +1,5 @@
1
+ from .pigment64 import *
2
+
3
+ __doc__ = pigment64.__doc__
4
+ if hasattr(pigment64, "__all__"):
5
+ __all__ = pigment64.__all__
@@ -0,0 +1,92 @@
1
+ Metadata-Version: 2.4
2
+ Name: pigment64
3
+ Version: 0.6.3
4
+ Classifier: Programming Language :: Rust
5
+ Classifier: Programming Language :: Python :: Implementation :: CPython
6
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
7
+ License-File: LICENSE
8
+ Summary: A library for handling conversion between N64 texture formats and modern image formats
9
+ Requires-Python: >=3.9
10
+ Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
11
+ Project-URL: Repository, https://github.com/decompals/pigment64
12
+ Project-URL: Bug Tracker, https://github.com/decompals/pigment64/issues
13
+
14
+ # pigment64
15
+
16
+ [![Rust](https://github.com/decompals/pigment64/actions/workflows/rust.yml/badge.svg)](https://github.com/decompals/pigment64/actions/workflows/rust.yml)
17
+ [![Crates.io](https://img.shields.io/crates/v/pigment64.svg)](https://crates.io/crates/pigment64)
18
+ [![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/decompals/pigment64/blob/master/LICENSE)
19
+
20
+ pigment64 is a library written in Rust for converting N64 image data between native and png formats.
21
+
22
+ ## Supported formats
23
+
24
+ pigment64 supports a variety of common N64 image formats:
25
+
26
+ - Intensity: I1, I4, I8
27
+ - Intensity + Alpha: IA4, IA8, IA16
28
+ - Color Indexed: CI4, CI8
29
+ - Direct Color: RGBA16, RGBA32
30
+
31
+ ## Command line usage
32
+
33
+ pigment64 provides command-line interface (CLI):
34
+
35
+ ```bash
36
+ Usage: pigment64_cli <COMMAND>
37
+
38
+ Commands:
39
+ to-png Converts a binary image to a PNG
40
+ to-bin Converts a PNG to a binary image
41
+ help Print this message or the help of the given subcommand(s)
42
+ ```
43
+
44
+ ## Library usage
45
+
46
+ To use pigment64 in your Rust project simply run a
47
+
48
+ ```bash
49
+ cargo add pigment64
50
+ ```
51
+
52
+ ## Python bindings
53
+
54
+ pigment64 can also be used as a Python module, allowing you to integrate it into your Python scripts and tools.
55
+
56
+ You can install the Python module from PyPI:
57
+
58
+ ```bash
59
+ pip install pigment64
60
+ ```
61
+
62
+ ### Python Binding Development
63
+
64
+ This project uses `maturin` to build the Rust-based Python extension. It is recommended to use a Python virtual environment.
65
+
66
+ #### Setup
67
+
68
+ 1. Create and activate a virtual environment:
69
+
70
+ ```bash
71
+ python3 -m venv .venv
72
+ source .venv/bin/activate
73
+ ```
74
+
75
+ 2. Install dependencies:
76
+
77
+ ```bash
78
+ pip install maturin pytest
79
+ ```
80
+
81
+ #### Building
82
+
83
+ To compile the library and install it into your active virtual environment, run:
84
+
85
+ ```bash
86
+ maturin develop
87
+ ```
88
+
89
+ ## License
90
+
91
+ This project is licensed under the MIT License.
92
+
@@ -0,0 +1,7 @@
1
+ pigment64-0.6.3.dist-info/METADATA,sha256=DDA49QUvQHdladti2Eff_xDRJcNZsBl4gbJIK1Ge4mA,2430
2
+ pigment64-0.6.3.dist-info/WHEEL,sha256=Fu6Th1513hkS0xzotVqKvs6HLmJq411jN4voXwWEPh8,113
3
+ pigment64-0.6.3.dist-info/licenses/LICENSE,sha256=1imKh0DpK9asT0msyoGGcs_ianE6uV2yBt0ezUKq7xM,1071
4
+ pigment64.libs/libgcc_s-f5fcfe20.so.1,sha256=AgqyMrWe8E5-efp_cXekgnQn-q6zJOV7u8ZBzQVlfJc,552385
5
+ pigment64/__init__.py,sha256=FJ3twVBdOSaqCjR4Wzx6c-JkgZFX4vlcWkvnMZ9m8mQ,119
6
+ pigment64/pigment64.pypy311-pp73-x86-linux-gnu.so,sha256=W8OrvaHm8xKtCeM63pOBqbVtITaQYceozVUBs7X_8E4,838125
7
+ pigment64-0.6.3.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: maturin (1.10.2)
3
+ Root-Is-Purelib: false
4
+ Tag: pp311-pypy311_pp73-musllinux_1_2_i686
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023-2025 Decompals
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
Binary file