semvec/pypi-packages huggingface dataset:
wait-util 1.1.2
wait function used to wait event happens
License: MIT
Requires Python: >=3.6

# changelist
* 1.1.2,  fix readme
* 1.1.1,  update type hint
* 1.1.0,  add wait_for
* 1.0.0,  first release

# feedback
* send email to dvdface@gmail.com
* visit https://github.com/dvdface/waitutil

# how to install
`pip install wait-util`

# known issues

None

# test info
```
Name               Stmts   Miss  Cover
--------------------------------------
wait\__init__.py       2      0   100%
wait\wait.py          65      6    91%
--------------------------------------
TOTAL                 67      6    91%
```
# how to use
1. **install package**
   
   run `pip install wait-util` to install wait package<br/>

2. **use wait_until_change/wait_until_no_change**
    ```
    from wait import wait_until_change, wait_until_no_change

    def demo():
      return 1

    wait_until_change(demo, interval=1, timeout=5)

    wait_until_no_change(demo, interval=1, timeout=5)
    ```
3. **use wait_for_true/wait_for_false**
    ```
    from wait import wait_for_true, wait_for_false

    def demo():
      return True

    wait_for_true(demo, interval=1, timeout=5)

    wait_for_false(demo, interval=1, timeout=5)
    ```
4. **use wait_for**
    ```
    from wait import wait_for

    def func():
        import random
        return random.randint(0, 1)

    wait_for(func, 0)
    ```

# how to contribute
1. **visit https://github.com/dvdface/waitutil**
2. **submit your contribute**
jenkins-rapid 0.4.9
A simple tool to rapidly create and debug jenkins pipelines
License: MIT

# Jenkins Rapid 

A commandline tool to quickly develop/debug Jenkins piepline using jenkinsfiles

## Features

- Upload jenkinsfile from local
- Create/Update jobs (with parameters too)
- Triggers builds
- Streams log output to terminal
- Stop running jobs you’ve started
- Delete jenkins jobs
- Work with Jenkinsfiles directly from your favorite IDE



## Usage: 

#### Create and trigger job

        
            $ jrp --job <job_name> --file <jenkinsfile >--url <jenkins_url> --user <username> --token <user_api_tokern>





## Install 

        $ pip3 install jenkins-rapid

## Config  

- Only generated API tokens will work
- Environment variables can be set for the following values for jenkins url and user credentials and will take presedence over commandline arguments 

        export JENKINS_URL=http://localhost:8080
        export JENKINS_USER=admin
        export JENKINS_PASSWORD=<jenkins_api_token>


        # Deletes job
            $ jrp delete --job <job_name> --url <jenkins_url> --user <username> --token <user_api_tokern>




### Passing build parameters

Build parameters can be passed using a yaml file. See example below

        ---
        - name: PARAM1
          value: some value
        - name: TEST_PARAM2
          value: 19
        - name: TEST_PARAM3
          value: 999
        - name: TEST_PARAM4
          value: morevalues
        - name: SOME_PARAM
          value: obscure value