{ "info": { "author": "Allamand Sebastien", "author_email": "sebastien@allamand.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: Public Domain", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Utilities" ], "description": "\n# Gli (GitLab Client)\n\nGli is a Gitlab Client based on the [python-gitlab](http://python-gitlab.readthedocs.io/) project.\n\n## Purpose\n\nThis Cli allows you to manage some objects of your Gitlab projects:\n\n- Your Gitlab Pipelines Variables (Create, Update, Delete)\n- Get details on your projects\n- Activate/Deactivate the Gitlab Registry for a project\n\nThe python-gitlab comes also with a GitLab Cli : [gitlab](http://python-gitlab.readthedocs.io/en/stable/cli.html) but that don't fullfill the features I was looking for.\n\n\nGli uses the same configuration file as for the python-gitlab client : `~/.python-gitlab.cfg`\n\n## Installation\n\nThe easiest way is to install from Pypi library\n\n```\npip install gli\n```\n\n## Gli Configuration\n\nThe configuration uses the `INI` format, and contain new section for each GitLab server you want to interract with:\n\n```ini\n[global]\ndefault=gitlab.pic\nssl_verify = False\ntimeout = 5\napi_version = 3\n\n[gitlab.pic]\nurl = https://\nprivate_token = XXXXXX\napi_version = 3\n\n[gitlab.forge]\nurl = https://\nprivate_token = YYYYY\napi_version = 4\n\n```\n\nyou can find more detailed on the [python-gitlab docs](http://python-gitlab.readthedocs.io/en/stable/cli.html#configuration)\n\n\n## Gli usage\n\nGli uses a cli based on the [skele-cli](https://github.com/rdegges/skele-cli) python project.\n\n```\n\"\"\"\ngli - Gitlab Client\n\nUsage:\n gli get_project --project-name= [-d]\n gli get_variable --project-name= --key= [--list] [-d]\n gli get_variable --project-name= --list [-d]\n gli set_variable --project-name= --key= --value= [-d]\n gli delete_variable --project-name= --key=\n gli delete_environment --project-name= --key=\n gli toggle_registry --project-name= [-d]\n gli -h | --help\n gli -v | --version\n\nOptions:\n -d Debug mode.\n -h --help Show this screen.\n --key=key Key for object\n --value=value Value for object\n -v --version Show version.\n\nCommands:\n get_project : get details on a gitlab project\n get_variable: Retrieve list or value for Gitlab variables\n set_variable: Create or Update value for a Gitlab Pipeline variable\n dfelete_variable: Delete a Gitlab Pipeline variable\n toggle_registry: allow to activate or deactivete the GitLab Container Registry\n```\n\n\nExemple Managing variables : \n\n```\n#Get project details\ngli get_project --project=sallamand/gli\n\n#list project variables\ngli get_variable --project=sallamand/gli --list\n\n#get value for a specific variable\ngli get_variable --project=sallamand/gli --key mavariable\n\n#Create (or update)variable\ngli set_variable --project=sallamand/gli --key mavariable --value mavalue\n```\n\nEnable/Disable Gitlab Registry for a project:\n\n```\ngli toggle_registry --project=sallamand/gli \n```\n\n\n## Contribution\n\nIf you've cloned this project, and want to install the library (*and all\ndevelopment dependencies*), the command you'll want to run is::\n\n```\nmake install\n```\n\nIf you'd like to run all tests for this project (*assuming you've written\nsome*), you would run the following command::\n\n```\nmake test\n```\n\nThis will trigger [py.test](http://pytest.org/latest/), along with its popular\n[coverage](https://pypi.python.org/pypi/pytest-cov) plugin.\n\n\nIf you'd like to cut a new release of the CLI tool, and publish it to the Python PAckage Index [Pypi](https://pypi.python.org/pypi) :\n\n```\nmake release\n```\n\nThis will build both a source tarball of the CLI as well as a newer whell build\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://gitlab.com/allamand/gli", "keywords": "cli", "license": "UNLICENSE", "maintainer": "", "maintainer_email": "", "name": "gli", "package_url": "https://pypi.org/project/gli/", "platform": "", "project_url": "https://pypi.org/project/gli/", "project_urls": { "Homepage": "https://gitlab.com/allamand/gli" }, "release_url": "https://pypi.org/project/gli/0.0.4/", "requires_dist": [ "click", "docopt", "coverage; extra == 'test'", "pytest; extra == 'test'", "pytest-cov; extra == 'test'" ], "requires_python": "", "summary": "A simple python CLI for Gitlab", "version": "0.0.4" }, "last_serial": 3260233, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "ea542aa8c5d66e72c6a9419ab9c829d3", "sha256": "ac9ff42c31275e223d01b4c8b5f0f3071682494e14301048b174325d605980e4" }, "downloads": -1, "filename": "gli-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ea542aa8c5d66e72c6a9419ab9c829d3", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10718, "upload_time": "2017-09-11T12:49:00", "url": "https://files.pythonhosted.org/packages/34/c6/8dc940acb85fd696d6664daaf94c407e2f481bf5aa1d97c6becacb36aae0/gli-0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8f2b3ba27b2ba6144e89c170c2f02848", "sha256": "bf366d19d5481229fe0f6a1a43cac2db5a14d4d7bc1b5f4f8f5bd1a940290036" }, "downloads": -1, "filename": "gli-0.0.1.tar.gz", "has_sig": false, "md5_digest": "8f2b3ba27b2ba6144e89c170c2f02848", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8119, "upload_time": "2017-09-11T12:49:02", "url": "https://files.pythonhosted.org/packages/7d/76/05a4344a1f51f205ab6f48fbf376eed6b272e8520e96ebfa9f7bed6c1d92/gli-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "8bb4387153be823d0e6112bd16c689f6", "sha256": "1d55dae2447d6b80cdf600ada3084a908f4df1ac8c2ded187037001b50d78cdf" }, "downloads": -1, "filename": "gli-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8bb4387153be823d0e6112bd16c689f6", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 12995, "upload_time": "2017-09-28T15:43:57", "url": "https://files.pythonhosted.org/packages/ed/d2/b0753c87f4e275472f8ad2d2b965da0285e8868a118289b5ac0047456653/gli-0.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "92d1f5596c9c5443e2f05d99d21bb591", "sha256": "86f4f4e220d34bd79d2bd67e001b18fb20143c69d17ad7d92706e6a3c36c8ebb" }, "downloads": -1, "filename": "gli-0.0.2.tar.gz", "has_sig": false, "md5_digest": "92d1f5596c9c5443e2f05d99d21bb591", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8855, "upload_time": "2017-09-28T15:44:00", "url": "https://files.pythonhosted.org/packages/a9/b4/7d3dba1fd67411a3016131f627f0b36fb747a29d378ffcd1f3c7f1c85df2/gli-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "21541aa45baa29e4183ff1aa5eaec0a6", "sha256": "80dc87ee3420a00ededb3d04b0bc1f7c96d8e82f0035e82a4e349ab775a83766" }, "downloads": -1, "filename": "gli-0.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "21541aa45baa29e4183ff1aa5eaec0a6", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13205, "upload_time": "2017-09-28T16:02:54", "url": "https://files.pythonhosted.org/packages/b6/82/17d17505bdfbd52fc39018ce2abfe26fd8795189fc087b469af3f2af5ae6/gli-0.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "61f5fd2fcfcbb1bc3fc42ad803cac32d", "sha256": "36acce0866a6630c7c6df4cdfe93bcc5eb6a2d1741f76d307b2d2a97ea344922" }, "downloads": -1, "filename": "gli-0.0.3.tar.gz", "has_sig": false, "md5_digest": "61f5fd2fcfcbb1bc3fc42ad803cac32d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8874, "upload_time": "2017-09-28T16:02:55", "url": "https://files.pythonhosted.org/packages/88/70/5fef28b92e4592e0d8d56fe1022e9822874396f19bd72fd0b3bb7b9064aa/gli-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "04a241563ed2c1f4818f38c8dbfad4a5", "sha256": "8031bf0f396705b88dc68fdc82fdb2278a937f9772d1c43ea2ab78f246c8b79f" }, "downloads": -1, "filename": "gli-0.0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "04a241563ed2c1f4818f38c8dbfad4a5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13318, "upload_time": "2017-10-18T15:30:00", "url": "https://files.pythonhosted.org/packages/99/ca/5cc7b87bc8bb2968bf8e1e287360bbf9de2c18104fbd3b51e60e1d885420/gli-0.0.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "abf89a7638dd7ff87caff5b9a2d0db8e", "sha256": "6118f440cafc8294dc00cd70dc8d58055c79ba2b0a9f6bb02de65692bc84f9aa" }, "downloads": -1, "filename": "gli-0.0.4.tar.gz", "has_sig": false, "md5_digest": "abf89a7638dd7ff87caff5b9a2d0db8e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8981, "upload_time": "2017-10-18T15:30:01", "url": "https://files.pythonhosted.org/packages/e1/c4/0c24a5b7291b3e899f2b133d247326305988032fb5cb615262b26dc33753/gli-0.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "04a241563ed2c1f4818f38c8dbfad4a5", "sha256": "8031bf0f396705b88dc68fdc82fdb2278a937f9772d1c43ea2ab78f246c8b79f" }, "downloads": -1, "filename": "gli-0.0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "04a241563ed2c1f4818f38c8dbfad4a5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13318, "upload_time": "2017-10-18T15:30:00", "url": "https://files.pythonhosted.org/packages/99/ca/5cc7b87bc8bb2968bf8e1e287360bbf9de2c18104fbd3b51e60e1d885420/gli-0.0.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "abf89a7638dd7ff87caff5b9a2d0db8e", "sha256": "6118f440cafc8294dc00cd70dc8d58055c79ba2b0a9f6bb02de65692bc84f9aa" }, "downloads": -1, "filename": "gli-0.0.4.tar.gz", "has_sig": false, "md5_digest": "abf89a7638dd7ff87caff5b9a2d0db8e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8981, "upload_time": "2017-10-18T15:30:01", "url": "https://files.pythonhosted.org/packages/e1/c4/0c24a5b7291b3e899f2b133d247326305988032fb5cb615262b26dc33753/gli-0.0.4.tar.gz" } ] }