semvec/pypi-packages huggingface dataset:
automate-ws 0.9.1
A simple web server to interact with automate-home projects
License: MIT

[![Build Status](https://travis-ci.com/majamassarini/automate-ws.svg?branch=main)](https://travis-ci.com/majamassarini/automate-ws)
[![codecov](https://codecov.io/gh/majamassarini/automate-ws/branch/main/graph/badge.svg?token=tPHRNf4csz)](https://codecov.io/gh/majamassarini/automate-ws)

## automate-home web server

The simplest user interface I was able to develop for the [automate-home project](https://github.com/majamassarini/automate-home).
automate-lifx-plugin 0.9.1
A Lifx plugin for automate-home
License: MIT

# automate-lifx-plugin
[![Build Status](https://app.travis-ci.com/majamassarini/automate-lifx-plugin.svg?branch=main)](https://app.travis-ci.com/majamassarini/automate-lifx-plugin)
[![codecov](https://codecov.io/gh/majamassarini/automate-lifx-plugin/branch/main/graph/badge.svg?token=hGxVY2MzWP)](https://codecov.io/gh/majamassarini/automate-lifx-plugin)
[![Documentation Status](https://readthedocs.org/projects/automate-lifx-plugin/badge/?version=latest)](https://automate-lifx-plugin.readthedocs.io/en/latest/?badge=latest)

The **Lifx** plugin for the [automate-home project](https://github.com/majamassarini/automate-home).

## Yaml examples of usage

Trigger and commands for a [indoor hue light model](https://automate-home.readthedocs.io/en/latest/appliances.html#light-indoor-hue-appliance).
```yaml
- !Performer
  name: "lifx state"
  for appliance: "an indoor hue light"
  commands: []
  triggers:
    - !lifx_plugin.trigger.State
      addresses: [["172.31.10.245", 56700]]
      events: []


- !Performer
  name: "set color command"
  for appliance: "an indoor hue light"
  commands:
    - !lifx_plugin.command.SetColor { addresses: [ [ "172.31.10.245", 56700 ] ] }
  triggers: [ ]


- !Performer
  name: "start show command"
  for appliance: "an indoor hue light"
  commands:
    - !lifx_plugin.command.SetWaveform { addresses: [ [ "172.31.10.245", 56700 ] ] }
  triggers: [ ]


- !Performer
  name: "adjust lifx brightness through a knx dimming button"
  for appliance: "an indoor hue light"
  commands:
    - !lifx_plugin.command.SetColor {addresses: [["172.31.10.245", 56700]]}
  triggers:
    - !knx_plugin.trigger.dpt_control_dimming.BrightnessStep {addresses: [0x0C07]}
```

## Documentation

* [automate-home protocol commands/triggers chapter](https://automate-home.readthedocs.io/en/latest/performer.html)
* [automate-lifx-plugin documentation](https://automate-lifx-plugin.readthedocs.io/en/latest/?badge=latest)

## Contributing

Pull requests are welcome!

## License

The automate-lifx-plugin is licensed under MIT.
automate-home-assistant-plugin 0.9.1
An Home Assistant plugin for automate-home
License: MIT

# automate-home-assistant-plugin
[![Build Status](https://app.travis-ci.com/majamassarini/automate-home-assistant-plugin.svg?branch=main)](https://app.travis-ci.com/majamassarini/automate-home-assistant-plugin)
[![codecov](https://codecov.io/gh/majamassarini/automate-home-assistant-plugin/branch/main/graph/badge.svg?token=)](https://codecov.io/gh/majamassarini/automate-home-assistant-plugin)

The **Home Assistant** plugin for the [automate-home project](https://github.com/majamassarini/automate-home).

## Yaml examples of usage

Triggers for a *Home Assistant* **wind sensor**.
```yaml
- !Performer
  name: "wind trigger"
  for appliance: "wind"
  commands: []
  triggers:
    - !home_assistant_plugin.service.sensor.float.trigger.Always {entity_id: "sensor.velocita_del_vento"}

- !Performer
  name: "strong wind trigger"
  for appliance: "wind"
  commands: []
  triggers:
    - !home_assistant_plugin.service.sensor.float.trigger.GreaterThan
      entity_id: "sensor.velocita_del_vento"
      events:
        - !home.event.wind.Event.Strong
      value: 3.0
```

Command for notifying a message through *Home Assistant*.

```yaml
- !Performer
  name: "notify microwave can be detached"
  for appliance: "microwave"
  commands:
    - !home_assistant_plugin.service.notify.command.Detachable {message: "the microwave could be detached", title: "", target: [], data: {}}
  triggers: []
```

## Documentation

* [automate-home protocol commands/triggers chapter](https://automate-home.readthedocs.io/en/latest/performer.html)

## Contributing

Pull requests are welcome!

## License

The automate-home-assistant-plugin is licensed under MIT
create-invoice 1.0.0
Create PDF invoices from YAML files.
License: MIT


<div align="center">
    <img alt="invoice-generator" src="https://nikeee.github.io/invoice-generator/icon.png">
    <h1>invoice-generator</h1>
    <img alt="License" src="https://img.shields.io/github/license/nikeee/invoice-generator.svg">
    <img alt="Travis Build Status" src="https://travis-ci.com/nikeee/invoice-generator.svg?branch=master">
    <img alt="PyPI Package" src="https://img.shields.io/pypi/v/invoice-generator.svg">
</div>


Generate invoices using python, weasyprint and yaml.
Just add your data to `documents/invoice/data.yml` and run the `./create-invoice` script.

<div align="center">
    <h5>Sample Invoice</h5>
    <img alt="Fancy Sample Invoice" src="https://nikeee.github.io/invoice-generator/sample-output.png">
</div>

## Usage
```
usage: create-invoice [-h] [--template TEMPLATE] [--defaults-file DEFAULTS_FILE]
                   --invoice-data-file INVOICE_DATA_FILE --out-file OUT_FILE
                   [--locale LOCALE]

Create PDF invoices from YAML files.

optional arguments:
  -h, --help            show this help message and exit
  --template TEMPLATE   The name of the template to use (e.g. invoice)
  --defaults-file DEFAULTS_FILE
                        The yaml file path to use for default data like
                        "from", "currency", etc. Defaults to ~/.default-
                        invoice-data.yml (if it exists).
  --invoice-data-file INVOICE_DATA_FILE
                        The yaml file path to use for the individual invoice
                        data. Overrides values set via "--defaults-file" if
                        they differ.
  --out-file OUT_FILE   The output pdf file
  --locale LOCALE       The locale to use. Defaults to the system locale
                        (en_US.UTF-8)
```

```shell
./create-invoice --invoice-data-file invoice.yml --template documents/invoice/template --out-file out.pdf
```
<table style="width: 100%;">
    <tbody>
        <tr>
            <td><code>~/.default-invoice-data.yml</code></td>
            <td><code>invoice.yml</code></td>
        </tr>
        <tr>
            <td class="highlight highlight-source-yaml">
<pre><code>
currency: â‚¬
from:
  name: Your Company GmbH
  address:
    street: Konrad-Zuse-StraÃŸe 3
    postal_code: "01337"
    city: Berlin
</code></pre></td>
            <td class="highlight highlight-source-yaml">
<pre><code>
to:
  name: Musterkunde
  customer_id: 10004
  address:
    street: An der Ecke 1
    postal_code: "042424"
    city: Berlin
tax_rate: 19
invoice:
  number: R10006
  date: 15.09.2016
  pay_until_date: 22.09.2016
positions:
  - net_price: 215
    amount: 1
    text: |
      Server Rechenzentrum
      Windows Server
      Monat 08.2017
  - net_price: 215
    amount: 2
    text: |
      Eine andere
      wichtige mit gaaaaanz langer und vielen woerten beschriebenen
      Dienstleistung
</code></pre></td>
        </tr>
    </tbody>
</table>

#### Credits
Invoice Icon by [Icons8](https://icons8.com/icon/pack/ecommerce/dusk)
django-isnull-list-filter 0.3.2
Simple list_filter that offers filtering by __isnull.
License: MIT
Keywords: django-isnull-list-filter

=============================
Django isNull list_filter
=============================

.. image:: https://badge.fury.io/py/django-isnull-list-filter.svg
    :target: https://badge.fury.io/py/django-isnull-list-filter

.. image:: https://travis-ci.org/petrdlouhy/django-isnull-list-filter.svg?branch=master
    :target: https://travis-ci.org/petrdlouhy/django-isnull-list-filter

.. image:: https://codecov.io/gh/petrdlouhy/django-isnull-list-filter/branch/master/graph/badge.svg
    :target: https://codecov.io/gh/petrdlouhy/django-isnull-list-filter

Simple list_filter that offers filtering by __isnull or by blank char field.

Documentation
-------------

The full documentation is at https://django-isnull-list-filter.readthedocs.io.

Quickstart
----------

Install django-isnull-list-filter::

    pip install django-isnull-list-filter

or use development version::

    pip install -e git+https://github.com/PetrDlouhy/django-isnull-list-filter#egg=django-isnull-list-filter

Directly use it in your admin:

.. code-block:: python

    from isnull_filter import isnull_filter
      class MyAdmin(admin.ModelAdmin):
         list_filter = (
             isnull_filter('author'),  # Just set the field
             isnull_filter('author', _("Hasn't got author")),  # Or you can override the default filter title
             isnull_filter('author', _("Has got author"), negate=True),  # And you can negate the condition
         )

or:

.. code-block:: python

    from isnull_filter import isblank_filter
      class MyAdmin(admin.ModelAdmin):
         list_filter = (
             isblank_filter('author'),  # Just set the field
             isblank_filter('author', _("Hasn't got author")),  # Or you can override the default filter title
             isblank_filter('author', _("Has got author"), negate=True),  # And you can negate the condition
         )

Features
--------

* Can be used on:
    * simple field
    * `ForeignKeyField`
    * related `ForeignKeyField`
    * `ManyToManyField`
    * `OneToOneField`
* Default title can be overriden

Running Tests
-------------

Does the code actually work?

::

    source <YOURVIRTUALENV>/bin/activate
    (myenv) $ pip install tox
    (myenv) $ tox

Credits
-------

Author:

* Petr Dlouhý

Tools used in rendering this package:

*  Cookiecutter_
*  `cookiecutter-djangopackage`_

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackage




History
-------

0.3.2 (2021-12-16)
++++++++++++++++++

* Fix for Django 4.0

0.3.1 (2021-11-18)
++++++++++++++++++

* Fix isblank_filter

0.3.0 (2021-11-17)
++++++++++++++++++

* Add also isblan_filter

0.1.0 (2017-04-26)
++++++++++++++++++

* First release on PyPI.