semvec/pypi-packages huggingface dataset:
autoplay 0.2.1.dev6
yaml orchestration for bash
Requires Python: >=3
Keywords: automation cli

AutoPlay: yaml orchestration for bash
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Sometimes I find make too old, autoplay unfrustrates me.

Getting started
---------------

Install with ``pip install autoplay``.

It will look for jobs in ``autoplay.yml`` in the current directory or fallback
on the ``autoplay/autoplay.yml`` file which defines a few default jobs. The
twine job for example will build .po files and make a python package that it
will upload with twine, to automate python package release::

    autoplay debug twine
    autoplay twine mode=dryrun
    TWINE_USERNAME=... TWINE_PASSWORD=.. autoplay twine

Create a file with name ``autoplay.yml`` containing::

    ---
    env:
      someglobal: foo

    ---
    name: example
    env:
      example_var: ./autoplay-example
      multiline_var: |
        foo
        bar
    setup:
    - test -f $example_var || echo "$multiline_var" > $example_var
    script:
    - cat $example_var

    ---
    name: test
    requires:
    - example

Then, see the commands it would execute with ``autoplay run example mode=dryrun``...

In-development
==============

CLI Development Environment
---------------------------

We're investing in a development command that would allow to run several jobs
simultaneously, with an `urwid
<https://urwid.org>`_ based interface. It would allow to define jobs like this
in your autoplay.yml::

    ---
    name: dev
    script:
    - eslint --watch
    - yarn start
    - django-admin runserver
    - py.test --watch

That you could run with ``autoplay run dev mode=ide``.

Tox-like and docker based executors
-----------------------------------

The default executor is ``linux`` which executes in a bash subshell.
However other executors are available such as ``executor=docker`` (for
baking development environments) and ``executor=virtualenv`` (for build
matrix).
numdatapiyumiyu 0.0.1
simple package calculating for numbers
Keywords: ckage numbers calculations

#Test
##Test

sudo python setup.py install
python3 -m pip install --user --upgrade setuptools wheel
sudo python3 setup.py sdist bdist_wheel

Install to to upload to pypi:
python3 -m pip install --user -upgrade twine
twine upload --repository-url https://test.pypi.org/legacy dist/*  
or
python3 -m twine upload --repository-url https://test.pypi.org/legacy dist/*
inside-out-proxy 190126
HTTP Proxy
Keywords: http,proxy

# Inside Out HTTP Job Proxy

> "Don't call us, we call you!"

(https://en.wiktionary.org/wiki/Hollywood_principle)

Allows to stream jobs from a long polling server to the proxy, which turns them into outgoing HTTP Requests.


# Proxy

Specific options:

    inside_out_proxy --help

All options

    inside_out_proxy --helpfull

## Example:

    inside_out_proxy --user=foo --password="$PW" --jobserver="https://..."


# Testserver

Included is a test server which allows to check the correct working of the
client.

    inside_out_proxy_test_jobserver --help

shows its options.


## Testrun

### Periodic Jobs

This will start the testserver on localhost port 8089, returning jobs from
playbook "prod":

```bash
inside_out_proxy_test_jobserver --playbook prod --loops=1000 --debug
```

Now we connect the proxy with default settings:

```bash
inside_out_proxy --debug

```

### Speed Test

When we connect with user speed and a password which the testserver accepts, it
will load the client with jobs for perf tests:

```
# server:
inside_out_proxy_test_jobserver --speed_user_password=foo --debug

# client:
inside_out_proxy --debug --user=speed --password=foo
```



DVCS URL: /scm/hg/AX/inside_out_proxy