# genshin-account-switcher
Simple account switcher for Genshin Impact on Linux.
## Installation
You need to have Python 3.10+ installed.
```bash
$ pip install genshin-account-switcher
```
## CLI: Usage
### Registering an account:
```bash
$ genshin-account-switcher register
Successfully registered account '999999999'.
```
### Switching between accounts:
```bash
# No argument -> shows list of registered accounts
$ genshin-account-switcher switch
usage: genshin-account-switcher switch [-h] [uid]
positional arguments:
uid
options:
-h, --help show this help message and exit
Available UIDs:
* [0] 888888888
* [1] 999999999 ✔
# Pick one via the UID itself or the shortcut
$ genshin-account-switcher switch 888888888
Successfully switched to account '888888888'
$ genshin-account-switcher switch 1
Successfully switched to account '999999999'
```
### Naming accounts
Since UIDs are confusing you can name your account:
```bash
$ genshin-account-switcher register --name "Main Account"
Successfully registered account '888888888' under the8 name 'Main Account'.
# You'll now see the name when trying to switch:
$ genshin-account-switcher switch
usage: genshin-account-switcher switch [-h] [uid]
positional arguments:
uid
options:
-h, --help show this help message and exit
Available UIDs:
* [0] Main Account (888888888)
* [1] 999999999 ✔
# You can also use the set-name command instead of doing this while registering
$ genshin-account-switcher set-name 999999999 "Alt Account"
Successfully saved Alt Account (999999999)
```
## GUI: Usage
You can open a graphical user interface by executing the "gui" sub command:
```bash
$ genshin-account-switcher gui
```
![](.github/screenshot.png)
## License
GNU General Public License v3
![](https://www.gnu.org/graphics/gplv3-127x51.png)
Raw data
{
"_id": null,
"home_page": "https://github.com/atomicptr/genshin-account-switcher",
"name": "genshin-account-switcher",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": "",
"keywords": "",
"author": "Christopher Kaster",
"author_email": "me@atomicptr.de",
"download_url": "",
"platform": null,
"description": "# genshin-account-switcher\n\nSimple account switcher for Genshin Impact on Linux.\n\n## Installation\n\nYou need to have Python 3.10+ installed.\n\n```bash\n$ pip install genshin-account-switcher\n```\n\n## CLI: Usage\n\n### Registering an account:\n\n```bash\n$ genshin-account-switcher register\nSuccessfully registered account '999999999'.\n```\n\n### Switching between accounts:\n\n```bash\n# No argument -> shows list of registered accounts\n$ genshin-account-switcher switch \nusage: genshin-account-switcher switch [-h] [uid]\n\npositional arguments:\n uid\n\noptions:\n -h, --help show this help message and exit\n\nAvailable UIDs:\n* [0] 888888888\n* [1] 999999999 \u2714\n\n# Pick one via the UID itself or the shortcut\n$ genshin-account-switcher switch 888888888\nSuccessfully switched to account '888888888'\n\n$ genshin-account-switcher switch 1\nSuccessfully switched to account '999999999'\n```\n\n### Naming accounts\n\nSince UIDs are confusing you can name your account:\n\n```bash\n$ genshin-account-switcher register --name \"Main Account\"\nSuccessfully registered account '888888888' under the8 name 'Main Account'.\n\n# You'll now see the name when trying to switch:\n$ genshin-account-switcher switch \nusage: genshin-account-switcher switch [-h] [uid]\n\npositional arguments:\n uid\n\noptions:\n -h, --help show this help message and exit\n\nAvailable UIDs:\n* [0] Main Account (888888888)\n* [1] 999999999 \u2714\n\n# You can also use the set-name command instead of doing this while registering\n$ genshin-account-switcher set-name 999999999 \"Alt Account\"\nSuccessfully saved Alt Account (999999999)\n```\n\n## GUI: Usage\n\nYou can open a graphical user interface by executing the \"gui\" sub command:\n\n```bash\n$ genshin-account-switcher gui\n```\n\n![](.github/screenshot.png)\n\n## License\n\nGNU General Public License v3\n\n![](https://www.gnu.org/graphics/gplv3-127x51.png)\n",
"bugtrack_url": null,
"license": "",
"summary": "Simple account switcher for Genshin Impact on Linux.",
"version": "1.2.2",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "95168d3170cb4761837df6e2318e96fde4f61f09e2a67e5f86218a81b991d742",
"md5": "97d3aca4cf92e7b589ec4c0dacb73359",
"sha256": "dcdffede7596a957fddb92e13e2bb7d286318be111a19a8125c0b54199afd576"
},
"downloads": -1,
"filename": "genshin_account_switcher-1.2.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "97d3aca4cf92e7b589ec4c0dacb73359",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 20163,
"upload_time": "2023-04-24T10:51:15",
"upload_time_iso_8601": "2023-04-24T10:51:15.736653Z",
"url": "https://files.pythonhosted.org/packages/95/16/8d3170cb4761837df6e2318e96fde4f61f09e2a67e5f86218a81b991d742/genshin_account_switcher-1.2.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-04-24 10:51:15",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "atomicptr",
"github_project": "genshin-account-switcher",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "appdirs",
"specs": [
[
"==",
"1.4.4"
]
]
}
],
"lcname": "genshin-account-switcher"
}