semvec/pypi-packages huggingface dataset:
dont-argue 0.1.3
Dead-simple command line argument parsing
License: MIT
Keywords: command line,argument,parsing,argparse

# dont-argue
Dead-simple command line arguments for python scripts.

I got sick of re-learning the argparse module every time I just needed to pass
in a few simple command line arguments for a python script. `dont_argue` skips
the boring stuff and lets you get started in a flash.

## Usage

**dont\_argue** provides the decorator **supply\_args**, use it on a function
and that function's arguments will be provided from the command line.

Check it out:
```python
#!/usr/bin/python
from dont_argue import supply_args
@supply_args
def main(name, location, *friends):
    friends = ', '.join(friends)
    print 'Hello {} from {} and your friends {}'.format(name, location, friends)

# Now to kick things off we just call the function, the arguments come from the
# command line, so we don't give any here.
main()
```

Try it out:
```
$ ./example.py Joe Alabama Jake Drake
Hello Joe from Alabama and your friends Jake, Drake
```
If that's all you need, then you're done! Also notice how all the extra
arguments get packed up into `*friends` as expected.

You can also work with command line options by specifying keyword arguments for
your function. They can be specified on the command line using the
`--option=value` or `--option value` syntax.
```python
@supply_args
def main(name, mood='FRIENDLY'):
    if mood == 'FRIENDLY':
        print 'Hello {}! Welcome here!'.format(name)
    elif mood == 'ANGRY':
        print 'Hey {}! Get out of my house!'.format(name)
main()
```

Now we can specify `mood` or not. Also note that providing too few arguments or
using the -h flag will display usage information.
```
$ ./test.py Joe
Hello Joe! Welcome here!
$ ./example.py Joe --mood ANGRY
Hey Joe! Get out of my house!
$ ./example.py -h
usage: example.py [-h] [--mood MOOD] name

positional arguments:
  name

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

Arbitrary keyword arguments don't make a ton of sense on the command line, so
you must explicitly declare your keyword arguments, `**kwargs` won't work with
command line options.
ludolph-doorman 1.2
Ludolph: Doorman plugin
License: MIT

ludolph-doorman
###############

`Ludolph <https://github.com/erigones/Ludolph>`_: Doorman plugin

Plugin for Ludolph to be able to use `RPi.doorman <https://github.com/ricco386/rpi-doorman>`_ library on Raspberry Pi.

.. image:: https://badge.fury.io/py/ludolph-doorman.png
    :target: http://badge.fury.io/py/ludolph-doorman


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

- Install the latest released version using pip::

    pip install ludolph-doorman

- Add new plugin section into Ludolph configuration file::

    [ludolph_doorman.serve]

- Update Ludolph to run as a default user (pi), as it needs access to GPIO
- Reload Ludolph::

    sudo systemctl restart ludolph.service


**Dependencies:**

- `Ludolph <https://github.com/erigones/Ludolph>`_ (0.6.0+)
- `RPi.doorman <https://github.com/ricco386/rpi-doorman>`_ (0.1.0+) 


License
-------

For more information see the `LICENSE <https://github.com/erigones/ludolph-doorman/blob/master/LICENSE>`_ file.
koine-nlp 0.2
A library for common NLP-related tasks for Koine Greek.
License: MIT

=========
koine-nlp
=========

.. image:: https://travis-ci.org/nathans/koine-nlp.svg?branch=master
	   :target: https://travis-ci.org/nathans/koine-nlp
	      
.. image:: https://coveralls.io/repos/github/nathans/koine-nlp/badge.svg?branch=master
	   :target: https://coveralls.io/github/nathans/koine-nlp?branch=master


About
=====

A library for common NLP-related tasks for Koine
Greek.

The fullest use of the library comes in the normalize() function,
which combines all of the available methods to produce an end result
which is suitable for indexing.

View the `full documentation online <http://koine-nlp.nathan.smithfam.info/>`_.


Authors
=======

* © 2015, 2016 Nathan D. Smith <nathan@smithfam.info>

License
=======

koine-nlp is released under the terms of the The MIT License
(MIT). See COPYING for full license text.