{ "info": { "author": "Artemy Lomov", "author_email": "artemy@lomov.ru", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: MacOS", "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Topic :: Documentation", "Topic :: Utilities" ], "description": "# BindSympli\n\nBindSympli is a tool to download design layout images from [Sympli](https://sympli.io/) CDN using certain Sympli account, to resize these images, and to bind them with the documentation project.\n\n## Installation\n\nBefore using BindSympli, you need to install [Node.js](https://nodejs.org/en/), [Puppeteer](https://github.com/GoogleChrome/puppeteer), [wget](https://www.gnu.org/software/wget/), and [ImageMagick](https://imagemagick.org/).\n\nBindSympli preprocessor code is written in Python, but it uses the external script written in JavaScript. This script is provided in BindSympli package:\n\n```bash\n$ pip install foliantcontrib.bindsympli\n```\n\n## Config\n\nTo enable the preprocessor, add `bindsympli` to `preprocessors` section in the project config:\n\n```yaml\npreprocessors:\n - bindsympli\n```\n\nThe preprocessor has a number of options with the following default values:\n\n```yaml\npreprocessors:\n - bindsympli:\n get_sympli_img_urls_path: get_sympli_img_urls.js\n wget_path: wget\n convert_path: convert\n cache_dir: !path .bindsymplicache\n sympli_login: ''\n sympli_password: ''\n image_width: 800\n max_attempts: 5\n```\n\n`get_sympli_img_urls_path`\n: Path to the script `get_sympli_img_urls.js` or alternative command that launches it (e.g. `node some_another_script.js`). By default, it is assumed that you have this command and all other commands in `PATH`.\n\n`wget_path`\n: Path to `wget` binary.\n\n`convert_path`\n: Path to `convert` binary, a part of ImageMagick.\n\n`cache_dir`\n: Directory to store downloaded and resized images.\n\n`sympli_login`\n: Your username in Sympli account.\n\n`sympli_password`\n: Your password in Sympli account.\n\n`image_width`\n: Width of resulting images in pixels (original images are too large).\n\n`max_attempts`\n: Maximum number of attempts to run the script `get_sympli_img_urls.js` on fails.\n\n## Usage\n\nTo insert a design layout image from Sympli into your documentation, use `<...` tags in Markdown source:\n\n```markdown\nHere\u2019s an image from Sympli:\n\n<\n```\n\nYou have to specify the URL of Sympli design layout page in `url` attribute.\n\nYou may specify an optional caption in the `caption` attribute, and an optional custom image width in the `width` attribute. The `width` attribute overrides the `image_width` config option for a certain image.\n\nBindSympli preprocessor will replace such blocks with local image references.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/foliant-docs/foliantcontrib.bindsympli", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "foliantcontrib.bindsympli", "package_url": "https://pypi.org/project/foliantcontrib.bindsympli/", "platform": "", "project_url": "https://pypi.org/project/foliantcontrib.bindsympli/", "project_urls": { "Homepage": "https://github.com/foliant-docs/foliantcontrib.bindsympli" }, "release_url": "https://pypi.org/project/foliantcontrib.bindsympli/1.0.14/", "requires_dist": [ "foliant (>=1.0.8)" ], "requires_python": "", "summary": "Sympli integration preprocessor for Foliant.", "version": "1.0.14" }, "last_serial": 5759628, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "fcc66ff539d868f89202b9651ed79324", "sha256": "f5fbf6fe939b9f2b4f009b8e6bdbca014c2036ff246cf5e9a48c4be5cb8e993a" }, "downloads": -1, "filename": "foliantcontrib.bindsympli-1.0.0.tar.gz", "has_sig": false, "md5_digest": "fcc66ff539d868f89202b9651ed79324", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5799, "upload_time": "2018-03-27T10:23:27", "url": "https://files.pythonhosted.org/packages/e2/8e/43c6d3b0309095d870a7766c9a78d4c850ee12b13bd3c90542abf289a22f/foliantcontrib.bindsympli-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "0a351fdd314c26ab34ee6bd82775a1c9", "sha256": "fcbaeac56969ee6a56279cc5920e3b78523be8e948d42fdb41d41b462a2488ac" }, "downloads": -1, "filename": "foliantcontrib.bindsympli-1.0.1.tar.gz", "has_sig": false, "md5_digest": "0a351fdd314c26ab34ee6bd82775a1c9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5834, "upload_time": "2018-03-27T11:17:13", "url": "https://files.pythonhosted.org/packages/0c/f4/8de570a155fc86020b5f9ad5e8533cdc80fb923c4a0022ed722fe14d11ca/foliantcontrib.bindsympli-1.0.1.tar.gz" } ], "1.0.10": [ { "comment_text": "", "digests": { "md5": "cf1c93330fe927f2eb58187ffc4fb231", "sha256": "078660319407d7daf84c5e977817926a3a0b9ae0e894c59292491dc5430e9e44" }, "downloads": -1, "filename": "foliantcontrib.bindsympli-1.0.10.tar.gz", "has_sig": false, "md5_digest": "cf1c93330fe927f2eb58187ffc4fb231", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5739, "upload_time": "2018-12-20T14:57:26", "url": "https://files.pythonhosted.org/packages/eb/18/8fd9acead397ca7d8de1770d666ff6a8241f744ba144ce7f6a9b2b7729e5/foliantcontrib.bindsympli-1.0.10.tar.gz" } ], "1.0.11": [ { "comment_text": "", "digests": { "md5": "12747f9deb0b066e52c12c71931f8536", "sha256": "69c95781a30628e312936a703b04204d3d426b2393d4e56e76b69b4911be5067" }, "downloads": -1, "filename": "foliantcontrib.bindsympli-1.0.11.tar.gz", "has_sig": false, "md5_digest": "12747f9deb0b066e52c12c71931f8536", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5884, "upload_time": "2019-01-10T15:20:33", "url": "https://files.pythonhosted.org/packages/42/2b/d1e7dee9bcbf5b3e52ab3ce0480d20fc2ea6d88f969769af825346c9a0d9/foliantcontrib.bindsympli-1.0.11.tar.gz" } ], "1.0.12": [ { "comment_text": "", "digests": { "md5": "eb4952a4c50d4a8ff366228340d150be", "sha256": "7f525aef1874b84ebd2fddc46c93d28a1f172f5e358f8770b82f243b16fb9b86" }, "downloads": -1, "filename": "foliantcontrib.bindsympli-1.0.12.tar.gz", "has_sig": false, "md5_digest": "eb4952a4c50d4a8ff366228340d150be", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5945, "upload_time": "2019-04-30T13:42:46", "url": "https://files.pythonhosted.org/packages/52/98/60cdc2048a2b24e79c786992563501294d6e80f7adb6b95aa365c6725fac/foliantcontrib.bindsympli-1.0.12.tar.gz" } ], "1.0.13": [ { "comment_text": "", "digests": { "md5": "711d3d49c5256b350938779ba341fd4b", "sha256": "617bad22159fedebb03ad336bdc81d3152e64564db318b5cc4ff54bb6059a7f3" }, "downloads": -1, "filename": "foliantcontrib.bindsympli-1.0.13.tar.gz", "has_sig": false, "md5_digest": "711d3d49c5256b350938779ba341fd4b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5005, "upload_time": "2019-06-14T11:39:33", "url": "https://files.pythonhosted.org/packages/64/80/6c4527b818964059e57ce389551552792e1f8787ab6477edf9a9ca17bb4e/foliantcontrib.bindsympli-1.0.13.tar.gz" } ], "1.0.14": [ { "comment_text": "", "digests": { "md5": "eb99c744d8b81656784006f7a63d5b85", "sha256": "98b761f8a8897fa4183c2ab1e05ab97c390bfbc076d7804ee21ba1d69e009c13" }, "downloads": -1, "filename": "foliantcontrib.bindsympli-1.0.14-py3-none-any.whl", "has_sig": false, "md5_digest": "eb99c744d8b81656784006f7a63d5b85", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7579, "upload_time": "2019-07-16T10:54:55", "url": "https://files.pythonhosted.org/packages/a0/5c/4155bef6640e4f63eab5bd3fe2d11bb2c64f18e4314049ef34db25f8af53/foliantcontrib.bindsympli-1.0.14-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1a02f8de433b17a7c05714440a8f68a0", "sha256": "14ee38f031261b9bdbfadde9ad0232eae56f10a0d5f63205f4935413c47e0c88" }, "downloads": -1, "filename": "foliantcontrib.bindsympli-1.0.14.tar.gz", "has_sig": false, "md5_digest": "1a02f8de433b17a7c05714440a8f68a0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6082, "upload_time": "2019-07-16T10:54:56", "url": "https://files.pythonhosted.org/packages/bd/43/8377c6f9c986ba9c31512b73c8ffbb408d8c58c0610a80997bdedd79007e/foliantcontrib.bindsympli-1.0.14.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "a417ca77d1693b27e925c7c625041c43", "sha256": "2ca844256e9032a1b98bebf7c5337305cf058ba1ccf52cdd68defe63510e938e" }, "downloads": -1, "filename": "foliantcontrib.bindsympli-1.0.2.tar.gz", "has_sig": false, "md5_digest": "a417ca77d1693b27e925c7c625041c43", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5838, "upload_time": "2018-03-27T11:29:31", "url": "https://files.pythonhosted.org/packages/09/9c/5bae4fd6fdc7dd096d74d99c111b5c57f220bcd87ef4e37941f70c4c37c1/foliantcontrib.bindsympli-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "70b881be736a923a132b2211f8f25b66", "sha256": "971d481a83e9ef661ee7390973d14a888255d28bef6183bacf950efbd7f3ebde" }, "downloads": -1, "filename": "foliantcontrib.bindsympli-1.0.3.tar.gz", "has_sig": false, "md5_digest": "70b881be736a923a132b2211f8f25b66", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4946, "upload_time": "2018-04-10T10:50:51", "url": "https://files.pythonhosted.org/packages/bf/61/55a8bd62064dfb388775b4d1c9b257d5924c61dd9feeb77eb964ccd06101/foliantcontrib.bindsympli-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "8b12569b26740ecbeab340227d9b5dd8", "sha256": "3edecc122e5181170d35a713fc2381a2c5eb7dc9315b6ea3896fc41f9bfec6bc" }, "downloads": -1, "filename": "foliantcontrib.bindsympli-1.0.4.tar.gz", "has_sig": false, "md5_digest": "8b12569b26740ecbeab340227d9b5dd8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5184, "upload_time": "2018-04-10T11:20:04", "url": "https://files.pythonhosted.org/packages/ec/48/a47ee43db2e3a96dedab9f33a857e206c9f49a8957462374857aa840ad62/foliantcontrib.bindsympli-1.0.4.tar.gz" } ], "1.0.5": [ { "comment_text": "", "digests": { "md5": "d177d2522eb6df0dc8a3f189e14daf86", "sha256": "53d1c798dc8fef7eb619afd062108acdedcfc1e92cf8519bcb83ff42424429ee" }, "downloads": -1, "filename": "foliantcontrib.bindsympli-1.0.5.tar.gz", "has_sig": false, "md5_digest": "d177d2522eb6df0dc8a3f189e14daf86", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5420, "upload_time": "2018-04-20T15:49:42", "url": "https://files.pythonhosted.org/packages/21/04/61482d6fc2e2068f5ee56cbda32375ec2f1c20e879db48028e715635aac5/foliantcontrib.bindsympli-1.0.5.tar.gz" } ], "1.0.6": [ { "comment_text": "", "digests": { "md5": "358bf473cfc122fd6d69a1d7f85a9df4", "sha256": "b0dfff3bca1ba7f1f3f433b4da59272e746e8d16e022c9895dfaacbca69cbe17" }, "downloads": -1, "filename": "foliantcontrib.bindsympli-1.0.6.tar.gz", "has_sig": false, "md5_digest": "358bf473cfc122fd6d69a1d7f85a9df4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5331, "upload_time": "2018-09-12T11:40:30", "url": "https://files.pythonhosted.org/packages/f8/6e/e69f7efe5f6fa4ced66ae4814ed2801ae443fd8af29c243709b692f75aeb/foliantcontrib.bindsympli-1.0.6.tar.gz" } ], "1.0.7": [ { "comment_text": "", "digests": { "md5": "28f6041928184dfb50c77cd5789dfbbd", "sha256": "6ac29c2eee2f6438062f0c7858ca23d619d869eabd3f6a4f3af54965fc7de2e0" }, "downloads": -1, "filename": "foliantcontrib.bindsympli-1.0.7.tar.gz", "has_sig": false, "md5_digest": "28f6041928184dfb50c77cd5789dfbbd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5603, "upload_time": "2018-10-29T14:52:11", "url": "https://files.pythonhosted.org/packages/de/aa/1e01769865f44833d74dfb2cbd7a0c1c8c6b8c8085faba587617890fe9bb/foliantcontrib.bindsympli-1.0.7.tar.gz" } ], "1.0.8": [ { "comment_text": "", "digests": { "md5": "36ae0ac07f8530df04ed4041c8132360", "sha256": "665b310269d843ab9b10ae322b84143ee78d37d3fadf6c1e7a89d7e635154785" }, "downloads": -1, "filename": "foliantcontrib.bindsympli-1.0.8.tar.gz", "has_sig": false, "md5_digest": "36ae0ac07f8530df04ed4041c8132360", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5618, "upload_time": "2018-11-16T13:17:31", "url": "https://files.pythonhosted.org/packages/c4/dd/8fbe19ca09af4d4ecd52e289331fb0d368045b098237203205e93b092d36/foliantcontrib.bindsympli-1.0.8.tar.gz" } ], "1.0.9": [ { "comment_text": "", "digests": { "md5": "34632de0bde0c0725f00ea5826d1a08b", "sha256": "0c2a205f0d0471e731b44584bfc0ef4c018af11c428a65948c1c5d13399ded1b" }, "downloads": -1, "filename": "foliantcontrib.bindsympli-1.0.9.tar.gz", "has_sig": false, "md5_digest": "34632de0bde0c0725f00ea5826d1a08b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5542, "upload_time": "2018-12-06T14:57:37", "url": "https://files.pythonhosted.org/packages/13/99/5cefd63b9331e754373269fd1b68f55f6f03f19307657ac365ee42aeed3f/foliantcontrib.bindsympli-1.0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "eb99c744d8b81656784006f7a63d5b85", "sha256": "98b761f8a8897fa4183c2ab1e05ab97c390bfbc076d7804ee21ba1d69e009c13" }, "downloads": -1, "filename": "foliantcontrib.bindsympli-1.0.14-py3-none-any.whl", "has_sig": false, "md5_digest": "eb99c744d8b81656784006f7a63d5b85", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7579, "upload_time": "2019-07-16T10:54:55", "url": "https://files.pythonhosted.org/packages/a0/5c/4155bef6640e4f63eab5bd3fe2d11bb2c64f18e4314049ef34db25f8af53/foliantcontrib.bindsympli-1.0.14-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1a02f8de433b17a7c05714440a8f68a0", "sha256": "14ee38f031261b9bdbfadde9ad0232eae56f10a0d5f63205f4935413c47e0c88" }, "downloads": -1, "filename": "foliantcontrib.bindsympli-1.0.14.tar.gz", "has_sig": false, "md5_digest": "1a02f8de433b17a7c05714440a8f68a0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6082, "upload_time": "2019-07-16T10:54:56", "url": "https://files.pythonhosted.org/packages/bd/43/8377c6f9c986ba9c31512b73c8ffbb408d8c58c0610a80997bdedd79007e/foliantcontrib.bindsympli-1.0.14.tar.gz" } ] }