semvec/pypi-packages huggingface dataset:
aws-ssh-config 0.1.4
aws_ssh_config generates ssh config file content from given AWS account
License: MIT
Keywords: ssh aws devops sysadmin-tool script

# Autocomplete SSH hosts for AWS

## Setup autocompletion

To get it working you need to install `bash-completion` and `boto3` python library.

On MacOS X run:

    $ brew install bash-completion
    $ pip install boto3 awscli
    $ aws configure

Enter your credentials to get access to the AWS API.

Or you can use [environment variables](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/configuration.html#environment-variable-configuration).

Create symlink to `.ssh_autocompletion` file in your home folder:

    $ ln -sf  $(pwd)/.bash_autocompletion ~/

Import `.bash_autocompletion` in your `~/.bashrc`:

    $ echo 'source ~/.bash_autocompletion' >> ~/.bashrc
    $ . ~/.bash.rc

## Installing

The easiest way to install aws_ssh_config is to use pip:

    $ pip install aws_ssh_config

or from sources:

    $ git clone https://github.com/DmitriyLyalyuev/aws_ssh_config.git
    $ cd aws_ssh_config
    $ python3 setup.py install

## Generating/updating ssh config

Create for ssh `config.d` folder:

    $ mkdir -p ~/.ssh/config.d

To generate or update ssh config for AWS hosts run:

    aws_ssh_config > ~/.ssh/config.d/aws

## Usage

To test autocompletion enter in terminal:

    $ ssh host_[TAB]
bio2bel-pfam 0.0.1
Bio2BEL PFAM.
License: MIT
Requires Python: >=3.6
Keywords: Biological Expression Language,Bio2BEL

Bio2BEL PFAM |build|
====================

Installation |pypi_version| |python_versions| |pypi_license|
------------------------------------------------------------
``bio2bel_pfam`` can be installed easily from
`PyPI <https://pypi.python.org/pypi/bio2bel_pfam>`_
with the following code in your favorite terminal:

.. code-block:: sh

    $ python3 -m pip install bio2bel_pfam

or from the latest code on `GitHub <https://github.com/bio2bel/pfam>`_ with:

.. code-block:: sh

    $ python3 -m pip install git+https://github.com/bio2bel/pfam.git

Setup
-----
PFAM can be downloaded and populated from either the
Python REPL or the automatically installed command line utility.

Python REPL
~~~~~~~~~~~
.. code-block:: python

    >>> import bio2bel_pfam
    >>> pfam_manager = bio2bel_pfam.Manager()
    >>> pfam_manager.populate()

Command Line Utility
~~~~~~~~~~~~~~~~~~~~
.. code-block:: sh

    bio2bel_pfam populate


.. |build| image:: https://travis-ci.com/bio2bel/pfam.svg?branch=master
    :target: https://travis-ci.org/bio2bel/pfam
    :alt: Build Status

.. |documentation| image:: http://readthedocs.org/projects/bio2bel-pfam/badge/?version=latest
    :target: http://bio2bel.readthedocs.io/projects/pfam/en/latest/?badge=latest
    :alt: Documentation Status

.. |pypi_version| image:: https://img.shields.io/pypi/v/bio2bel_pfam.svg
    :alt: Current version on PyPI

.. |coverage| image:: https://codecov.io/gh/bio2bel/pfam/coverage.svg?branch=master
    :target: https://codecov.io/gh/bio2bel/pfam?branch=master
    :alt: Coverage Status

.. |python_versions| image:: https://img.shields.io/pypi/pyversions/bio2bel_pfam.svg
    :alt: Stable Supported Python Versions

.. |pypi_license| image:: https://img.shields.io/pypi/l/bio2bel_pfam.svg
    :alt: MIT License