semvec/pypi-packages huggingface dataset:
aws-role-switcher 1.5.0
This is a CLI application to switch your role using autocompletion by parsing your config/credential file and set environment variables
License: MIT
Requires Python: >=3.6
Keywords: AWS,ROLE,GIT,PROFILE,AUTOCOMPLETE

# aws_role_switcher

This is a CLI application makes it easier to switch roles using auto completion from parsing your aws config/credential file and setting `"AWS_SECRET_ACCESS_KEY", "AWS_ACCESS_KEY_ID", "AWS_SESSION_TOKEN", "AWS_SECURITY_TOKEN"` environment variables if present.

This script does not support MFA roles, and designed to help cycle through profiles set manually, or as output from an SSO script like: https://github.com/Nike-Inc/gimme-aws-creds
## Installation
```python3 -m pip install -U aws_role_switcher```

In order to work properly this script must be sourced, add the following to your .profile or .bashrc( you can adjust the alias name to whatever you want)
```alias ars='source aws-role-switcher.sh'```

Note: You can run this from the command line using `. aws-role-switcher.sh` or `source aws-role-switcher.sh`.

## Configuration
You can set the following environmental variables:

`AWS_PROFILE_SWITCHER_PATH` - Override the default credential/config file location from `$HOME/.aws/credentials`
 
 I would recommend adding to your ~/.profile or ~/.bash_profile
 


## Example Usage

`ars` to start prompt. TAB or start typing to start auto completion list. TAB or use arrows to cycle through list, and enter to select.

### Pass profile and region positional variables (Optional)
using a format of `<script> <profile_arg> <region_arg>` the utility will start the prompt process with the passed in args
i.e 
`ars admin uswest2`
Example config file:

```
[default]
aws_access_key_id = REDACTED
aws_secret_access_key = redacted
aws_session_token = default
aws_security_token = default

[testing-administrator]
aws_access_key_id = REDACTED
aws_secret_access_key = redacted
aws_session_token = testing
aws_security_token = testing


[staging-administrator]
aws_access_key_id = REDACTED
aws_secret_access_key = redacted
aws_session_token = staging
aws_security_token = staging


[production-administrator]
aws_access_key_id = REDACTED
aws_secret_access_key = redacted
aws_session_token = production
aws_security_token = production

```

Example Usage:

![AWS Role Switcher Demo](examples/aws-switch-roles.gif)

Updated Example (1.5.0):

![AWS Role Switcher Demo](examples/ars-1.5.0.gif)

 ## Development

### Bug Reports & Feature Requests

Please use the submit a issue to report any bugs or file feature requests.

### Developing

If you are interested in being a contributor and want to get involved in developing this CLI application feel free to reach out

In general, PRs are welcome. We follow the typical trunk based development Git workflow.

 1. **Branch** the repo 
 2. **Clone** the project to your own machine
 3. **Commit** changes to your branch
 4. **Push** your work back up to your branch
 5. Submit a **Merge/Pull Request** so that we can review your changes

**NOTE:** Be sure to merge the latest changes from "upstream" before making a pull request!
cfbfastR-py 0.0.28
Retrieve American football data in Python
License: MIT
Keywords: nfl college football data epa statistics web scraping

# cfbfastR-py <a href='https://cfbfastR-py.sportsdataverse.org'><img src='https://cfbfastR-py.sportsdataverse.org/img/cfbfastR-py-logo.png' align="right" height="150" /></a>
<!-- badges: start -->

