{ "info": { "author": "Niek Keijzer", "author_email": "info@niekkeijzer.com", "bugtrack_url": null, "classifiers": [ "Environment :: Plugins", "Environment :: Web Environment", "Framework :: Lektor", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License" ], "description": "# Lektor Gitlab\n\nQuery the Gitlab API right from your [Lektor][1] templates.\n\n## Configuration \n\nTo use the plugin you must first acquire an [private access token][2]. \nThe token must at least have the `api` scope. \n\nDepending on your preference you can either create a Lektor config file \n called `configs/gitlab.ini` where the token is stored under the \n `private_token` key.\n\nEg: \n```ini\nprivate_token = \n```\n\nAlternatively the token can also be set using an environment variable.\n\n__Note__: the config file is checked before the environment variable \n\nEg: \n```bash \nexport GITLAB_PRIVATE_TOKEN= \n```\n\n## Usage \n\nAfter you have set up the access token, the [Python-Gitlab][3] `Gitlab`\n object is available in your templates. This means you can do anything \n your heart desires with it. \n\n### Examples\n\nList your public repos\n\n```jinja2\n\n```\n\nDisplay the your name and avatar \n\n```jinja2\n

{{ gitlab.user.name }}

\n\n```\n\n[1]: https://www.getlektor.com\n[2]: https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html\n[3]: http://python-gitlab.readthedocs.io/en/stable/index.html\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://gitlab.com/NiekKeijzer/lektor-gitlab", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "lektor-gitlab", "package_url": "https://pypi.org/project/lektor-gitlab/", "platform": "", "project_url": "https://pypi.org/project/lektor-gitlab/", "project_urls": { "Homepage": "https://gitlab.com/NiekKeijzer/lektor-gitlab" }, "release_url": "https://pypi.org/project/lektor-gitlab/0.1.0/", "requires_dist": [ "lektor", "python-gitlab" ], "requires_python": "", "summary": "Query the Gitlab API right from your Lektor templates", "version": "0.1.0" }, "last_serial": 3999400, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "64c4d8fb6308390a35923254544129a5", "sha256": "f230cefe8d2c177225e00f7aad1c8e657407a48522141d53668d5a75b7d5dc68" }, "downloads": -1, "filename": "lektor_gitlab-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "64c4d8fb6308390a35923254544129a5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2156, "upload_time": "2018-06-25T07:41:09", "url": "https://files.pythonhosted.org/packages/0b/7f/6348b167b7987aedf4b1d437d9b97e024897f321b78fd975b4367d304d8f/lektor_gitlab-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8d3d5b5b3c17a4e02c81cc0b409afb43", "sha256": "7e3fd6b8571acf1837054d2159234644a4987fbae07ffeb3a8dbe47ae0773175" }, "downloads": -1, "filename": "lektor-gitlab-0.1.0.tar.gz", "has_sig": false, "md5_digest": "8d3d5b5b3c17a4e02c81cc0b409afb43", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1939, "upload_time": "2018-06-25T07:41:10", "url": "https://files.pythonhosted.org/packages/99/51/565b03f483ff36542ffc8fcde1f3dee262ff9cdbbbca3b3b285d037d08e8/lektor-gitlab-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "64c4d8fb6308390a35923254544129a5", "sha256": "f230cefe8d2c177225e00f7aad1c8e657407a48522141d53668d5a75b7d5dc68" }, "downloads": -1, "filename": "lektor_gitlab-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "64c4d8fb6308390a35923254544129a5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2156, "upload_time": "2018-06-25T07:41:09", "url": "https://files.pythonhosted.org/packages/0b/7f/6348b167b7987aedf4b1d437d9b97e024897f321b78fd975b4367d304d8f/lektor_gitlab-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8d3d5b5b3c17a4e02c81cc0b409afb43", "sha256": "7e3fd6b8571acf1837054d2159234644a4987fbae07ffeb3a8dbe47ae0773175" }, "downloads": -1, "filename": "lektor-gitlab-0.1.0.tar.gz", "has_sig": false, "md5_digest": "8d3d5b5b3c17a4e02c81cc0b409afb43", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1939, "upload_time": "2018-06-25T07:41:10", "url": "https://files.pythonhosted.org/packages/99/51/565b03f483ff36542ffc8fcde1f3dee262ff9cdbbbca3b3b285d037d08e8/lektor-gitlab-0.1.0.tar.gz" } ] }