Skip to content

[Feature] I created a Python version of the Pexels API client #16

@Adoubf

Description

@Adoubf

Hi Pexels team 👋,

I just wanted to share that I’ve built and released a Python version of the Pexels API client 🎉.
Right now, I believe the official SDKs are available mainly for JavaScript (and maybe a few others), but Python developers didn’t have an official or feature-complete option — so I made one.

Repo: https://github.com/Adoubf/pexels-python
PyPI: https://pypi.org/project/pexels-python/

✨ Features

  • Sync and async clients (powered by httpx)
  • Automatic retries for rate limiting (429) with exponential backoff
  • Pagination iterators
  • Smart caching (in-memory + Redis)
  • Rich exception classes with detailed context
  • Pretty logging with rich
  • Full type hints

Why I’m posting here

I thought it might be helpful for the Pexels community and could even be listed alongside official SDKs in the docs.
Happy to collaborate if you’d like to make it official or provide feedback.

Thanks for the awesome API ❤️ — it’s been a pleasure to work with!

Best,
Adoubf

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions