semvec/pypi-packages huggingface dataset:
pyinsults 0.0.0.0.14
A Python module, allowing you to cuss at your users.
License: MIT

# pyinsults

That's right, harness the power of `Python` to dynamically call your users really inapropriate names.

# Installation

Install using ```pip install pyinsults```

Upgrade *frequently* using ```pip install pyinsults --upgrade```


# Usage

```from pyinsults import insults ```
> Done in [.01s]

``` print(insults.short_insult()) ```
> dickwad

``` print(insults.long_insult()) ```
> stinking dickwad

``` print(insults.insultify("Have a nice day, you {}!")) ```
> Have a nice day, you stinking dickwad!


# Deployment

Build using ```python setup.py sdist bdist_wheel```

Upload using ```twine upload dist/*```
routeros-updates 0.2.2
RouterOS Update Checker and Downloader
License: MIT

# RouterOS Update Check Tool

Check for and download RouterOS updates on the command line.

  - Download the latest update for the architecture you specify
  - Echo just the URL to the download
  - View patch notes

## Install
`$ pip install routeros-updates`

## Usage
### Download Package
Download the update package for the given architecture (mipsbe, arm, x86, etc.)

#### Template
`$ ros-updates download <arch>`

#### Examples
Download latest mipsbe main package from 'stable' channel

  `$ ros-updates download mipsbe`
  
Download latest optional packages zip for ARM from 'long term' channel and put in /tmp folder:

  `$ ros-updates --channel lts download arm --file /tmp`

Download latest ARM main package from 'stable' channel and match directory structure from the update site.
This creates a folder path like **./routeros/6.45.5/routeros-arm-6.45.5.npk**

  `$ ros-updates download arm --mirror`


### Echo URL
Echo the download URL instead of downloading it.

#### Template
`$ ros-updates url <arch>`

#### Examples
Echo the URL for the optional packages for the ARM architecture in the 'stable' channel:

`$ ros-updates url arm --package all`

Echo the URL for the main package for the x86 architecture in the 'testing' channel:

`$ ros-updates --channel testing url x86`

### Echo Patch Notes
Echo the patch notes for the given channel.

#### Template
`$ ros-updates notes`

#### Examples
Echo patch notes for the 'stable' channel.

`$ ros-updates notes`

Echo patch notes for the 'lts' channel

`$ ros-updates --channel lts notes`
workfrontutil 0.1.0
Python Wrapper for the Workfront API
License: MIT
Requires Python: >= 3.7

# workfront-util
### Simple Python library that can be used to retrieve data from the workfront api. 
---

#### Easily return all data for any objCode from the workfront api. 
#### This library uses asyncio under the hood to batch requests and return a list of dicts. 
---
```
loop = asyncio.new_event_loop()
asyncio.set_event_loop(loop)
api = WorkfrontAPI(objCode= 'hour')
hours = api.return_all()
```
---
Control the results by configuring a workfront_util_settings.json file.  

```
{
  "workfront" : {
        "environment": "prod", 
        "api_version": "9.0", 
        "filters": {
            "hour" : {
                    "entryDate": "2019-07-01", 
                    "entryDate_Mod": "between", 
                    "entryDate_Range": "$$TODAYb"          
            }
        }, 
        "fields" : {
            "hour" : "*"

        }

}
```
---
OR Add your filter options and field selections inline if preferred. 

```
loop = asyncio.new_event_loop()
asyncio.set_event_loop(loop)
settings = ENVSettings()

filter_option = {
                    "entryDate": "2019-07-01", 
                    "entryDate_Mod": "between", 
                    "entryDate_Range": "$$TODAYb"          
            }

api = WorkfrontAPI(
    version = settings.api_version,
    env= settings.env ,
    fields = "*"
    filter_option= filter_option, 
    objCode= 'hour')

hours = api.return_all()

```

Return a flat pandas dataframe by passing flat=true

```
hours = api.return_all(flat=True)
```


Run a CLI 

```
Usage: workfrontutil [OPTIONS]

Options:
  --make_config TEXT  Generate config file
  --config_path TEXT  location of config file
  --objCode TEXT      Target objCode
  --fields TEXT       Target objCode fields to return
  --filter TEXT       Target objCode filter to use
  --edit_config TEXT  Update Config file
  --save_obj TEXT     Save all objCode data to DB
  --help              Show this message and exit.

```

#Getting Started

Install the package 
```
pip install workforntutil
```

Run from the cli or import into your script

```
from workfrontutil import WorkfrontAPI
```