semvec/pypi-packages huggingface dataset:
TimedDict 0.2.4
Extending the dict data type, with a rolling window feature, that automatically purge elements falling outside the defined window.
License: MIT

TimedDict
=========

Requirements
-------------

* Python -- one of the following:

  - CPython_ : >= 3.3
  - PyPy_ : Latest version

.. _CPython: https://www.python.org/
.. _PyPy: https://pypy.org/

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

Package is uploaded on `PyPI <https://pypi.org/project/TimedDict>`_.

You can install it with pip::

    $ python3 -m pip install TimedDict


Backwards compatibility
-----------------------

Backwards compatibility is only guaranteed between minor versions above the stable version (1.0)
Therefore it's advised to to pin the module on a version ether the specific version like:
TimedDict==X.X.X

or get the latest minor version:
TimedDict~=X.X.X

See more examples of how to pin version in `PEP-440 <https://www.python.org/dev/peps/pep-0440/#compatible-release>`_.


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

For support, please refer to `StackOverflow <https://stackoverflow.com/>`_.

Example
-------

The following example showcases

.. code:: python

    import time
    from TimedDict import timeddict

    events_window = timeddict.TimedDict()

    now = time.time()

    # Assign values like a normal dict like:
    events_window[now] = 'value_1'
    events_window[now + 1] = 'value_2'

    # ...or like:
    events_window.update({now + 2: {'values': {'value_3', 'value_4'}}})

    print('Raw data:')
    print(events_window)

    # NOTE:
    # As the TimedDict has a thread running purging old elements, it's important to ether
    # use the protect() or pause() followed by a resume() when iterating.

    # Automatic by the use of context manager, protect() approach
    with events_window.protect():
        print('\n- protect()')
        for event in events_window:
            print(event)

    # Manual setting, pause() and resume() approach
    events_window.pause()
    print('\n- pause() followed by resume()')

    for event in events_window:
        print(event)

    events_window.resume()

    # TTL example
    print('\nLength of the TimedDict: {}'.format(len(events_window)))
    print(events_window)
    time.sleep(1.1)
    print(events_window)
    time.sleep(1)
    print(events_window)
    time.sleep(1)
    print(events_window)

    # Gracefully stop the purge thread
    events_window.stop()

This example will print:

.. code:: python

    Raw data:
    {1534608053.6948583: 'value_1', 1534608054.6948583: 'value_2', 1534608055.6948583: {'values': {'value_4', 'value_3'}}}

    - protect()
    1534608053.6948583
    1534608054.6948583
    1534608055.6948583

    - pause() followed by resume()
    1534608053.6948583
    1534608054.6948583
    1534608055.6948583

    Length of the TimedDict: 3
    {1534608053.6948583: 'value_1', 1534608054.6948583: 'value_2', 1534608055.6948583: {'values': {'value_4', 'value_3'}}}
    {1534608054.6948583: 'value_2', 1534608055.6948583: {'values': {'value_4', 'value_3'}}}
    {1534608055.6948583: {'values': {'value_4', 'value_3'}}}
    {}

License
-------

TimedDict is released under the MIT License. See LICENSE for more information.
qs-qrcode 1.2
generate qrcode
License: MIT

================
QRCode generator
================

install::

    pip install qs-qrcode

usage
=====

use in cmd:

.. code:: bash

    qsqrcode -l H -m 唱歌不如跳舞 -s 400 -b 20 -c #569932

or if you did not install with pip:

.. code:: bash

    python qsqrcode.py -l H -m 唱歌不如跳舞 -s 400 -b 20 -c #569932

and for more usage:

.. code:: bash

    qsqrcode -h

use in python:

.. code:: python

    from qsqrcode.qrcode import Qrcode

    qr = Qrcode('test it')
    qr.generate('testpic/test.png')

more usage
----------

