semvec/pypi-packages huggingface dataset:
Merlin-bot 3.0b0
an awesome discord bot coded in discord.py
License: MIT
Keywords: discord,bot,discord.py

# Merlin Python branch
### discord bot coded with discord.py
[![Upload Python Package](https://github.com/windowsboy111/merlin-py/workflows/Upload%20Python%20Package/badge.svg)](https://pypi.org/project/Merlin-bot) [![Run on Repl.it](https://repl.it/badge/github/windowsboy111/merlin-py)](https://repl.it/github/windowsboy111/merlin-py)  
==info/warning/disclamer==

This bot is coded for the discord server [KCCS Official](https://discord.io/kccs) originally.  

Invite using [this link](https://discord.com/api/oauth2/authorize?client_id=690839099648638977&permissions=8&scope=bot).

---

if you are viewing the code with vscode, please set the working directory for linters to the root directory of this repository.

bot hosted on [repl.it](https://repl.it/@windowsboy111/merlin-py)

LICENSE: MIT

package avaliable on [pypi](https://pypi.org/project/merlin-bot)
innercoscmd 2.0.0.3
simple command for cos
License: MIT

INNERCOSCMD 
fork自腾讯云coscmd，修复相关API，用于支持innercos。底层依赖<http://git.code.oa.com/maysonshen/innercos-python-sdk-v5.git>

欢迎大家PR


COSCMD
#######################

.. image:: https://img.shields.io/pypi/v/coscmd.svg
   :target: https://pypi.org/search/?q=coscmd
   :alt: Pypi
.. image:: https://travis-ci.org/tencentyun/coscmd.svg?branch=master
   :target: https://travis-ci.org/tencentyun/coscmd
   :alt: Travis CI 

介绍
_______

腾讯云COS命令行工具, 目前可以支持Python2.6与Python2.7以及Python3.x。

安装指南
__________

使用pip安装 ::

    pip install -U innercoscmd

手动安装::

    python setup.py install

使用方法
__________

使用coscmd，参照 https://cloud.tencent.com/document/product/436/10976

由于innercos与腾讯云cos有一定的差异,服务端check只有sha1，没有md5. 使用的时候请`--verify sha1`
innercos-python-sdk-v5 0.2.0
innercos-python-sdk-v5
License: MIT

本项目fork自腾讯云cos-python-sdk-v5, 适配接口使得支持innercos

经查，innercos不同之处在于：
- server端返回ETag，使用sha1
- API使用多为小写，如uploadid，而不是uploadId
- innercos要求的头不一样，比如要求有Host

由于是自身开发使用，不能做到每个API都完美测试，欢迎大家PR，一起完善。

----

Qcloud COSv5 SDK
#######################

.. image:: https://img.shields.io/pypi/v/cos-python-sdk-v5.svg
   :target: https://pypi.org/search/?q=cos-python-sdk-v5
   :alt: Pypi
.. image:: https://travis-ci.org/tencentyun/cos-python-sdk-v5.svg?branch=master
   :target: https://travis-ci.org/tencentyun/cos-python-sdk-v5
   :alt: Travis CI 

介绍
_______

腾讯云COSV5Python SDK, 目前可以支持Python2.6与Python2.7以及Python3.x。

安装指南
__________

使用pip安装 ::

    pip install -U innercos-python-sdk-v5

手动安装::

    python setup.py install

使用方法
__________

使用python sdk，参照 https://github.com/tencentyun/cos-python-sdk-v5/blob/master/demo/demo.py

cos最新可用地域，参照 https://cloud.tencent.com/document/product/436/6224

python sdk 快速入门，参照 https://cloud.tencent.com/document/product/436/12269

python sdk 接口文档，参照 https://cloud.tencent.com/document/product/436/12270
keycloakauth 0.0.9
Custom Keycloak Worker
License: MIT

# Custom Keyclock Authentication Worker

based on Django Keycloak Auth (https://github.com/marcelo225/django-keycloak-auth) under MIT License

Class KeycloakWorker:
  - to introspect the token
  - to check if the token is active and which roles it bears
  - to get userinfo about the token owner
  - to manage Keycloak Group membership

Authentication and Authorization are based on Keycloak Roles: Role mapped to Group, User is a member of the Group.
Roles:
  - format: <IS name>:user:manage
  - example: crux:user:manage
  - example: all:user:manage

Groups:
  - format: <IS name>_user_manage
  - example: crux_user_manage
  - example: all_user_manage

Users:
  - Keycloak is supposed to has a User Federation (LDAP catalog, AD)
  - Users are being found by username


##Usage

```python
import os
from distutils.util import strtobool
from keycloakauth.keycloak import KeycloakWorker

KEYCLOAK_CONFIG = {
    'KEYCLOAK_SERVER_URL': os.getenv('KEYCLOAK_SERVER_URL', 'https://keycloak/auth'),
    'KEYCLOAK_REALM': os.getenv('KEYCLOAK_REALM', 'Master'),
    'KEYCLOAK_CLIENT_ID': os.getenv('KEYCLOAK_CLIENT_ID', 'client1'),
    'KEYCLOAK_CLIENT_SECRET_KEY': os.getenv('KEYCLOAK_CLIENT_SECRET_KEY', '12386724-1234-1234-1234-34a6214c650f'),
    'KEYCLOAK_TECH_USER': os.getenv('KEYCLOAK_TECH_USER', 'admin'),
    'KEYCLOAK_TECH_PASSWORD': os.getenv('KEYCLOAK_TECH_PASSWORD', 'admin'),
}
SSL_CRT_VERIFY = bool(strtobool(os.getenv('SSL_CRT_VERIFY', 'False')))

kworker = KeycloakWorker(config=KEYCLOAK_CONFIG, verify=SSL_CRT_VERIFY)

```