semvec/pypi-packages huggingface dataset:
argvparser 1.0.0
This module allows to format an argument vector in a structure easier to read and use for command line applications
License: MIT

# ArgvParser

ArgvParser allows to format an argument vector in a structure easier to read and use for command line applications.

### Installation

    python -m pip install argvparser

### Importation

    import argvparser

## Using

    import argvparser
    import sys

    args = argvparser.argvparser.parse(sys.argv)

### Documentation

**ArgvParser.parse**

Formate arguments vector to a dictionnary

:param argv: The arguments vector
:type argv: list

:return: The formated arguments
:rtype: dict

:raise Exception: Argument assigned to any option

:Example:

*Parsing with several concatenated options*

    >>> argvparser.argvparser.parse(['app.py', 'ls', '-lar', '42', '--float', '3.14'])
    {
        'app': 'app',
        'command': 'ls',
        'options': {
            '-l': None,
            '-a': None,
            '-r': 42,
            '--float': 3.14
        }
    }

*Parsing without command specified*

    >>> argvparser.argvparser.parse(['app.py', '--print', 'My message I want to print', '-i'])
    {
        'app': 'app',
        'command': None,
        'options': {
            '--print': 'My message I want to print',
            '-i': None
        }
    }

*Parsing with duplicated options*

    >>> argvparser.argvparser.parse(['app.py', '-v', '/var/www', '-i', '-v', '/var/bin/bash'])
    {
        'app': 'app',
        'command': None,
        'options': {
            '-v': [
                '/var/www',
                '/var/bin/bash'
            ],
            '-i': None
        }
    }

**ArgvParser.parse_multi_options**

Retrieves multiple argument (like -li) and reconstruct it to a correct format

:param argv: The arguments vector
:type argv: list

:return: Correctly formated arguments vector
:rtype: list

:Example:

    >>> argvparser.argvparser.parse_multi_options(['app.py', '-liar', '--test'])
    ['app.py', '-l', '-i', '-a', '-r', '--test']

**ArgvParser.is_option**

Check if the argument in parameter is an option or not

:param arg: The argument to control
:type arg: str

:return: True if arg is an option, else false
:rtype: bool

:Example:

    >>> argvparser.argvparser.is_option('-t')
    True

    >>> argvparser.argvparser.is_option('--test')
    True

    >>> argvparser.argvparser.is_option('test')
    False

**ArgvParser.parse_type**

Convert the passed argument into the appropriate type

:param arg: The argument to convert
:type arg: str, None

:return: The converted argument
:rtype: int, float, str, None

:note: The default type returned is a str

:Example:

    >>> argvparser.argvparser.parse_type('test')
    'test'

    >>> argvparser.argvparser.parse_type('42')
    42

    >>> argvparser.argvparser.parse_type('3.14')
    3.14
static_parameters 0.4
Simple decorators to raise a TypeError, if paramates type not satisfied
License: MIT
Keywords: static


static_parameters
-------------
Simple decorators to raise a TypeError, if parameters
and it's static type added to the description __doc__
as such (parameter_name: str) not satisfied.

Example:
from static_parameters import (
    function_parameters,
    class_parameters
)

@function_parameters
def example(a, b):
    '''Some example to demo ((a: str)) ((b: str))'''
    return a + b

# For all methods in a class

@class_parameters(function_parameters)
class Example:
    def exm1(a, b):
        ''' ((a: bool)), ((b: int))
    
    def exm2():
        ...
lively_lights 0.1.1
Lively light scenes on then Philips Hue lamps using Python.
License: MIT
Keywords: hue philips

.. image:: http://img.shields.io/pypi/v/lively_lights.svg
    :target: https://pypi.python.org/pypi/lively_lights

.. image:: https://travis-ci.org/Josef-Friedrich/lively-lights.svg?branch=master
    :target: https://travis-ci.org/Josef-Friedrich/lively-lights


lively-lights
-------------

Lively light scenes on the Philips Hue lamps using Python.

Configuration
^^^^^^^^^^^^^

INI file
""""""""

`~/.lively-lights.ini`

.. code-block:: ini

    [bridge]
    ip = 192.168.3.60
    username = joseffriedrich

    [location]
    latitude = 49.455556
    longitude = 11.078611
    timezone = Europe/Berlin
    elevation = 309


Envrionment variables
"""""""""""""""""""""

.. code-block:: shell

    LIVELY_LIGHTS_BRIDGE_IP=192.168.3.60
    LIVELY_LIGHTS_BRIDGE_USERNAME=joseffriedrich

    LIVELY_LIGHTS_LOCATION_LATITUDE=49.455556
    LIVELY_LIGHTS_LOCATION_LONGITUDE=11.078611
    LIVELY_LIGHTS_LOCATION_TIMEZONE=Europe/Berlin
    LIVELY_LIGHTS_LOCATION_ELEVATION=309
jitsu 0.0.1
Jinja2 templates rendering from yaml data.
License: MIT
Requires Python: >=3.6.0


# jitsu - jinja2 rendering with yaml

Simple, easy rendering of templates for each data file, with one command.

## What jitsu does?

`jitsu` renders data in each data file to specified jinja2 template, and
then store the results in a new directory `_dist`.

## Usage

1. Installation: `pip install jitsu`
2. Directory structure:
   1. All the templates go to `templates` directory. (Can also be specified with
      `-t` option)
   2. All the data files go to `data` directory. (Can also be specified with `-d` option.)
3. Run `jitsu`.

## Applications

### Static websites

```
templates/
 `-- blog-post.j2
  |- poem-post.j2
data/
 `-- post1.yaml
  |- post1.yaml
  |- post2.yaml
  |- post3.yaml
  |- post4.yaml
  |- poem1.yaml
  |- poem2.yaml
```

Running `jitsu` will give something like this
```
_dist/
 `-- post1.html
  |- post2.html
  |- post3.html
  |- post4.html
  |- poem1.html
  |- poem2.html
```
pointillism 0.1.5
Pointillism-style photo manipulation package
License: MIT
Keywords: image manipulation art photos pointillism illustration graphics

Image manipulation for various "pointillism" effects, built from scratch in Python. Image handling courtesy of Pillow. 

Under active development. Please let me know if you have feedback.

## Web app version
Currently deployed at [pointillizer.com](http://www.pointillizer.com), check it out to try out the effect or see examples.

## Examples and usage
See examples and detailed usage in [example notebook](https://github.com/tsennott/pointillism/blob/master/Pointillism%20Example%20Usage.ipynb)

See other example images in [google album](https://photos.app.goo.gl/Dv6IObEJnsxKI3bn1)

## Installation
Install with `pip install pointillism`

## Modules
* `pointillism.image` - core image methods for pointillizing
* `pointillism.pipeline` - methods for making image manipulation pipelines and gifs
* `pointillism.batch` - batch processing of images or gifs in series (parallel coming soon)
* `pointillism.movies` - coming soon!

## Basic usage
Making a pointillized image with default presets 
```
# Import 
import pointillism as pt

# Initialize
point = pt.image(image_location)

# Render
# optional setting can be 'balanced', 'fine', 'ultrafine', 'coarse', or 'uniform'
point.make() 

# Save
# or point.display() if using IPython
point.save_out(image_location) 
```