pxdlib (Alpha 0.0.4)
pxdlib is a library intended for deciphering and manipulating .pxd files, used by the image editor Pixelmator Pro. Grab Python 3.6 or above and pip install pxdlib!
Documentation exists for the API, and a much longer set of documentation exists for the reverse-engineering of the .pxd format.
pxdlib can be used for a variety of purposes. For example, if you have designed a graph, you may automagically manipulate coordinates as:
from pxdlib import PXDFile
P0, T0 = 50, 100
COORDS = dict()
with open('data.csv') as f:
for line in f.readlines():
name, P, T = line.strip().split(',')
COORDS[name] = P0 + float(P), T0 + float(T)
with PXDFile('graph.pxd') as pxd:
for l in pxd.all_layers():
if l.name in COORDS:
l.position = COORDS[l.name]
Development
As pxdlib is available on PyPI, it will be updated in production only when a new version is available. The reverse-engineering document, however, will be kept up-to-date in production as behaviour is confirmed.
Until the library is considered "done", it will not be confirmed to work on any specific Pixelmator version other than "the latest". I will consider pxdlib "done" when:
- raster layers are accessible in a format which is compatible with a good raster-manipulating API;
- vector layers are fully modifiable;
- text layers can be modified, at least with the common formatting capabilities;
- all effects and filters are documented and available;
- layers can be created and destroyed;
and all of the above is formally tested with a specially-created document.
A changelog is available here.
Metadata
Release files for pxdlib 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pxdlib-0.0.4.tar.gz | 14.4 kB | Without provenance | Details for pxdlib-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pxdlib-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for pxdlib-0.0.4-py3-none-any.whl |
Total release size: 30.4 kB
Release files / pxdlib-0.0.4.tar.gz
| Download URL | pxdlib-0.0.4.tar.gz |
|---|---|
| Size | 14.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f71942a94c0a24f309c81641a329a2c0bcd4dfeccf9e6c97ce3ba8dc194eceab
|
|
BLAKE2b-256 checksum How to use checksums |
59323db8d2a2766e2a7571f440480eacaf97cb9d87631dcb429ef409ddb12a66
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
|
Release files / pxdlib-0.0.4-py3-none-any.whl
| Download URL | pxdlib-0.0.4-py3-none-any.whl |
|---|---|
| Size | 16.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5b602483bfb029dd9c4550e1e46a333132a18bd10496f87a6b50a64e860fe599
|
|
BLAKE2b-256 checksum How to use checksums |
bf5bb2b11fc91bbd5732603ec98eb62682828c7d8bed398cd8ad1c99ecb94c6f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
|
Security for pxdlib 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.