awsswitch-0.2.2
توضیحات
AWS profile switcher
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | awsswitch-0.2.2 |
| نام | awsswitch |
| نسخه کتابخانه | 0.2.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Tobias Sauerwein <cgtobi@gmail.com> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/awsswitch/ |
| مجوز | - |
# awsswitch - AWS profile switcher
Easily switch between AWS Profiles.
[](https://pypi.python.org/pypi/awsswitch)
[](https://github.com/cgtobi/awsswitch/blob/master/LICENSE)
## Credits
This is a pure python implementation of [Johnny Opao's](https://github.com/johnnyopao) tool [awsp](https://github.com/johnnyopao/awsp).
<img src="awsswitch_demo.gif" width="300">
## Prerequisites
Setup your profiles using the aws cli.
```sh
aws configure --profile PROFILE_NAME
```
You can also leave out the `--profile PROFILE_NAME` param to set your `default` credentials.
Refer to this document for more information
https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html
## Setup
### Install with pip
```sh
python -m pip install awsswitch
```
### Install with [pipx](https://github.com/pypa/pipx) *(recommended)*
```sh
pipx install awsswitch
```
### Shell configuration
Add the following to your .bashrc or .zshrc config:
```sh
alias awsp='awsswitch; sp="$(cat ~/.awsswitch)"; if [ -z "$sp" ]; then unset AWS_PROFILE; else export AWS_PROFILE="$sp";fi'
```
## Usage
```sh
awsp
```
نیازمندی
| مقدار | نام |
|---|---|
| =0.3. | inquirerpy |
| =6.2. | pytest |
| - | pytest-cov |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl awsswitch-0.2.2:
pip install awsswitch-0.2.2.whl
نصب پکیج tar.gz awsswitch-0.2.2:
pip install awsswitch-0.2.2.tar.gz