semvec/pypi-packages huggingface dataset:
salt-container-map 0.2.2
Configuration management and implicit dependency setup for Docker containers in SaltStack.
License: MIT
Keywords: docker

Salt Container-Map
==================

Configuration management and implicit dependency setup for Docker containers in SaltStack.
------------------------------------------------------------------------------------------

Project: https://github.com/merll/salt-container-map

Docs: Basic usage is provided in the `state
module <http://salt-container-map.readthedocs.io/en/latest/api/saltcontainermap.states.html>`__.
Details about container configurations are available in the `docs for
Docker-Map <https://docker-map.readthedocs.io/en/latest/guide/containers/maps.html#container-landscapes-with-containermap>`__.

Overview
========

This package contains SaltStack modules for configuring Docker
containers. They do not replace, but complement Salt’s built-in
``dockerio`` module in the following aspects:

-  Container dependencies that have to be followed during startup and
   shutdown do not have to be modelled via ``require`` or
   ``require_in``. Instead, these are implicitly defined through their
   shared volumes and links.
-  For the purpose of sharing data between containers, virtual volumes
   can be created via a minimal runnable image (``tianon/true`` obtained
   from the public Docker registry). These are considered during the
   dependency check and become adjusted with necessary file system
   permissions during startup.
-  When the configuration of a container is modified, the affected
   containers and their dependents can automatically be shut down and
   recreated.
-  Image updates can also result in an automated shutdown and recreation
   of containers and their dependents, without explicit ``watch`` or
   ``onchanges``.

An example is documented in the state module.

Installation
============

Besides the usual package installation, a few simple post-installation
steps are required. They are described in the
`docs <http://salt-container-map.readthedocs.io/en/latest/installation.html>`__.

Modules
=======

Custom renderer
---------------

Container configurations can be set in both pillars and states. Pillars
have the advantage that they are loaded automatically before any state
(e.g. ``container_map.updated``) or execution module uses it. Usually
the disadvantage is that pillars cannot refer to other pillars. This
package however provides a custom renderer ``lazy_yaml`` along with
custom tags ``!pillar`` and ``!grain``, which are resolved to their
values on the minion just before the container maps and their
configurations are instantiated.

By default, container maps are loaded from a pillar ``container_maps``.
This can be changed in the configuration by setting the configuration
value ``container_map.pillar_name``.

State and execution module
--------------------------

The modules distributed to the minions provide the functionality as
outlined in the overview. A usage example is included in the `state
module
documentation <http://salt-container-map.readthedocs.io/en/latest/api/saltcontainermap.states.html>`__.
ghstatus 0.3.2
GitHub commit status updater
License: MIT
Keywords: github,continuous-integration

ghstatus
========

.. image:: https://img.shields.io/travis/chickenzord/ghstatus.svg?style=flat-square
    :target: https://travis-ci.org/chickenzord/ghstatus
    :alt: Build status

.. image:: https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square
    :target: https://raw.githubusercontent.com/chickenzord/ghstatus/master/LICENSE.txt
    :alt: MIT license

.. image:: https://img.shields.io/pypi/v/ghstatus.svg?style=flat-square
    :target: https://pypi.python.org/pypi/ghstatus
    :alt: PyPI package version

.. image:: https://img.shields.io/pypi/pyversions/ghstatus.svg?style=flat-square
    :target: https://pypi.python.org/pypi/ghstatus
    :alt: PyPI python version


GitHub commit status notifier CLI


Options
-------

These options can be automatically set from env variables or dotenv (.env) file in working dir.

- `-u`: `GITHUB_USERNAME`
- `-p`: `GITHUB_PASSWORD`
- `--base-url`: `GITHUB_URL`
- `--repo`: `GITHUB_REPO`
- `--sha`: `GITHUB_SHA`
- `--target-url`: `TARGET_URL`

These options can be set automatically in Jenkins context (`JENKINS_URL` is set).

- `--target-url`: `BUILD_URL`

If not set by either CLI args or env variables,
these options can be automatically detected from git repository in current working dir.

- `--repo`: inferred from `.git/config`
- `--sha`: inferred by executing `git rev-parse HEAD` internally


Sample commands
---------------

**get all statuses** ::

  ghstatus get

**set status** ::

  ghstatus set success --context=unit-test --description='All tests pass!' \
    --target-url=https://example.com/my-test/1

**set status dynamically based on command exit code** ::

  ghstatus exec --context=unit-test -- ./gradlew test
async-mgun 0.1.3
HTTP REST Client based on aiohttp with dynamic url building
License: MIT
Keywords: http client rest aiohttp async request mgun

==========
async-mgun
==========

.. image:: https://badge.fury.io/py/async-mgun.svg
    :target: https://pypi.python.org/pypi/async-mgun
.. image:: https://travis-ci.org/maximdanilchenko/async-mgun.svg
    :target: https://travis-ci.org/maximdanilchenko/async-mgun
.. image:: https://codecov.io/gh/maximdanilchenko/async-mgun/branch/master/graph/badge.svg
    :target: https://codecov.io/gh/maximdanilchenko/async-mgun

HTTP REST Client based on aiohttp with dynamic url building. Useful for microservices non-blocking communication

Quickstart
----------

.. code-block:: python


    from mgun import HttpClient
    import asyncio

    client = HttpClient('https://httpbin.org')


    async def request():
        resp = await client.anything.api.users[23].address.get({'q': '12'})

        print(resp.status)  # 200
        print(resp.data['url'])  # https://httpbin.org/anything/api/users/23/address?q=12

    loop = asyncio.get_event_loop()
    loop.run_until_complete(asyncio.wait([request()]))