semvec/pypi-packages huggingface dataset:
puppetdb-exporter 1.0.2
Prometheus puppetdb exporter

=================
Puppetdb Exporter
=================

.. image:: https://travis-ci.org/othalla/puppetdb_exporter.svg?branch=master
  :target: https://travis-ci.org/othalla/puppetdb_exporter
.. image:: https://codecov.io/gh/othalla/puppetdb_exporter/branch/master/graph/badge.svg
  :target: https://codecov.io/gh/othalla/puppetdb_exporter
.. image:: https://api.codacy.com/project/badge/Grade/835f9979c70f48c698f839f5b9d0ff8f
  :target: https://www.codacy.com/app/othalla/puppetdb_exporter?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=othalla/puppetdb_exporter&amp;utm_campaign=Badge_Grade
.. image:: https://badge.fury.io/py/puppetdb-exporter.svg
  :target: https://badge.fury.io/py/puppetdb-exporter


Prometheus exporter for PuppetDB.

Install
-------

.. code-block:: sh

    $ git clone https://github.com/othalla/puppetdb_exporter

Configuration
-------------

Exporter reads config from `CONFIG_FILE` environment variable.

Example
~~~~~~~

.. code-block:: ini

   [puppetdb]
   host = puppetdb.example.local
   port = 8080
   ssl_verify = path/to/authority
   ssl_key = path/to/key
   ssl_cert = path/to/cert
   proto = https
   [optional]
   fact_list = kernelrelease values.architecture
AgentLogin 3.0.0
A project for Third party login

A project for Third party login

目前只支持 腾讯QQ,微信,微博 第三方登录

安装 pip install AgentLogin


from AgentLogin import AgentLogin

qq_url = AgentLogin.qq_url(client_id, redirect_uri)

把这个qq_url链接放到你的<a href="{{ qq_url }}">QQ登录<a>

(user, user_id) = AgentLogin.qq(client_id, client_secret, redirect_uri, code)

code: 用户授权登录回调参数code
client_id:腾讯开放平台上app的APPID名
client_secret: 腾讯开放平台上app的secret名
redirect_uri: 腾讯开放平台上app的回调url
user: 返回qq的用户名


有使用AgentLogin的项目：http://120.78.176.77, http://101.132.132.181:8080


如有疑问不会使用 请联系作者:1483906080@qq.com