semvec/pypi-packages huggingface dataset:
example-pkg-django-pollstwo-1 0.0.1
A Django app to conduct Web-based polls.
Requires Python: >=3.6

========
Pollstwo
========

Pollstwo is a Django app to conduct Web-based polls. For each question,
visitors can choose between a fixed number of answers.

Detailed documentation is in the "docs" directory.

Quick start
-----------

1. Add "pollstwo" to your INSTALLED_APPS setting like this::

    INSTALLED_APPS = [
        ...
        'pollstwo',
    ]

2. Include the polls URLconf in your project urls.py like this::

    path('pollstwo/', include('pollstwo.urls')),

3. Run ``python manage.py migrate`` to create the polls models.

4. Start the development server and visit http://127.0.0.1:8000/admin/
   to create a poll (you'll need the Admin app enabled).

5. Visit http://127.0.0.1:8000/pollstwo/ to participate in the poll.
aioprometheus-thin 0.0.2
Python asyncIO Prometheus package - using aioprometheus, but simpler !
Requires Python: >=3.6

# aioprometheus-thin 
This package wraps the aioprometheus package and gives the developer the way of easy writing AsyncIO Prometheus custom collectors, without the need of any AsyncIO deep knowledge.
# Hi !
Hello there.
 This is my first python package, it's pretty small but has a big impact on my way of working.
 I would like you guys to help me improve my Python skills with some issues/ implemntations improvments.
Thank you 

# Usage Examples
Will be added soon.
hue-snek-channel42 0.3
A library for the Philips Hue API

# hue_snek
> A python Library for the Philips Hue API

<div style="text-align: justify">

## About
hue_snek is a python library for the Philips Hue API, that allows for easy API integration into other projects. The goal of this library is to provide the basic functions needed to interact with the Hue API, without unecessary functions.  

I will add more documentation and progress reports in the following days.

## Features

- connect to bridge
- get light information (name, state, modelname, etc.)
- set light parameters  (on/off, brightness, hue, etc.)
- get group information (name, on/off, colormode, etc.)
- set group parameters  (on/off, brightness, hue, etc.)
- get scene information (name, assigned group(s), etc.)
- set scene for group   (via scene name)
- get bridge information (name, mac, api-version, etc.)

## WIP
- Documentation

## Example

Basic usage of this library:

</div>

```python
from hue_snek import Hue, Light

#setup bridge
h = Hue('your.ip.here', 'generic-username')

#to check the connection to the bridge use:
h.checkup()                     #returns 0 if connection and username OK

#to get Light information use either the Light or Hue class

#Light
Light(1, h).name                #(light id, bridge)
Light(1, h).brightness          #properties: name, brightness, hue, saturation, state

#Hue
h.get_light(2, 'name')          #parameters: see hue api
h.get_lights('id')              #modes: obj (default, id, name, modelid

h.get_group(1, 'name')          #parameters: see hue api
h.get_groups('name')            #modes: all (default), name, type


#to set lights or groups use either the Light or Hue Class

#Light
Light(2, h).set('bri', '124')

#Hue
h.set_light(1, 'on', 'true')

h.set_group(1, 'on', 'true')

#scenes can be accessed and set like this:

h.get_scenes('name')            #modes: all (default), name, group
h.set_scene(1, 'Chill')         #(group id, scene name)

info = h.get_bridge_info()

for param, value in info.items():
    print(param, value)

```
## Notes

This project was inspired by ![Phue](https://github.com/studioimaginaire/phue/). Check it out :)
pyphantom 0.2.9
Phantom® highspeed camera control

# pyphantom

[![PyPI version](https://badge.fury.io/py/pyphantom.svg)](https://pypi.org/project/pyphantom)
[![GitHub license](https://img.shields.io/github/license/OTTOMATIC-IO/pycine.svg)](https://github.com/OTTOMATIC-IO/pycine/blob/master/LICENSE)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/24b61435a9ca4b3ea56d1b02fb80e731)](https://app.codacy.com/app/OTTOMATIC/pyphantom?utm_source=github.com&utm_medium=referral&utm_content=OTTOMATIC-IO/pyphantom&utm_campaign=Badge_Grade_Dashboard)


Communicate with Vision Research Phantom® cameras with python


## Installation

### Release Version

```
pip install pyphantom
```


### Development version

```
pip install git+https://github.com/ottomatic-io/pyphantom.git
```
device-manager 0.2.4
A tool for searching and managing plug-and-play devices
Requires Python: >=3.6

[![Build Status](https://travis-ci.com/zea2/DeviceManager.svg?branch=master)](https://travis-ci.com/zea2/DeviceManager)
[![Coverage Status](https://coveralls.io/repos/github/zea2/DeviceManager/badge.svg?branch=master)](https://coveralls.io/github/zea2/DeviceManager?branch=master)
[![Documentation Status](https://readthedocs.org/projects/devicemanager/badge/?version=latest)](https://devicemanager.readthedocs.io/en/latest/?badge=latest)

# DeviceManager

Python device manager for plug-and-play devices. The DeviceManager allows you to search for
connected devices and you can store them into a dicitonary by a user-defined name. By this, you will
never have to guess the device's address again. The DeviceManager will search for updated addresses
automatically. So you will always know your device's address, even if it got a new address after it
was disconnected and reconnected. For this purpose, the DeviceManager is also serializable into a
JSON-file. So your devices are not only stored within the session but also beyond and you have the
ability to share your device dictionaries with your colleagues.

Currently supported device types are:

- USB devices
- Ethernet/LAN devices


## Installation

To install the DeviceManager, perform the following steps:

1. Clone this repository

```
git clone https://github.com/zea2/DeviceManager
```

2. Navigate to the cloned repository

```
cd DeviceManager
```

3. Install the project
   - To install the DeviceManager, you need to know if you want to use the *nmap*-functionality. If
     not, install the package like this:

     ```
     $ pip3 install .
     ```

   - If you want to use *nmap* to get better results when searching for network devices, use this:

     ```
     $ pip3 install .[nmap]
     ```

     To use the *nmap*-functionality the *nmap*-software is required additionally:

     - On Windows you will need to download the software from https://nmap.org/download.html
     - On Linux *nmap* can be installed with `sudo apt-get install nmap`


   On linux you eventually need to use the commands `pip3` or `python3` instead of `pip` or
   `python`.

## Documentation

You can find a documentation on how to setup and use the DeviceManager on
[readthedocs](https://devicemanager.readthedocs.io/en/latest/). There you will also find some
examples, the API documentation on more...

Some useful example notebooks are located at [docs/source/examples](docs/source/examples).
wd-crawler-client 6.0.2
spider framework for winndoo.
Requires Python: >=3.6.0
Keywords: crawler,wendao


爬虫端部署说明
## 一、概述
+ 爬虫框架分三个部分：调度中心、爬虫端、ADSL端。调度中心负责调度任务，爬虫端将任务发送给调度中心，调度中心存储在Redis里面；
+ ADSL端向调度中心取任务，然后负责下载；
+ 下载完成后将任务结果送到调度中心，调度中心存储在Redis里面；
+ 最后爬虫端从调度中心获取结果。

## 二、爬虫端
爬虫端的部署主要是环境的搭建，具体分两步：
### 1.Python环境
用pip安装Twisted 18.9.0，treq 18.6.0以及别的依赖包
手动安装MySQL-python包
### 2.爬虫端框架代码
将dmhe目录下面的crawler和lib目录里面的代码放到服务器上，并将dmhe路径加入Python的根路径里面
如果使用virtualenv，可以把client_demo/.spider/dmhe目录放到指定的virtualenv下面。比如有一个spider的虚环境，把dmhe目录拷贝到~/.spider/下面

## 三、接口说明

### 1.连接服务器：/connect/
### 2.断开服务器：/disconnect/
### 3.发送任务：/task/

## 四、参数说明
### 1.Crawler对象参数
>名称	含义
user_id	用户名
name	任务名称
priority	任务优先级
        1：低优先级
        2：中优先级
        3：高优先级
db_params	数据库参数
user_agent	user_agent

###  2.Request对象参数
#### 名称	含义
+  task_id	任务id
+ url	待抓取URL
+ headers	请求头（dict）
+ data	请求数据，POST请求有效
+ redirect	是否支持跳转，默认支持(1)
+ verify	是否做https验证，默认支持(1)
+ is_head	是否发送HEAD请求，默认不发送(0)
+ return_header	是否返回响应头，默认不返回(0)
+ encoding	页面编码，默认不指定
+ timeout	超时时间，默认30s
+ retry_times	抓取失败重试，默认3
+ extract_type 	解析类型
>0：不解析 (获取纯页面)
- response 返回的主要内容： {'body': '', 'code': , 'url_real': '', 'uid': '', 'success': , 'url': '', 'tid': ''}
>1：解析百度PC排名结果   
- response 返回的主要内容： {'domain': '', 'title': '', 'url': '', 'url_bd': '', 'rank': , 'id': , 'alading': }
>2：解析百度移动排名结果
- response 返回的主要内容： {'domain': '', 'title': '', 'url': '', 'url_bd': '', 'rank': , 'id': , 'alading': }
>3：解析百度真实URL ---  说明: 获取百度百度真实url时，需设置 is_head=1
-
>4：解析百度PC URL是否收录

>5：解析360PC排名结果

>6：解析360移动排名结果

>7：解析搜狗PC排名结果

>8：解析搜狗移动排名结果

>9：解析网页TDK
- response 返回的主要内容： {'keywords': '', 'keywords': '', 'title': ''}
+ priority: int， 	请求优先级（只有页面抓取支持）：
>2：中优先级
3：高优先级
+ kwargs	其他参数 字典
resp会返回这个参数，如果需要根据不同页面做不同的解析处理，可以使用这个字段

****************************
参考脚本阅读：
    1. sample 文件下 insert_sample.py 
    2. 主目录下的 demo.py  demo2.py