semvec/pypi-packages huggingface dataset:
psid_py 1.0.2
A tool to build PSID panels.
License: MIT
Keywords: statistics econometrics data

psid_py
====================
A python module to build PSID data sets in Python.

This module is based on the psidR package by Florian Oswald, avalable at:
https://github.com/floswald/psidR/

About
============
``psid_py`` is a package to make building panel data sets from the PSID database fast and easy.  The package includes functionality to download the raw ASCII files for you, to parse the ASCII into a dataframe, and to build a panel based on user specifications.  Specifications include subsampling from SRC, SEO, immigrant, or latino subsamples, as well as by head of household only.  Finally, the user can specify a balanced panel or a panel consisting of individuals present for a specific number of years.

Usability
=========
The package comes with a ``test.py`` file that contains typical function calls and the proper way to define inputs.

More testing is forthcoming in future distributions.

The project can be downloaded from https://pypi.python.org/pypi/psid_py .

To install simply run ``pip install psid_py``

This project is released under an MIT license.
tencentyun-porndetect 1.0.0
TencentYun Porndetect for Python SDK
License: MIT

# 万象优图智能鉴黄Python SDK（非官方）

本程序基于腾讯云万象优图智能鉴黄服务

* 地址：(http://www.qcloud.com/event/pd)

## Install

	
	pip install tencentyun-porndetect

or

	# download package	
	python setup install	
	
## Example

	>>> from tencentyun_porndetect.porndetect import TencentYunPornDetect
	>>> appid = ''
	>>> secret_id = ''
	>>> secret_key = ''
	>>> bucket = ''
	>>> img_url = 'http://<public_url>'
	>>> pd = TencentYunPornDetect(appid, secret_id, secret_key, bucket)
	>>> # default expired: 10
	>>> pd.porn_detect(img_url, expired)
	>>> {u'message': u'success', u'code': 0, u'data': {u'confidence': 14.737, u'hot_score': 100.0, u'porn_score': 0.0, u'result': 0, u'normal_score': 0.0}}
	
## Response

### Ok
        正确返回结果说明：
        result int    供参考的识别结果，0正常，1黄图
        confidence    double  识别为黄图的置信度，范围0-100；是normal_score, hot_score, porn_score的总和评分
        normal_score  double  图片为正常图片的评分
        hot_score     double  图片为性感图片的评分
        porn_score    double  图片为色情图片的评分

        例如：
            {
                'message': 'success',
                'code': 0,
                'data': {
                    'confidence': 14.737,
                    'hot_score': 100.0,
                    'porn_score': 0.0,
                    'result': 0,
                    'normal_score': 0.0
                }
            }

### error code

        错误返回说明：http://www.qcloud.com/wiki/万象优图黄图鉴别文档#2.3_.E9.94.99.E8.AF.AF.E7.A0.81
        错误码  含义
        1       错误的请求
        2       签名为空
        3       签名串错误
        4       appid/bucket/url不匹配
        5       签名编码失败（内部错误）
        6       签名解码失败（内部错误）
        7       签名过期
        8       appid不存在
        9       secretid不存在
        10      appid不匹配
        11      重放攻击
        12      签名失败
        13      错误的检测类型
        14      CGI错误
        15      请求包body错误
        16      请求处理失败（内部错误）
        17      处理过程中出现错误（内部错误）
        18      处理错误
	
## License
MIT
dowser-py3 0.2.1
Python3 fork of dowser library
License: MIT
Keywords: dowser memory leak

Overview
========

This is a Python3 fork of dowser library.

Original repo: https://github.com/Infinidat/dowser


Usage
-----

To quickly start-up a CherryPy-based server:

    from dowser.utils import launch_memory_usage_server
    launch_memory_usage_server()


If you want to integrate dowser in your existing CherryPy app:

    from dowser import Root
    class ExistingCherryPyApp(object):
        dowser = Root()
        dowser.exposed = True
        trace = dowser.trace
        chart = dowser.chart

This will bind `/dowser`, `/trace` and `/chart` to the dowser CherryPy app
qt_widgetstyler 0.1
qt_widgetstyler is a small Python class intended to make the dynamic styling of Qt widgets via either PySide or PyQt a simpler task.
License: MIT
Keywords: Qt, PySide, QtPy

Usage
~~~~~

Inherit WidgetStyler class:

::

    from qt_widgetstyler import WidgetStyler
    ws = WidgetStyler()

Create a new category. A category is a logical separation between
different sections of your program’s widgets, and allows you to easily
apply new or updated stylesheets to one or more categories
simultaneously.

::

    ws.new_style_category('top_navigation')

A custom widget group is created below the category. The custom widget
group is a collection of individual widgets, generally of the same type
(QLabel, QTableView, etc.), and all individual widget objects assigned
to this custom widget group will share the same stylesheet.

::

    ws.add_custom_widget(category='top_navigation', widget_name='top_navigation_qlabel_text')

For this category of our program, we have three QLabel widget objects
which we wish to assign to our custom widget group, QLabel1, QLabel2,
and QLabel3. We can add them individually, or together in a list.

Individually:

::

    ws.add_widget(widget_instance=QLabel1, category='top_navigation', widget_name='top_navigation_qlabel_text')

Together:

::

    ws.add_widgets(widget_instances_list=[QLabel2, QLabel3], category='top_navigation', widget_name='top_navigation_qlabel_text')

We now add a StyleSheet to this custom widget group, which will be
shared by all the widget objects assigned to it. This only stores the
StyleSheet, it does not yet apply it:

::

    ws.add_stylesheet(category='top_navigation', widget_name='top_navigation_qlabel_text', stylesheet='QLabel { color: rgb(0, 0, 0); }')

To apply the stylesheets to our widgets, we have three options.

We can apply one widget group’s stylesheets individually:

::

    ws.apply_stylesheet(category='top_navigation', widget_name='top_navigation_qlabel_text')

To all widgets within one category:

::

    ws.apply_category_stylesheets(category='top_navigation')

Or to all of our widgets in all of our categories:

::

    ws.apply_all_stylesheets()

To view all of your defined categories:

::

    ws.show_categories()

To view all of your defined widgets within a single category:

::

    ws.show_category_widgets(category='top_navigation')
whatcd-cau 0.1.0a1
Create and upload torrents to What.cd
License: MIT
Keywords: whatcd,upload,torrent,mktorrent

whatcd-cau
==========

|PyPI license|

Create and upload torrents to What.cd.

.. |PyPI license| image:: https://img.shields.io/pypi/l/whatcd-cau.svg
   :target: https://img.shields.io/pypi/l/whatcd-cau.svg