Core library for applying device frames to screenshots.
Project description
device-frames-core
Python core library for applying device frames to screenshots and retrieving up-to-date media of device frame PNGs (with metadata)
pip install device-frames-core
from pathlib import Path
from device_frames_core import apply_frame, list_devices
# List devices
all_devices = list_devices()
# Apply a frame
apply_frame(
screenshot_path=Path("input.png"),
device="16-pro-max",
variation="black-titanium",
output_path=Path("output/framed.png"),
category="ios",
)
Read more about this project on my website
Github repo
device-frames-media Github repo
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file device_frames_core-0.1.5.tar.gz.
File metadata
- Download URL: device_frames_core-0.1.5.tar.gz
- Upload date:
- Size: 41.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fd0dd7b2573969a7baef104124f0b32b53b3e94b47d58e5062076c202014f720
|
|
| MD5 |
909aa543f89a5b59e44f68930f4897a5
|
|
| BLAKE2b-256 |
019fdf94cb1677aa6f2e0ee968f6b2221dabf4617fe49d0d38ca05e044e9e52c
|
Provenance
The following attestation bundles were made for device_frames_core-0.1.5.tar.gz:
Publisher:
updatePyPi.yml on jonnyjackson26/device-frames-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
device_frames_core-0.1.5.tar.gz -
Subject digest:
fd0dd7b2573969a7baef104124f0b32b53b3e94b47d58e5062076c202014f720 - Sigstore transparency entry: 997697276
- Sigstore integration time:
-
Permalink:
jonnyjackson26/device-frames-core@399f92d5949b128b7bd7f491d865540d3a2d843d -
Branch / Tag:
refs/tags/v0.1.5 - Owner: https://github.com/jonnyjackson26
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
updatePyPi.yml@399f92d5949b128b7bd7f491d865540d3a2d843d -
Trigger Event:
release
-
Statement type:
File details
Details for the file device_frames_core-0.1.5-py3-none-any.whl.
File metadata
- Download URL: device_frames_core-0.1.5-py3-none-any.whl
- Upload date:
- Size: 28.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0757d65f694839367d7f7ce15c125ba52397f82e386bdb4c00a889e329bf905e
|
|
| MD5 |
4dc0598a3f5a4ed0d19038a43dcb4c4b
|
|
| BLAKE2b-256 |
6bd0eb55ec85cff01a10488ea2aac36f91ca1cb0d37bbf2578efc6ea44787ba9
|
Provenance
The following attestation bundles were made for device_frames_core-0.1.5-py3-none-any.whl:
Publisher:
updatePyPi.yml on jonnyjackson26/device-frames-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
device_frames_core-0.1.5-py3-none-any.whl -
Subject digest:
0757d65f694839367d7f7ce15c125ba52397f82e386bdb4c00a889e329bf905e - Sigstore transparency entry: 997697346
- Sigstore integration time:
-
Permalink:
jonnyjackson26/device-frames-core@399f92d5949b128b7bd7f491d865540d3a2d843d -
Branch / Tag:
refs/tags/v0.1.5 - Owner: https://github.com/jonnyjackson26
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
updatePyPi.yml@399f92d5949b128b7bd7f491d865540d3a2d843d -
Trigger Event:
release
-
Statement type: