Skip to main content

brawser

Python License

⚡ Brawser


What is Brawser?

The simplest browser opener with AWS management console from the command line interface.

By running this CLI command, you can open the console soon with your AWS account and the IAM role/user that you are using.

Note: the spelling of this tool is not br "o" wser, but br "aws" er.

How Brawser works?

The following steps are executed inside the Brawser.

  1. Initialize a new session using the Boto3 library.
  2. Prepare for session data.
  3. Request a sign-in token.
  4. Generate the federated URL.
  5. Open your default browser with the URL

Prerequisite

  • The IAM role/user which Brawser use with has the GetSessionToken priviledge at least.
  • The URL is open with any default browser like Google Chrome, Safari or Edge. So any installed browser is needed.

🚀 Get Started


Install

$ pip install brawser

Usage

$ brawser

Uninstall

$ pip uninstall brawser

🌱 How to use

Features

  • You can set a valid session time you want to set.
  • You can display on the command line console the federated URL instead of opening the browser
  • If you use macOS, you can copy the federated URL to the clipboard to paste your browser.

Options

  -p, --print-url       Print the federated URL (optional)
  -c, --copy-clipboard  Copy the federated URL when you use MacOS only
                        (optional)

Appendix

Software License

The MIT License

Copyright 2024 Itsuki Yutaka

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Metadata

Release files for brawser 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for brawser 1.0.2
File Interpreter ABI Platform
brawser-1.0.2-py3-none-any.whl Python 3 none any Details

Release files / brawser-1.0.2-py3-none-any.whl

Download URL brawser-1.0.2-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9e22bdc1f8a4802f5f20bf5f41f4741f2b65d381846e1bf4c3197f177414f5f5
BLAKE2b-256 checksum
How to use checksums
8963622a19d65dd883a6fbbea95fd869ed8843372307559a97d23357e1e30d52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.13

Security for brawser 1.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page