semvec/pypi-packages huggingface dataset:
asynclog 0.1.7
Asynchronous log for python logging.
License: MIT
Keywords: logging asynchronous

## asynclog
[![Build Status](https://travis-ci.org/unpluggedcoder/asynclog.svg?branch=master)](https://travis-ci.org/unpluggedcoder/asynclog) [![Coverage Status](https://coveralls.io/repos/github/unpluggedcoder/asynclog/badge.svg?branch=master)](https://coveralls.io/github/unpluggedcoder/asynclog?branch=master)

`asynclog` provide the asynchronous way for python logging. Leave the logging I/O(especially the network I/O when we want to logging to a network endpoint) to the asynchronous thread or asynchronous task provided by [celery](http://www.celeryproject.org/) .

#### Requirements

* Python 3.5+

#### Install

```shell
pip install asynclog
```

#### Usage

* Config from dict

```python
log_cfg = {
    'version': 1,
    'disable_existing_loggers': False,
    'formatters': {
        'simple': {
            'format': '%(asctime)s \n %(levelname)s \n %(message)s'
        },
    },
    'handlers': {
        'async_handler': {
            'level': 'INFO',
            'formatter': 'simple',
            'class': 'asynclog.AsyncLogDispatcher',
            'func': '[Dot_Path_To_Your_Func]',
        }
    },
    'loggers': {
        'asynclogger': {
            'handlers': ['async_handler', ],
            'level': 'DEBUG',
            'propagate': False,
        },
    }
}

logging.config.dictConfig(log_cfg)
logger = logging.getLogger('asynclogger')
logger.info('Test asynclog')
```

* Using thread

```python
import logging
import time

from asynclog import AsyncLogDispatcher


def write_log(msg):
    # Do write stuff, such as write log msg into network.
    # ...
    time.sleep(0.5)


logger = logging.getLogger()
logger.setLevel(logging.INFO)
handler = AsyncLogDispatcher(write_log)
handler.setLevel(logging.INFO)
logger.addHandler(handler)

logger.info('Test Log')
```

* Using Celery

```python
from celery import shared_task

@shared_task
def write_task(msg):
    # Write log in Network IO
    print(msg)
    
celery_handler = AsyncLogDispatcher(write_task, use_thread=False, use_celery=True)
celery_handler.setLevel(logging.INFO)
logger.addHandler(celery_handler)

logger.info('Test Log')
```

#### Test

```shell
python3 -m unittest
......
----------------------------------------------------------------------
Ran 6 tests in 0.007s

OK
```
dpos-deputy 0.0.42
CLI for managing dpos delegates
License: MIT

# dpos-deputy

Howdy delegate! You have just been deputized!

### Installation

Install python 3.6

```commandline
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install python3.6-dev

wget https://bootstrap.pypa.io/get-pip.py
sudo python3.6 get-pip.py
sudo pip3.6 install virtualenv
```

If you get an error related to hidapi or gcc, try this:
```commandline
sudo apt-get install gcc
sudo apt install libudev-dev libusb-1.0-0-dev
```

Create a virtual environment (replace myvirtualenv with whatever seems appriopriate, for example deputy)

```commandline
virtualenv myvirtualenv -p python3.6
```

Activate the virtualenv.

```commandline
source myvirtualenv/bin/activate
```

```commandline
pip install dpos-deputy
```

Deputy requires running ark-node instances/other network nodes like Kapu or Persona to function.

### Initial setup

Start out by enabling autocompletion for an easier time.

```commandline
deputy enable_autocomplete
```

### Help

Use flags to figure out what the commands do.

```bash
deputy --help
```

### Starting out
Start out by setting your configurations for further use.

```commandline
deputy set_config --help
```

### Example command
Setting up your configuration:

```commandline
deputy -p mypassword set_config
```

This will lead you through a series of prompts to store persistent configurations. If you don't use a 
password, deputy will default to default_password for encryption purposes.
pyngboard 0.0.6
A Pingboard Python library
License: MIT
Keywords: pingboard

Pyngboard |build-status|
=========================

This project provides a python library for accessing `Pingboard <http://docs.pingboard.apiary.io>`_ resources.

Installation
=============
To install pyngboard you can use pip:

.. code-block:: bash

    $ pip install pyngboard

Usage and Credentials
=====================

You'll need a Pingboard `client_id` and `client_secret` and use it as constructor args:

.. code-block:: python

  from pyngboard import PingboardClient
  client=PingboardClient(client_id='<a_client_id>', client_secret='<a_client_secret>')

You can also skip constructor args and library will lookup credentials in the following order:

  1. Environment variables `PINGBOARD_CLIENT_ID` and `PINGBOARD_CLIENT_SECRET`
  2. A `.pingboard` file located at user home with the following content:

     .. code-block:: properties

       client_id=<a_client_id>
       client_secret=<a_client_secret>


License
========

This project's source code and it's documentation is released under the `MIT License <https://opensource.org/licenses/MIT>`_.

.. |build-status| image:: https://travis-ci.org/tsouza/pyngboard.svg?branch=master
   :target: https://travis-ci.org/tsouza/pyngboard
estat 1.2.1
Download data from Japanese Government Statistics and save it as CSV format files
License: MIT

estat
=====

| Download data from Japanese Government Statistics and save it as CSV
  format files.
| 各府省等が公表する統計データがまとめられた政府統計の総合窓口（e－Stat）からデータをダウンロードし、CSV形式のファイルに保存します。

How to use
==========

-  First you must get appID from e-Stat site from here
   (https://www.e-stat.go.jp/).
   まずe-Stat
   (`https://www.e-stat.go.jp/)からappIDを取得します <https://www.e-stat.go.jp/)からappIDを取得します>`__\ 。
-  | Next do the followings.
   | 次に下記のコマンドを実行します。

   ::

       >>> import estat
       >>> estat.download()

   | You can find csv format files in $HOME/estat/data-cache.
   | $HOME/estat/data-cache
     ディレクトリにCSV形式のデータファイルが生成されます。

If you want to change estat directory from $HOME/estat, do the
following.

::

    >>> estat.download(directory='/home/hoge/data/estat/')

| If you cannot download the CSV format files,
| check the appID and curl settings in ~/.curlrc or /etc/.curlrc for
  your proxy server settings.

::

    $ cat proxy ~/.curlrc

Author
======

| kenbunji
| https://github.com/kenbunji/estat

License
=======

Licensed under the MIT license.

Remarks
=======

| This program is created referring to this site
| https://github.com/e-stat-api/adaptor
collective.slick 0.2.1
Add slick carousel css and js resources to your Plone 5 site
License: MIT
Keywords: Python Plone Slick Carousel Collective

.. This README is meant for consumption by humans and pypi. Pypi can render rst files so please do not use Sphinx features.
   If you want to learn more about writing documentation, please check out: http://docs.plone.org/about/documentation_styleguide.html
   This text does not appear on pypi or github. It is a comment.

================
collective.slick
================

Adds slick_ css and js resources to your Plone 5 site.
Currently, this adds slick version 1.8.1.

.. _slick: https://github.com/kenwheeler/slick


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

Install collective.slick by adding it to your buildout::

    [buildout]

    ...

    eggs =
        collective.slick


and then running ``bin/buildout``


Contribute
----------

- Issue Tracker: https://github.com/collective/collective.slick/issues
- Source Code: https://github.com/collective/collective.slick
- Documentation: https://github.com/collective/collective.slick#readme


Support
-------

If you are having issues, please let us know by opening an issue on the issue tracker on GitHub


License
-------

The project is licensed under the MIT License.


Credits
------------

Developed with the support of `Regione Emilia Romagna`__.

__ http://www.regione.emilia-romagna.it/


Authors
------------

This product was developed by RedTurtle Technology team.

.. image:: http://www.redturtle.it/redturtle_banner.png
   :alt: RedTurtle Technology Site
   :target: http://www.redturtle.it/


Contributors
============

- RedTurtle, sviluppoplone@redturtle.it


Changelog
=========


0.2.1 (2018-07-04)
------------------

- Hid 1020 profile from installable ones
  [pnicolli]


0.2.0 (2018-04-13)
------------------

- Fixed js bundle
  [pnicolli]


0.1.0 (2018-02-23)
------------------

- Initial release.
  [pnicolli]
vcvf 2.0.0.1
very nb computer vision
License: MIT

Info
====
`vcvf 2018-07-04`

`Author: Zhao Mingming <471106585@qq.com>`

`Copyright: This module has been placed in the public domain.`

`version:2.0.0.1`

Classes:
- `face_detector`: detect the hand in the image 

Functions:

- `test()`: test function  
- `face_detector()`:  a class
- `face_detector.detect_face(image)`: return the face_number,face position,and the confidense

How To Use This Module
======================
.. image:: funny.gif
   :height: 100px
   :width: 100px
   :alt: funny cat picture
   :align: center

1. example code:

.. code:: python
from vcvf import face_detector as fd
import cv2

fd1=fd.face_detector()

fd1.test()
imf=os.path.join(self.site_package,'test.jpg')
print imf
image=cv2.imread(imf)
print(fd1.detect_face(image))


Refresh
========