![Lifecycle:experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg?style=for-the-badge&logo=github)
[![PyPI](https://img.shields.io/pypi/v/cfbfastR-py?label=cfbfastR-py&logo=python&style=for-the-badge)](https://pypi.org/project/cfbfastR-py/)
![Contributors](https://img.shields.io/github/contributors/saiemgilani/cfbfastR-py?style=for-the-badge)
[![Twitter
Follow](https://img.shields.io/twitter/follow/cfbfastR?color=blue&label=%40cfbfastR&logo=twitter&style=for-the-badge)](https://twitter.com/cfbfastR)

<!-- badges: end -->


See [CHANGELOG.md](https://cfbfastR-py.sportsdataverse.org/CHANGELOG) for details.

The goal of [cfbfastR-py](https://cfbfastR-py.sportsdataverse.org) is to provide the community with a python package for working with American Football data as a companion to the [cfbfastR](https://saiemgilani.github.io/cfbfastR) R package. Beyond data aggregation and tidying ease, one of the multitude of services that [cfbfastR-py](https://cfbfastR-py.sportsdataverse.org) provides is for benchmarking open-source expected points and win probability metrics.

## Installation

cfbfastR-py can be installed via pip:

```bash
pip install cfbfastR-py
```

or from the repo (which may at times be more up to date):

```bash
git clone https://github.com/saiemgilani/cfbfastR-py
cd cfbfastR-py
pip install -e .
```

# **Our Authors**

-   [Saiem Gilani](https://twitter.com/saiemgilani)
<a href="https://twitter.com/saiemgilani" target="blank"><img src="https://img.shields.io/twitter/follow/saiemgilani?color=blue&label=%40saiemgilani&logo=twitter&style=for-the-badge" alt="@saiemgilani" /></a>
<a href="https://github.com/saiemgilani" target="blank"><img src="https://img.shields.io/github/followers/saiemgilani?color=eee&logo=Github&style=for-the-badge" alt="@saiemgilani" /></a>


## **Citations**

To cite the [**`cfbfastR-py`**](https://cfbfastR-py.sportsdataverse.org) Python package in publications, use:

BibTex Citation
```bibtex
@misc{saiemgilani2021cfbfastRpy,
  author = {Gilani, Saiem},
  title = {cfbfastR-py: The SportsDataverse's Python Package for American Football Data.},
  url = {https://cfbfastR-py.sportsdataverse.org},
  season = {2021}
}
```
python.dsc 2.0.0a0
A Python wrapper for the Discord API
License: MIT
Requires Python: >=3.8.0

python.dsc
==========


A modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python.

Key Features
-------------

- Modern Pythonic API using ``async`` and ``await``.
- Proper rate limit handling.
- Optimised in both speed and memory.

Installing
----------

I have not made any edits to this fork yet. I am gathering some people to come and help out on the project.

**Python 3.8 or higher is required**

To install the library without full voice support, you can just run the following command:

.. code:: sh

    # Linux/macOS
    python3 -m pip install -U python.dsc

    # Windows
    py -3 -m pip install -U python.dsc

Otherwise to get voice support you should run the following command:

.. code:: sh

    # Linux/macOS
    python3 -m pip install -U "python.dsc[voice]"

    # Windows
    py -3 -m pip install -U python.dsc[voice]


To install the development version, do the following:

.. code:: sh

    $ git clone https://github.com/ilikefivem/python.dsc
    $ cd python.dsc
    $ python3 -m pip install -U .[voice]


Optional Packages
~~~~~~~~~~~~~~~~~~

* `PyNaCl <https://pypi.org/project/PyNaCl/>`__ (for voice support)

Please note that on Linux installing voice you must install the following packages via your favourite package manager (e.g. ``apt``, ``dnf``, etc) before running the above commands:

* libffi-dev (or ``libffi-devel`` on some systems)
* python-dev (e.g. ``python3.6-dev`` for Python 3.6)

Quick Example
--------------

.. code:: py

    import discord

    class MyClient(discord.Client):
        async def on_ready(self):
            print('Logged on as', self.user)

        async def on_message(self, message):
            # don't respond to ourselves
            if message.author == self.user:
                return

            if message.content == 'ping':
                await message.channel.send('pong')

    client = MyClient()
    client.run('token')

Bot Example
~~~~~~~~~~~~~

.. code:: py

    import discord
    from discord.ext import commands

    bot = commands.Bot(command_prefix='>')

    @bot.command()
    async def ping(ctx):
        await ctx.send('pong')

    bot.run('token')

You can find more examples in the examples directory.

This is a fork of discord.py that will be maintained!