{
"info": {
"author": "Gertjan van den Burg",
"author_email": "gertjanvandenburg@gmail.com",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.0",
"Programming Language :: Python :: 3.1",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6"
],
"description": "==============\nHugoPhotoSwipe\n==============\n\nHugoPhotoSwipe is a command line application to easily create and manage \n`PhotoSwipe `_ albums when using the `Hugo \n`_ static website generator.\n\nWhy?\n====\n\nI created my personal website using Hugo, so all source documents are created \nas Markdown files. I wanted to have photo albums on the site as well, using \nthe PhotoSwipe viewer. I also wanted to easily set photo descriptions, quickly \nupdate albums when photos change, and have responsive image sizes and \nthumbnails automatically generated. HugoPhotoSwipe makes all this easily \npossible.\n\nSee my blog post `here `_ \nfor more about my motivations for making this tool.\n\nHow?\n====\n\nPhotoSwipe requires some Javascript and a specific HTML format to work, and \nHugo generally works with Markdown files. So, this program creates a markdown \nfile for Hugo to work with based on Hugo *shortcodes*. These shortcode are \nthen used to create the HTML code that PhotoSwipe needs. See the ``docs`` \ndirectory for the shortcodes.\n\nInstallation\n------------\n\nHugoPhotoSwipe is available on PyPI, you can install it easily with pip::\n\n pip install hugophotoswipe\n\nAfter installation, you should be left with a ``hps`` program.\n\nUsage\n-----\n\n*This is a brief overview. See the* `Wiki \n`_ *for a full description.*\n\nCreate a new directory for HugoPhotoSwipe and switch to it. For instance::\n\n mkdir hugophotos\n cd hugophotos\n\nNext, initialize a HugoPhotoSwipe configuration with::\n\n hps init\n\nThis creates a new HugoPhotoSwipe configuration file, called \n``hugophotoswipe.yml``. This is a `YAML file \n`_. In this configuration file, you need \nto set at least the ``markdown_dir`` and ``output_dir`` variables. These are \nrespectively the directory where the markdown needs to be placed and the \ndirectory where the processed photos need to be placed. You may also want to \nset the ``url_prefix`` variable, which is added before the path to the photo \nfiles.\n\nCreate a new album using::\n\n hps new\n\nHugoPhotoSwipe will ask you for the name of the new album, and create a \ndirectory with that name for you. Try to keep the names short, they are not \nthe final title of the album. Spaces in the name are automatically replaced \nwith underscores. In the new directory you will find an ``album.yml`` file and \nan empty ``photos`` directory.\n\nAt this point, you should place some photos in the ``photos`` directory and \nset the title field of the album in the ``album.yml`` file. You can also set \nthe album date, the copyright line, and the filename of the coverimage. \nKey/Value pairs you place under the ``properties`` line will be placed in the \npreamble of the markdown file, so you can use them in Hugo layouts. For \ninstance, you may want to add a country field, camera details, etc.\n\nIn the main directory (where the ``hugophotoswipe.yml`` file is), you can now \nrun::\n\n hps update\n\nTo create the markdown file, the resized photos, and will update the \n``album.yml`` file. HugoPhotoSwipe creates large and small photo sizes, as \nwell as thumbnails using `SmartCrop.py \n`_. \n\nIf you now open the ``album.yml`` file, you'll notice that the fields for the \nphotos and the hashes have been extended. Under ``photos:`` all the photos in \nthe directory will be listed, with for each photo a ``file``, ``name``, \n``alt``, and ``caption`` field. The last three fields can be edited by you. \nDoing this can be useful for SEO of your photos, but is not required. The \n``hashes`` field in the ``album.yml`` file is used to detect changes in the \nphotos, and don't need to be edited by you.\n\nFinally, if you want to regenerate all the markdown and resized photos, you \ncan always use::\n\n hps clean\n\nto clean everything. This will of course not touch the original photo files.\n\nNotes\n=====\n\nI've noticed that thumbnails are slightly nicer with `SmartCrop.js \n`_ than with `SmartCrop.py \n`_. So, in the ``hugophotoswipe.yml`` \nfile, you can set the option ``use_smartcrop_js`` to ``True`` and the \n``smartcrop_js_path`` to the path of the `smartcrop-cli.js \n`_ utility. This ensures thumbnails \nare created with SmartCrop.js.\n\nHugoPhotoSwipe is free software, licensed under the GNU General Public \nLicense, version 3 or later (GPLv3). Copyright G.J.J. van den Burg, all rights \nreserved. \n\nIf you have encounter any problems, please open an issue on `GitHub \n`_. You can contact me here: \n`@GJJvandenBurg `_.",
"description_content_type": "",
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://www.github.com/GjjvdBurg/HugoPhotoSwipe",
"keywords": "",
"license": "GPL v3",
"maintainer": "",
"maintainer_email": "",
"name": "hugophotoswipe",
"package_url": "https://pypi.org/project/hugophotoswipe/",
"platform": "",
"project_url": "https://pypi.org/project/hugophotoswipe/",
"project_urls": {
"Homepage": "https://www.github.com/GjjvdBurg/HugoPhotoSwipe"
},
"release_url": "https://pypi.org/project/hugophotoswipe/0.2.3/",
"requires_dist": null,
"requires_python": "",
"summary": "Tool for creating and managing PhotoSwipe albums in Hugo",
"version": "0.2.3"
},
"last_serial": 4829749,
"releases": {
"0.0.1": [
{
"comment_text": "",
"digests": {
"md5": "7c5c8bde84223e9549f5e259bd564fd4",
"sha256": "1c817ad06476f32b965ae2cbd6f241ba87fdcaeb984b1bd760605feb5a11c0f0"
},
"downloads": -1,
"filename": "hugophotoswipe-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "7c5c8bde84223e9549f5e259bd564fd4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 9389,
"upload_time": "2016-12-24T10:58:31",
"url": "https://files.pythonhosted.org/packages/d2/1f/32b906a7f9f2e3a2b02c35d3079fcda4e3fdd8bd1dc39cba29034241f398/hugophotoswipe-0.0.1.tar.gz"
}
],
"0.0.10": [
{
"comment_text": "",
"digests": {
"md5": "6113194342b1926bca46a4e45e0eec9b",
"sha256": "051aa4a72d58eb3e527da8a0c993817a58d9d15da585071041954b073e31e422"
},
"downloads": -1,
"filename": "hugophotoswipe-0.0.10.tar.gz",
"has_sig": false,
"md5_digest": "6113194342b1926bca46a4e45e0eec9b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 11282,
"upload_time": "2017-01-25T21:38:17",
"url": "https://files.pythonhosted.org/packages/01/fb/4037dd6951472b242873b2a5c96e27f22e9c0c354732813d3773494e4b8d/hugophotoswipe-0.0.10.tar.gz"
}
],
"0.0.11": [
{
"comment_text": "",
"digests": {
"md5": "e9b7115c832f799aa16e0b8d2147403d",
"sha256": "db3694befa4f9cea9bfacfbb63b5549f8d9030bcb8a56ef6211876c14dc69afa"
},
"downloads": -1,
"filename": "hugophotoswipe-0.0.11.tar.gz",
"has_sig": false,
"md5_digest": "e9b7115c832f799aa16e0b8d2147403d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 11436,
"upload_time": "2017-02-09T05:02:56",
"url": "https://files.pythonhosted.org/packages/a8/03/f144bb1b358fdf58b16916f8846dddec78d4606c1e07f1d0713f32fb36ab/hugophotoswipe-0.0.11.tar.gz"
}
],
"0.0.12": [
{
"comment_text": "",
"digests": {
"md5": "39a87094380feec15bfd0af3b1cb7a93",
"sha256": "17c33ac873db2addaa4a4d93de79aef58cae1683b58cf674c5b4d09f660133b6"
},
"downloads": -1,
"filename": "hugophotoswipe-0.0.12.tar.gz",
"has_sig": false,
"md5_digest": "39a87094380feec15bfd0af3b1cb7a93",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 11496,
"upload_time": "2017-02-13T00:15:25",
"url": "https://files.pythonhosted.org/packages/46/43/f92526b59b9ab7a5ba49535ccc987e123ece930397218adfb299065aa1ec/hugophotoswipe-0.0.12.tar.gz"
}
],
"0.0.13": [
{
"comment_text": "",
"digests": {
"md5": "a16e7558ad26c5bc7667d7f332ba8a3f",
"sha256": "636038cdc54d6bd57e34793fdac581c251e1a61d1b12ef966ceb06fb2034b52b"
},
"downloads": -1,
"filename": "hugophotoswipe-0.0.13.tar.gz",
"has_sig": false,
"md5_digest": "a16e7558ad26c5bc7667d7f332ba8a3f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 12052,
"upload_time": "2017-03-26T15:56:51",
"url": "https://files.pythonhosted.org/packages/75/ba/bb5f078121e5cc5f8c2ac11121158219e1da1b9b909bd47a6e321bd4460c/hugophotoswipe-0.0.13.tar.gz"
}
],
"0.0.14": [
{
"comment_text": "",
"digests": {
"md5": "de45617a64187409d0a4a0ca681a8ac5",
"sha256": "8bb955ed4922439a1dcea53068fb55de8d2e30279d2c337d5309a473ce2fe5c8"
},
"downloads": -1,
"filename": "hugophotoswipe-0.0.14.tar.gz",
"has_sig": false,
"md5_digest": "de45617a64187409d0a4a0ca681a8ac5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 12172,
"upload_time": "2017-04-19T19:40:16",
"url": "https://files.pythonhosted.org/packages/54/ba/07b60c965cfd9058a1be772713f32e210b6933f8bbe475479cd2032dbd9e/hugophotoswipe-0.0.14.tar.gz"
}
],
"0.0.15": [
{
"comment_text": "",
"digests": {
"md5": "e0c9ca7f882bdab314f25d7956adb941",
"sha256": "0b90378a98493b40fd49befcb66b5a88327a9c06c1d9b12504ea23ce71b6bb78"
},
"downloads": -1,
"filename": "hugophotoswipe-0.0.15.tar.gz",
"has_sig": false,
"md5_digest": "e0c9ca7f882bdab314f25d7956adb941",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 12521,
"upload_time": "2017-06-08T15:48:19",
"url": "https://files.pythonhosted.org/packages/0b/70/d9a9590e4cd00d4b760e51eb5d7d69de97953efdf57dc660e8777ba980ec/hugophotoswipe-0.0.15.tar.gz"
}
],
"0.0.16": [
{
"comment_text": "",
"digests": {
"md5": "7250bf38e5e3462d563d4f5f416d1122",
"sha256": "8427dad6ab2e9f0e672eabf103a8e25770d69b1fc3f10f7c542b173f8eb59b27"
},
"downloads": -1,
"filename": "hugophotoswipe-0.0.16.tar.gz",
"has_sig": false,
"md5_digest": "7250bf38e5e3462d563d4f5f416d1122",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 12523,
"upload_time": "2017-06-09T23:12:25",
"url": "https://files.pythonhosted.org/packages/cf/c3/8089d78c4e16dba66c32688fcee342685ee088e9bc15e61aaf775c2dea55/hugophotoswipe-0.0.16.tar.gz"
}
],
"0.0.2": [
{
"comment_text": "",
"digests": {
"md5": "815c06eca806f5e8fa9b10d88b9ee356",
"sha256": "cb63b67e78733073808a8c67c722315512dfa4356047875ecb4edac274ebe62f"
},
"downloads": -1,
"filename": "hugophotoswipe-0.0.2.tar.gz",
"has_sig": false,
"md5_digest": "815c06eca806f5e8fa9b10d88b9ee356",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 9932,
"upload_time": "2016-12-24T11:03:46",
"url": "https://files.pythonhosted.org/packages/cc/1c/816e1e03626ab229fd4c870b1ced929acb69efbe7da6904cfb03ffbf4fd1/hugophotoswipe-0.0.2.tar.gz"
}
],
"0.0.3": [
{
"comment_text": "",
"digests": {
"md5": "03598c80dbab7fa56a243f13042dd2f1",
"sha256": "ac32835733ea7b2c868e3ff3fcbec3712013e7428d0af48f41e6aaefebaa5ef3"
},
"downloads": -1,
"filename": "hugophotoswipe-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "03598c80dbab7fa56a243f13042dd2f1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 10273,
"upload_time": "2016-12-25T12:33:10",
"url": "https://files.pythonhosted.org/packages/bc/b5/396daa2779fe7bd63da392e7639e5ebf2ef64d03b9b03a1a68086be89b5b/hugophotoswipe-0.0.3.tar.gz"
}
],
"0.0.4": [
{
"comment_text": "",
"digests": {
"md5": "908c3a1c885d1c135f6b62a474cb9a7b",
"sha256": "0f5a8a8fc3bae0d68341737016da4dd8d254c8ca003b02e87a1cfaffffdab40b"
},
"downloads": -1,
"filename": "hugophotoswipe-0.0.4.tar.gz",
"has_sig": false,
"md5_digest": "908c3a1c885d1c135f6b62a474cb9a7b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 10297,
"upload_time": "2016-12-25T21:18:24",
"url": "https://files.pythonhosted.org/packages/9b/6a/71b9a4893263697ad7661222530b41a2dd4c16c9b353f105a055fba18e40/hugophotoswipe-0.0.4.tar.gz"
}
],
"0.0.5": [
{
"comment_text": "",
"digests": {
"md5": "87062a310c2ec26c55a038300a9bb55f",
"sha256": "f36b285886d4a90a99a3a166b8d7e229600a0fc79da7b4b4c53aa6e1e6c23bbb"
},
"downloads": -1,
"filename": "hugophotoswipe-0.0.5.tar.gz",
"has_sig": false,
"md5_digest": "87062a310c2ec26c55a038300a9bb55f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 10380,
"upload_time": "2016-12-28T13:52:40",
"url": "https://files.pythonhosted.org/packages/9b/7c/e3f35fa6eef856da02b3a5e4dcae231ba6117ba9641a7789d8db429756d2/hugophotoswipe-0.0.5.tar.gz"
}
],
"0.0.6": [
{
"comment_text": "",
"digests": {
"md5": "8cb21865fd970bbf2127e89edcab62f9",
"sha256": "87162626c382f46b31b803cab0547ca16fe0bc3a02236835b9f1c7ea9e34ea4e"
},
"downloads": -1,
"filename": "hugophotoswipe-0.0.6.tar.gz",
"has_sig": false,
"md5_digest": "8cb21865fd970bbf2127e89edcab62f9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 10637,
"upload_time": "2016-12-29T22:06:14",
"url": "https://files.pythonhosted.org/packages/b0/c0/91087715b79fbbd29f1fc335a66a3e78d863b5416ac8fb3be7526485e294/hugophotoswipe-0.0.6.tar.gz"
}
],
"0.0.7": [
{
"comment_text": "",
"digests": {
"md5": "0b3834f809d6660c9b246442f784fdaa",
"sha256": "bd0b90f11b8bec9228475629102e50772c0140eefb3b9021dce5dae5f514e525"
},
"downloads": -1,
"filename": "hugophotoswipe-0.0.7.tar.gz",
"has_sig": false,
"md5_digest": "0b3834f809d6660c9b246442f784fdaa",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 11055,
"upload_time": "2017-01-01T15:03:51",
"url": "https://files.pythonhosted.org/packages/f6/46/0192bc33645958b7bd5ed58d54f491207fc836876b78130a55a8437fea57/hugophotoswipe-0.0.7.tar.gz"
}
],
"0.0.8": [
{
"comment_text": "",
"digests": {
"md5": "e5cc1cac84bdab5ef7825a3f4f3486aa",
"sha256": "e22bef1836240051aa15da2dc8aae97046d4d2db8ee5fc67cecb5a0326b59bab"
},
"downloads": -1,
"filename": "hugophotoswipe-0.0.8.tar.gz",
"has_sig": false,
"md5_digest": "e5cc1cac84bdab5ef7825a3f4f3486aa",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 11083,
"upload_time": "2017-01-20T09:54:55",
"url": "https://files.pythonhosted.org/packages/de/55/4b6471de531840deff828628fdaabf90abe8098117d929c88b8bdc113b53/hugophotoswipe-0.0.8.tar.gz"
}
],
"0.0.9": [
{
"comment_text": "",
"digests": {
"md5": "d3f53e58b1fad737553b22f96bd60b15",
"sha256": "e164affaa3ab3337820e28ba4dc94f898a8e5685217df0016a0c3522af6aa883"
},
"downloads": -1,
"filename": "hugophotoswipe-0.0.9.tar.gz",
"has_sig": false,
"md5_digest": "d3f53e58b1fad737553b22f96bd60b15",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 11200,
"upload_time": "2017-01-22T13:31:11",
"url": "https://files.pythonhosted.org/packages/b2/83/7e0148bbbad77efd9fbd7d83239c2c989487d62980da75b0613462498045/hugophotoswipe-0.0.9.tar.gz"
}
],
"0.1.0": [
{
"comment_text": "",
"digests": {
"md5": "cb17b178943d767e62eb2cb45e1ae2ef",
"sha256": "1c1b3e730b5747bc12ee843b402913afba1a3532cf63042c11e6df1bef9a9ab8"
},
"downloads": -1,
"filename": "hugophotoswipe-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "cb17b178943d767e62eb2cb45e1ae2ef",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 13307,
"upload_time": "2017-06-16T09:34:26",
"url": "https://files.pythonhosted.org/packages/69/2c/e04c33a0b769c604fdc3ecfbe638cd36fbe132a7797dcb5c5a4e8b90332b/hugophotoswipe-0.1.0.tar.gz"
}
],
"0.1.1": [
{
"comment_text": "",
"digests": {
"md5": "a19b603dfc0a24205aef43f6d5a61f62",
"sha256": "ae9c545b268fac11c6398d5c219ab18011a78df26c334227f9eea0f1caeb07ac"
},
"downloads": -1,
"filename": "hugophotoswipe-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "a19b603dfc0a24205aef43f6d5a61f62",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 13364,
"upload_time": "2017-07-05T06:08:28",
"url": "https://files.pythonhosted.org/packages/46/27/b55b739d1d8924a6814ede4fdef6dabe2c6faf95aa644a5584f73d1cbb64/hugophotoswipe-0.1.1.tar.gz"
}
],
"0.2.0": [
{
"comment_text": "",
"digests": {
"md5": "885c570155726a2c22da4dea551f35fe",
"sha256": "5eb7f9c6351d7e4f788e30057befb001581c9c4194b01160da1b71bc5f1b8733"
},
"downloads": -1,
"filename": "hugophotoswipe-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "885c570155726a2c22da4dea551f35fe",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 533089,
"upload_time": "2017-11-05T23:14:00",
"url": "https://files.pythonhosted.org/packages/0b/aa/7c2f8e6f2391d7e8776aa6be911bef85bf4e60f03bd5bddf099f15ea8a45/hugophotoswipe-0.2.0.tar.gz"
}
],
"0.2.1": [
{
"comment_text": "",
"digests": {
"md5": "1648436d570c92dd73510c2d6e0ed057",
"sha256": "711d11174fd843fef5049206d6e9b0152def2bf684981a8df17557733b35cba5"
},
"downloads": -1,
"filename": "hugophotoswipe-0.2.1.tar.gz",
"has_sig": false,
"md5_digest": "1648436d570c92dd73510c2d6e0ed057",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 533072,
"upload_time": "2018-01-08T16:48:08",
"url": "https://files.pythonhosted.org/packages/3f/27/0c01bb9966893b89c73ce1616e5b3c533541e5bbdd1dc15bb1f8e8a14e86/hugophotoswipe-0.2.1.tar.gz"
}
],
"0.2.2": [
{
"comment_text": "",
"digests": {
"md5": "b9e4126fd0cb8f9803c073127f3d2e4c",
"sha256": "d3c9d74a162eb798375b54399b640ccfe5411463cf45d7754f3d6a4e0c67020f"
},
"downloads": -1,
"filename": "hugophotoswipe-0.2.2.tar.gz",
"has_sig": false,
"md5_digest": "b9e4126fd0cb8f9803c073127f3d2e4c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 533153,
"upload_time": "2018-03-05T10:34:35",
"url": "https://files.pythonhosted.org/packages/c9/45/298acb08f5142200ca09e78973edc648690aa11d966dc69884243b67cc62/hugophotoswipe-0.2.2.tar.gz"
}
],
"0.2.3": [
{
"comment_text": "",
"digests": {
"md5": "c9a9cbcf4b799ab03e202654a6f7ba82",
"sha256": "3e6e6de17b9dfae0a3956b08fcde4cdec8204e6bfab262595cf25b9880991a16"
},
"downloads": -1,
"filename": "hugophotoswipe-0.2.3.tar.gz",
"has_sig": false,
"md5_digest": "c9a9cbcf4b799ab03e202654a6f7ba82",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 535558,
"upload_time": "2019-02-16T21:20:26",
"url": "https://files.pythonhosted.org/packages/d7/05/40587b0e301670da940979a68202fc52af70a7daa1e158dfccb8f0eb885a/hugophotoswipe-0.2.3.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "c9a9cbcf4b799ab03e202654a6f7ba82",
"sha256": "3e6e6de17b9dfae0a3956b08fcde4cdec8204e6bfab262595cf25b9880991a16"
},
"downloads": -1,
"filename": "hugophotoswipe-0.2.3.tar.gz",
"has_sig": false,
"md5_digest": "c9a9cbcf4b799ab03e202654a6f7ba82",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 535558,
"upload_time": "2019-02-16T21:20:26",
"url": "https://files.pythonhosted.org/packages/d7/05/40587b0e301670da940979a68202fc52af70a7daa1e158dfccb8f0eb885a/hugophotoswipe-0.2.3.tar.gz"
}
]
}