{ "info": { "author": "Adrian Pop", "author_email": "popadrian1996@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Console", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Version Control :: Git" ], "description": "
\n

\ud83d\udc65 git-profiles

\n

Python package that helps you easily manage and switch between multiple git configurations

\n

\n \n \"Build\"\n \n \"Software\n \n

\n
\n\n# About\nSoon\n\n# Install\nSoon\n\n# Usage\n```\nusage: git_profile.py [-h] [-f [PATH]] [-g] [-v] [-q]\n {list,current,destroy,add,use,del,update,show} ...\n\ngit-profiles usage:\n\npositional arguments:\n {list,current,destroy,add,use,del,update,show}\n list List the current available profiles\n current Show the current active configuration for the current\n project. If the global parameter is specified, the\n global configuration will be returned instead\n destroy Deletes all the profiles created using this package\n add Adds a new profile configuration with the given name.\n The userwill be prompted to input the username, the\n e-mail (required) and the signing key (optional).\n use Set the given profile as the active one for the\n current project. If the global parameter is specified,\n the new profile will be set globally\n del Delete the given profile from the configuration file\n update Update the details of the given profile name\n show Show the details of the given profile\n\noptional arguments:\n -h, --help show this help message and exit\n -f [PATH], --config-file [PATH]\n Specify a git config file. If no configuration file is\n given, the default=$HOME/.gitconfig will be used; if\n no configuration file is found, the command won't be\n executed\n -g, --globally Applies the other commands globally\n -v, --version show program's version number and exit\n -q, --quiet Executes the given command but disables the program\n output\n```\n\n# Examples\n\n### Adding a profile\n```\n$ git-profiles add work\nEnter the profile user: Adrian Pop\nEnter the profile mail: adrianpop@work.domain.com\nEnter the profile profile signing key: ABCD1234WXYZ\n\n[INFO] Successfully created profile work:\n\tName: Adrian Pop\n\tMail: adrianpop@work.domain.com\n\tSigning key: ABCD1234WXYZ\n```\n\n### Updating the details of a profile\n```\n$ git-profiles update work\nEnter the new user (Adrian Pop): Pop Adrian\nEnter the new mail (adrianpop@work.domain.com): work@domain.com\nEnter the new signing key (ABCD1234WXYZ): WXYZ1234ABCD\n\n[INFO] Successfully updated profile work\n\tName: Pop Adrian\n\tMail: work@domain.com\n\tSigning key: WXYZ1234ABCD\n```\n\n### Removing a profile\n```\n$ git-profiles del work-account\n[ERROR] Profile work-account was not found\n\n$ git-profiles del work\n[INFO] Successfully deleted profile work\n```\n\n### Listing the existing profiles\n```\n$ git-profiles list\nAvailable profiles:\n\tmain <-- active globally\n\twork\n\thome <-- active locally\n\ttest-profile\n```\n\n### Show details about a profile\n```\n$ git-profiles show work\nwork\n\tName: Adrian Pop\n\tMail: adrianpop@work.domain.com\n\tSigning key: ABCD1234WXYZ\n```\n\n### Using a profile\n```\n$ git-profiles -g use home\n[INFO] Switched to home globally\n\n$ git-profiles use work\n[INFO] Switched to work locally\n\n$ git-profiles list\nAvailable profiles:\n\tmain\n\twork <-- active locally\n\thome <-- active globally\n\ttest-profile\n```\n\n### Delete all the profiles\n```\n$ git-profiles destroy\n[INFO] Successfully deleted 4 profiles\n```\n\n# Credits\nThanks to Zeeshan Ahmad for inspiring me to write this package for python. You can check his equivalent package written in php [here](https://github.com/ziishaned/git-profiles).\n\n# License\nMIT \u00a9 2019 Pop Adrian\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/popadi/git-profiles", "keywords": "git,profiles,git-profiles,multiple", "license": "MIT", "maintainer": "Adrian Pop", "maintainer_email": "popadrian1996@gmail.com", "name": "git-profiles", "package_url": "https://pypi.org/project/git-profiles/", "platform": "", "project_url": "https://pypi.org/project/git-profiles/", "project_urls": { "Homepage": "https://github.com/popadi/git-profiles", "Repository": "https://github.com/popadi/git-profiles" }, "release_url": "https://pypi.org/project/git-profiles/1.1.3/", "requires_dist": null, "requires_python": ">=3.6,<4.0", "summary": "Python package that helps you easily manage and switch between multiple git profiles.", "version": "1.1.3" }, "last_serial": 5799642, "releases": { "1.1.0": [ { "comment_text": "", "digests": { "md5": "22074f26a7c1387c77c96cd3e617f6f9", "sha256": "598a8bcdec2be42b4add60a9af8f0d7253133cfba9f77eb588bc0490a332c010" }, "downloads": -1, "filename": "git_profiles-1.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "22074f26a7c1387c77c96cd3e617f6f9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6,<4.0", "size": 4571, "upload_time": "2019-09-08T13:22:42", "url": "https://files.pythonhosted.org/packages/0e/e7/bac9027effd1e34a5b5718f2b35c0b28b3d67f3809e2f2981b6c7b58963e/git_profiles-1.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b025b9f85529cf31ca60bc814b46d1bf", "sha256": "7bcb5f52399d6c4fb7c3f823150a65fb961979df02a18a48d728d5070c692a7e" }, "downloads": -1, "filename": "git-profiles-1.1.0.tar.gz", "has_sig": false, "md5_digest": "b025b9f85529cf31ca60bc814b46d1bf", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6,<4.0", "size": 4025, "upload_time": "2019-09-08T13:22:40", "url": "https://files.pythonhosted.org/packages/98/dc/cee1d88ce6ebfc67edf46c292a737a83b9845eb07f97db30071aebb58acc/git-profiles-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "e84f10d5be027f18f826e688de9c4186", "sha256": "f78c0956011db012307319ec79d6346f3fa1a8cd70510c1abbeda362ed486c23" }, "downloads": -1, "filename": "git_profiles-1.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "e84f10d5be027f18f826e688de9c4186", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6,<4.0", "size": 4580, "upload_time": "2019-09-08T14:58:01", "url": "https://files.pythonhosted.org/packages/46/1d/b7d7bca11729adac7c074145b78c854f742bd8ba53817c7ac884ff122cb1/git_profiles-1.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ee94bd86b676dba79d38c1344ef021e4", "sha256": "1e26315408fc38a88db8509f020f1062b4bfac57e2e5e435db55d09f26589d6f" }, "downloads": -1, "filename": "git-profiles-1.1.1.tar.gz", "has_sig": false, "md5_digest": "ee94bd86b676dba79d38c1344ef021e4", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6,<4.0", "size": 4021, "upload_time": "2019-09-08T14:57:59", "url": "https://files.pythonhosted.org/packages/30/ee/2f7177d7eb5cdcf1bf6dc8fa4a764223409e271549160c089b2751e2a187/git-profiles-1.1.1.tar.gz" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "56f94d04d9a70aeb4a3056ae35ee1c75", "sha256": "3732661582dd66d65db21499c8b0f02b8922c8ad9385a770701d7e223def290c" }, "downloads": -1, "filename": "git_profiles-1.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "56f94d04d9a70aeb4a3056ae35ee1c75", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6,<4.0", "size": 16200, "upload_time": "2019-09-08T15:28:03", "url": "https://files.pythonhosted.org/packages/df/1f/a021c96dccde3846f5512f592f183b4204a592d2afeb6268524ad0e2a364/git_profiles-1.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "25951b5f74683480f91f98681a918559", "sha256": "9eb61ac0b0bfe43762fd5fdd9eecd1e00a9217c6f76fd17122e31cbdbddb4518" }, "downloads": -1, "filename": "git-profiles-1.1.2.tar.gz", "has_sig": false, "md5_digest": "25951b5f74683480f91f98681a918559", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6,<4.0", "size": 10735, "upload_time": "2019-09-08T15:28:01", "url": "https://files.pythonhosted.org/packages/e9/e9/dd5abed1027d1f36719a0cd932c67ae92c7202531b9ab2df1bbc223006df/git-profiles-1.1.2.tar.gz" } ], "1.1.3": [ { "comment_text": "", "digests": { "md5": "b9d36b08562e56fea352a944a6834c77", "sha256": "2fd8480f3512b2c5922bf0057cbe3f9d51b0c8a63aed10043ebf969aa5fcca5b" }, "downloads": -1, "filename": "git_profiles-1.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "b9d36b08562e56fea352a944a6834c77", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6,<4.0", "size": 15900, "upload_time": "2019-09-08T15:42:03", "url": "https://files.pythonhosted.org/packages/59/aa/32750ad262b804940a79b9d8aa5fea63afcb5f8d20c5629a8d12231ac760/git_profiles-1.1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "13a4bd86cdd15d9b5add60656ea76111", "sha256": "f40c56ee4cee6e5c45ca6545e6d61df84316082091e36cea6d6a92686811479d" }, "downloads": -1, "filename": "git-profiles-1.1.3.tar.gz", "has_sig": false, "md5_digest": "13a4bd86cdd15d9b5add60656ea76111", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6,<4.0", "size": 10646, "upload_time": "2019-09-08T15:42:01", "url": "https://files.pythonhosted.org/packages/6e/e3/697e18b4d8248da8c17449431d6407517c5b099af701ca3818bdeecf60bc/git-profiles-1.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b9d36b08562e56fea352a944a6834c77", "sha256": "2fd8480f3512b2c5922bf0057cbe3f9d51b0c8a63aed10043ebf969aa5fcca5b" }, "downloads": -1, "filename": "git_profiles-1.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "b9d36b08562e56fea352a944a6834c77", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6,<4.0", "size": 15900, "upload_time": "2019-09-08T15:42:03", "url": "https://files.pythonhosted.org/packages/59/aa/32750ad262b804940a79b9d8aa5fea63afcb5f8d20c5629a8d12231ac760/git_profiles-1.1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "13a4bd86cdd15d9b5add60656ea76111", "sha256": "f40c56ee4cee6e5c45ca6545e6d61df84316082091e36cea6d6a92686811479d" }, "downloads": -1, "filename": "git-profiles-1.1.3.tar.gz", "has_sig": false, "md5_digest": "13a4bd86cdd15d9b5add60656ea76111", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6,<4.0", "size": 10646, "upload_time": "2019-09-08T15:42:01", "url": "https://files.pythonhosted.org/packages/6e/e3/697e18b4d8248da8c17449431d6407517c5b099af701ca3818bdeecf60bc/git-profiles-1.1.3.tar.gz" } ] }