wagtail-unsplash


Namewagtail-unsplash JSON
Version 1.0.1 PyPI version JSON
download
home_page
SummaryUse unsplash.com images in your Wagtail site
upload_time2024-03-10 22:46:30
maintainer
docs_urlNone
authorCameron Lamb
requires_python>=3.11,<4.0
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # [Wagtail Unsplash](https://pypi.org/project/wagtail-unsplash/)  [![PyPI](https://img.shields.io/pypi/v/wagtail-unsplash.svg)](https://pypi.org/project/wagtail-unsplash/)

![Screenshot showing wagtail-unsplash search results](https://i.imgur.com/Va0kCys.png)

Search for Unsplash images and upload to the Wagtail image library.

This package uses the [python-unsplash](https://github.com/yakupadakli/python-unsplash) API wrapper:

## Setup

Install using pip:

```sh
pip install wagtail-unsplash
```

After installing the package, add `wagtail_unsplash` to installed apps in your settings file:

```python
# settings.py

INSTALLED_APPS = [
    ...
    'wagtail_unsplash',
    ...
]
```

and add the API credentials:

```python
# settings.py
WAGTAIL_UNSPLASH = {
    "CLIENT_ID": "",
    "CLIENT_SECRET": ""
}
```

You can get the needed information by creating an application at https://unsplash.com/developers

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "wagtail-unsplash",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.11,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "Cameron Lamb",
    "author_email": "jafacakes2011@hotmail.co.uk",
    "download_url": "https://files.pythonhosted.org/packages/93/cc/da883bfcaef64d57edc9ef499011a78c2d2a891a14ca67aa9023d611e3aa/wagtail_unsplash-1.0.1.tar.gz",
    "platform": null,
    "description": "# [Wagtail Unsplash](https://pypi.org/project/wagtail-unsplash/)  [![PyPI](https://img.shields.io/pypi/v/wagtail-unsplash.svg)](https://pypi.org/project/wagtail-unsplash/)\n\n![Screenshot showing wagtail-unsplash search results](https://i.imgur.com/Va0kCys.png)\n\nSearch for Unsplash images and upload to the Wagtail image library.\n\nThis package uses the [python-unsplash](https://github.com/yakupadakli/python-unsplash) API wrapper:\n\n## Setup\n\nInstall using pip:\n\n```sh\npip install wagtail-unsplash\n```\n\nAfter installing the package, add `wagtail_unsplash` to installed apps in your settings file:\n\n```python\n# settings.py\n\nINSTALLED_APPS = [\n    ...\n    'wagtail_unsplash',\n    ...\n]\n```\n\nand add the API credentials:\n\n```python\n# settings.py\nWAGTAIL_UNSPLASH = {\n    \"CLIENT_ID\": \"\",\n    \"CLIENT_SECRET\": \"\"\n}\n```\n\nYou can get the needed information by creating an application at https://unsplash.com/developers\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Use unsplash.com images in your Wagtail site",
    "version": "1.0.1",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b4bb05dc09d5fff430c3366bbb4cfdccd36eebc9d6fdb332926964ae4303d6ff",
                "md5": "762a505f0fc15fd447586ff6db7223ee",
                "sha256": "04356bd5252187623fe8c565374533275e45d84fb6fa54d78521d2dff9ee06dc"
            },
            "downloads": -1,
            "filename": "wagtail_unsplash-1.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "762a505f0fc15fd447586ff6db7223ee",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11,<4.0",
            "size": 7202,
            "upload_time": "2024-03-10T22:46:28",
            "upload_time_iso_8601": "2024-03-10T22:46:28.865320Z",
            "url": "https://files.pythonhosted.org/packages/b4/bb/05dc09d5fff430c3366bbb4cfdccd36eebc9d6fdb332926964ae4303d6ff/wagtail_unsplash-1.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "93ccda883bfcaef64d57edc9ef499011a78c2d2a891a14ca67aa9023d611e3aa",
                "md5": "9d5887815ab025b5ecaf9607467d961a",
                "sha256": "8d8c9850d5c885e5598f90cad8d36dbff1b6499f9eb659682380f49ddf903b39"
            },
            "downloads": -1,
            "filename": "wagtail_unsplash-1.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "9d5887815ab025b5ecaf9607467d961a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11,<4.0",
            "size": 5065,
            "upload_time": "2024-03-10T22:46:30",
            "upload_time_iso_8601": "2024-03-10T22:46:30.615519Z",
            "url": "https://files.pythonhosted.org/packages/93/cc/da883bfcaef64d57edc9ef499011a78c2d2a891a14ca67aa9023d611e3aa/wagtail_unsplash-1.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-10 22:46:30",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "wagtail-unsplash"
}
        
Elapsed time: 0.20476s