Skip to main content

Unsplash connector for Python

Install with pip install dex-connector-unsplash==0.1.0. The package requires dex-connectors-sdk==0.1.0 and dex-python-sdk>=1.28.0, and implements the manifest Queries searchPhotos and getPhoto with the same branches, defaults, and failure classification as the Go module.

Operations

Operation Factory Happy branch Optional branches
searchPhotos new_search_photos_step searched providerRejected, invalidResponse, defect
getPhoto new_get_photo_step found notFound, providerRejected, invalidResponse, defect

searchPhotos requires a phrase and accepts per_page up to 30. Every photo must carry an ID, a photographer name, and HTTPS page, image, and photographer links, or the response is invalidResponse. getPhoto maps 404 to notFound. 408, 429, 5xx, and transport failures retry; 401 and 403 select providerRejected with authentication and authorization kinds.

Authorization

Create a Dex Web connection named unsplash as described in the connector README. The access key travels only in the Authorization: Client-ID header and is resolved for every attempt.

Example

examples/photo_search searches photos by phrase and records the page. Run the Worker with uv run python -m examples.photo_search.worker after dexcli dev has loaded a project containing the unsplash connection.

Tests

unsplashmock.Mock scripts both Queries and defaults to the manifest answers. Run uv run pytest tests for provider parity and manifest contract checks.

Metadata

Release files for dex-connector-unsplash 0.1.0

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

Source distribution (sdist)

Source distribution for dex-connector-unsplash 0.1.0
File Size Uploaded Provenance Actions
dex_connector_unsplash-0.1.0.tar.gz 72.2 kB Without provenance Details for dex_connector_unsplash-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dex-connector-unsplash 0.1.0
File Interpreter ABI Platform Actions
dex_connector_unsplash-0.1.0-py3-none-any.whl Python 3 none any Details for dex_connector_unsplash-0.1.0-py3-none-any.whl

Total release size: 89.5 kB

Release files / dex_connector_unsplash-0.1.0.tar.gz

Download URL dex_connector_unsplash-0.1.0.tar.gz
Size 72.2 kB
Tags Source
SHA-256 checksum
How to use checksums
da01ce93570bf53c95e4e5a8eae37db88c2d1db5c9e4db5f8c80ec3e83e5d2b1
BLAKE2b-256 checksum
How to use checksums
67e399a6cb3bd1b3f5e7b6c835a38345d3e062d746079c1d020ffdd81b7f3a68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / dex_connector_unsplash-0.1.0-py3-none-any.whl

Download URL dex_connector_unsplash-0.1.0-py3-none-any.whl
Size 17.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5168b012ea8980dd82448c4f2c18ef38394361e394329568cee3d8e3a0029d7b
BLAKE2b-256 checksum
How to use checksums
402e76138b6b73cc47a3b0450505e99ebcc2d6a7eb4e84eeaa7048d4eab61baa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for dex-connector-unsplash 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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