Skip to main content

device-frames-core

Python core library for applying device frames to screenshots and retrieving up-to-date media of device frame PNGs (with metadata)

apply_frame function example

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

Metadata

Release files for device-frames-core 0.1.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for device-frames-core 0.1.8
File Size Uploaded Provenance Actions
device_frames_core-0.1.8.tar.gz 41.3 kB With provenance Details for device_frames_core-0.1.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for device-frames-core 0.1.8
File Interpreter ABI Platform Actions
device_frames_core-0.1.8-py3-none-any.whl Python 3 none any Details for device_frames_core-0.1.8-py3-none-any.whl

Total release size: 69.8 kB

Release files / device_frames_core-0.1.8.tar.gz

Download URL device_frames_core-0.1.8.tar.gz
Size 41.3 kB
Tags Source
SHA-256 checksum
How to use checksums
38c1aa92c6dba43f96ac52f6e1c5d85a30f38f92c994f1e0f90cd1c5455354b3
BLAKE2b-256 checksum
How to use checksums
b6778f9dda46da6ca6f1f96de6ff8d72709b448a32f1d662e5b13294eb98105e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 7, 2026.

Transparency log

Release files / device_frames_core-0.1.8-py3-none-any.whl

Download URL device_frames_core-0.1.8-py3-none-any.whl
Size 28.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c841feada0e2bbb34d5a0ee7673d49515835977348ef83df80e5bbed43154f38
BLAKE2b-256 checksum
How to use checksums
240901b842b2befe4837fb7389a3ffcb72d77a6d8bfe9cbae76834db6019c0e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 7, 2026.

Transparency log

Security for device-frames-core 0.1.8

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for device_frames_core-0.1.8.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 7, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page