.. code:: python

    from qsqrcode.qrcode import Qrcode

    # Qrcode 的第二个参数，L ≈ 7%容错，M ≈ 15%容错，Q ≈ 25%容错，H ≈ 30%容错
    Qrcode('test', 'L').generate('testpic/test7.png')
    Qrcode('test', 'M').generate('testpic/test8.png')
    Qrcode('test', 'Q').generate('testpic/test9.png')
    Qrcode('test', 'H').generate('testpic/testA.png')

    Qrcode('填充颜色', 'H').colour('#1294B8').resize(250).generate('testpic/test1.png')

    Qrcode('填充图片', 'H').paint('pic/testbg.jpg').resize(250).generate('testpic/test2.png')

    Qrcode('再看看如何加border', 'H').paint('pic/test.jpg').resize(230).set_border(10).generate('testpic/test3.png')

    Qrcode('测试二维码中间加入图片', 'H').put_img_inside('pic/mystic.png').resize(375).generate('testpic/test4.png')

    Qrcode('gif试试看，但效果并不好看，而且暂不支持set_border', 'H').fill_gif('pic/pla.gif').resize(250).generate('testpic/testD.gif')
mcmder 0.2.0
Yet Another Wrapper of Nysol M-Command in Python.
License: MIT
Requires Python: >=3.5.0


# mcmder
Yet Another Wrapper of Nysol M-Command in Python.


## Description

High-speed processing (CSV) of large-scale structured data tables.

To know more about Nysol and M-Command, see the official documents.


### What is Nysol and M-Command?
[Nysol Official Page](http://www.nysol.jp/en/home)

[M-Command GitHub](https://github.com/nysol/mcmd)


### How fast Nysol is?
[Nysol Biz Page (Japanese)](http://www.nysol.biz/)


## Features
- Create M-Command easily in python with method chaining. 
- Execute M-Command without putting large data on memory.(csv to csv)
- Optionally use pandas DataFrame as input and output.


## Requirement
- [nysol/mcmd](https://github.com/nysol/mcmd#installation)
- [pandas](https://pandas.pydata.org/)


## Usage

### From CSV File
sample.csv
```
a,b,c
x,1,4
y,2,9
z,3,3
```

```
>>> from mcmder import Mcmder
>>> m = Mcmder('sample.csv')
>>> mc = m.mcut(['a','c'])
>>> mc.save('cut.csv')
```

cut.csv
```
a,c
x,4
y,9
z,3
```

```
>>> mc.dataframe
   a  c
0  x  4
1  y  9
2  z  3
```

### From pandas DataFrame
```
>>> from mcmder import Mcmder
>>> import pandas as pd
>>> import numpy as np
>>> df = pd.DataFrame(np.random.randn(6,4), columns=list('ABCD'))
>>> m = Mcmder(df)
>>> mc = m.mcut(['A','C','D']).msel('${A}>0')
>>> mc.dataframe
          A         C         D
0  0.251857  0.080099 -1.211923
1  0.100167 -1.824585  0.051611
2  0.890079  1.440997 -0.298709
```

## License

[MIT](https://github.com/yhay81/mcmder/blob/master/LICENSE)


## Author

[Yusuke Hayashi](https://github.com/yahy81)
DomotApiModbus 0.4.0
Working with modbus devices in domot-api
License: MIT
Keywords: modbus vmc boiler dedietrich unelvent ideo

DomotApiModbus
=========================

DomotApiModbus provide a simple interface to get and set value on a modbus device.

It is composed of a generic modbus class, and specific device class.

In the current version, class for Unelvent Ideo 450 is implemented


.. :changelog:

History
-------
0.4.0 (2018-11-13)
++++++++++++++++++
- Adding of DeDietrich Boiler class

History
-------
0.3.1 (2018-11-09)
++++++++++++++++++
- Packaging fixes

History
-------
0.2 (2018-11-09)
++++++++++++++++++
- Packaging fixes

History
-------
0.1 (2018-11-08)
++++++++++++++++++
- First version