semvec/pypi-packages huggingface dataset:
kenkou 0.5.5
A python based tool to check that a given resource (URL, Certificate and DNS entry) is alive and valid.
License: MIT

kenkou
======
健康 - kenkou - health

A python based tool to check that a given resource is alive and valid.

It can check on URLs, Certificates and also DNS entries.

All redirects are followed and once the final URL is discovered it is tested for a 2XX result. If a 2XX is returned it is also scanned for mixed-content items if the url is HTTPS. Certificates are verified for any HTTPS site.

Currently it assumes port 443 for TLS and also that the given domain resolves to an IP address.

Designed to be run from a cronjob as often as you want to check the sites.

Note: Kenkou will check to see if the [Certifi](https://certifi.io/en/latest/) Python package is installed, and if so, it will use the CA Bundle from that. If not it will check to see if ```/etc/ssl/certs/ca-certificates.crt``` exists. If neither is found it will exit with an error if a certificate check was requested.

Usage
-----

```
python kenkou.py [-c|--config FILENAME]

Where:
    -c --config  Configuration file (json format)

The output is a based on the value of the "onevent" configuration key:
  "json" (default if not present)
  "pagerduty"
  "postageapp"
```

Requirements
------------
See requirements.txt for details about what Python modules to install.

Configuration
-------------
Example kenkou.cfg file:

```json
{ "pagerduty": {
    "url":    "https://events.pagerduty.com/generic/2010-04-15/create_event.json",
    "method": "POST",
    "params": { "service_key":  "secret",
                "incident_key": "incident_secret",
                "event_type":   "trigger",
                "description":  "FAILURE for production/HTTP"
              }
  },
  "postageapp": {
    "api_key":    "secret",
    "recipients": [ "email@example.com" ]
  },
  "onevent": [ "postageapp" ],
  "checks": "kenkou_check.cfg"
}
```

kenkou_check.cfg:

```json
{ "web": { "url":  "https://example.com",
           "dns":  [ "example.com", "127.0.0.1", 
                     [ "ns1.dnsimple.com", "ns2.dnsimple.com" ]
                   ],
           "cert": "example.com"
         },
  "lb": { "url":  "http://lb.example.com",
          "dns":  [ "lb.example.com", "127.0.0.1", 
                    [ "ns1.dnsimple.com", "ns2.dnsimple.com" ]
                  ],
          "cert": "lb.example.com"
         }
}
```
deviantart 0.1.3
A Python wrapper for the DeviantArt API
License: MIT
Keywords: deviantart, api, wrapper, oauth2, oauth

'deviantart' is a python package that provides easy access to the deviantart API.

Documentation

The documentation for this package can be found under: https://neighbordog.github.io/deviantart/

License

The deviantart python package is licensed under the `MIT license
<https://opensource.org/licenses/MIT>`_.
getmagnetlink 1.0.1
Retrieves the torrent hash for the specified torrent
License: MIT

getmagnetlink
=============

Searches for specified torrent and returns magnet link

Usage
-----

::

    usage: getmagnetlink [-h] term

    positional arguments:
      term        Search term

    optional arguments:
      -h, --help  show this help message and exit

Installation
------------

Via ``pip``:

::

    pip3 install getmagnetlink

Alternatively:

-  Clone the repository, ``cd getmagnetlink``
-  Run ``python3 setup.py install`` or ``pip3 install -e``
brains 0.0.5
Helps submit files to brains app
License: MIT

brains-cli
==========

Command line interface to [brains](http://github.com/dev-coop/brains)


installation
============

```pip install brains```



usage
=====

##### `> brains init`

asks for user information and how to run the program, saves to `brains.yaml` in current directory

##### `> brains push [--dataset iris] [--description "My first try"] [--dont-wait-up]`

requires `brains init` first. collects local source and pushes to server. `--dont-wait` will make the call return immediately and not wait for results

##### `> brains results`

TODO: Opens up results in browser


`brains.yaml` examples
==================

Hello world
```
run: python hello_world.py
content: hello_world.py
```

Hello world with glob file pattern
```
run: python hello_world.py
content: *.py
```

Hello world multiple individual files AND glob patterns
```
run: python hello_world.py
content:
 - hello_world.py
 - test_hello_world.py
 - yo_momma.dataset
 - src/*.py
```






# TODO

 - [ ] finish `get` command where to save it?
 - [ ] `brains run` should fetch dataset/cache it properly (use name not UUID)
 - [ ] TODO: Opens up results in browser/go to browser with current config already setup?
 - [x] change `init` to automatically put every file in contents except brains history
 - [x] support multiple datasets
 - [ ] add `brains datasets` to list datasets
translate-term 0.1.3
Command line translator pulling from wordreference.com and coded in Python
License: MIT
Keywords: shell bash zsh terminal translate wordreference

Translate-term
======

Command-line translator relying on [WordReference](http://wordreference.com)
for translation and coded in Python.

After several years of being disappointed with google translate, I discovered
the website [WordReference](http://wordreference.com), which offers far better
translations for about any word. What I particularly enjoy is the fact that it
tries to translate all the variations in meaning, as words don't necessarily
match perfectly. And it also works fairly well with expressions.

So, since I'm a sucker for everything related to terminals, I came up with this
little tool. Nothing fancy, just good translation at the fingertip

Install
------

You can install directly this package with pip:
```
pip install translate-term
```

Usage
------

You simply need to call it from a terminal with the `translate [dict] [word]`
syntax. 

- The `dict` argument is a 4 letter string, the first two letters being 
the key corresponding to the initial language and the last 2 the key to the
language to translate to
- The `word` argument is the word or expression to be translated. If the case
  of an expression, remember to put quotes around it.

For example, if you want to translate 'speak' from English to French, you need
to type:
```
translate enfr speak
```

And if you want to translate an expression:
```
translate enfr "speak out"
```

If you want the list of available dictionaries, just pass the `-l` or `--list`
argument:
```
translate -l
translate --list
```

Any doute, just call for `--help`!:
```
translate -h
translate --help
```

Note
------

This utility doesn't rely on any API, so there is practically no limit in the
number of translations that you can perform.

There are a few strange characters that appear here and there. They come from
the html, and I'm too lazy to handle them.

Also you might notice that the returned table doesn't include all the results
that you would find on the website. That is completely intentional. The
objective of this utility is to present a large enough variations of a a word,
without displaying the whole dictionary either. It also helps limiting the
width of the table, which becomes a mess if it is too wide.