semvec/pypi-packages huggingface dataset:
ksu-sso-auth 0.1.6
Module for use ksu sso service
Requires Python: >=3.6

# Установка 
`pip install ksu-sso-auth`

# Настройка
В settings проекта добавить:
- 'sso_auth' в INSTALLED_APPS   
После этого выполнить команды
``` 
python3 manage.py makemigrations sso_auth
python3 manage.py migrate
```

Добавить в urls.py проекта в переменную urlpatterns выше всего остального следующий код:   
```
path('admin/login/', AdminLogin.as_view()),
path('admin/logout/', UserLogout.as_view()),
path('sso/', include('sso_auth.urls')),
```
До этого сделать импорт:
```
from django.urls import path, include
from sso_auth.views import AdminLogin, UserLogout
```

В settings проекта добавить:
- 'sso_auth.middleware.OauthMiddleware' в MIDDLEWARE
- код ниже. нужно заполнить реальными данными от сервера авторизации
```
# settings for sso login
AUTH_USER_MODEL = 'sso_auth.OauthUser'
AUTHENTICATION_BACKENDS = ('sso_auth.backends.TokenAuth',)
SSO_URL = 'http://127.0.0.1:8000/oauth/'
CLIENT_ID = '1bc2aea0-4dad-4f4a-9f3d-4e205b0fc10a'
CLIENT_SECRET = 'Zo8DtoPgu6m533ySFDfBImo0Lao_sh50dxE-EAHJCkwCrNvaPztIsOQaxdB0nKrX11o'
REDIRECT_URI = 'http://127.0.0.1:8001/sso/process'
```
xialib-gcp 0.1.20
X-I-A Library
Requires Python: >=3.7

[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) 
[![PyPI version](https://badge.fury.io/py/xialib-gcp.svg)](https://pypi.org/project/xialib-gcp) 
[![codecov](https://codecov.io/gh/X-I-A/xialib-gcp/branch/master/graph/badge.svg)](https://codecov.io/gh/X-I-A/xialib-gcp) 
[![master-check](https://github.com/x-i-a/xialib-gcp/workflows/master-check/badge.svg)](https://github.com/X-I-A/xialib-gcp/actions?query=workflow%3Amaster-check) 
[![develop-check](https://github.com/x-i-a/xialib-gcp/workflows/develop-check/badge.svg)](https://github.com/X-I-A/xialib-gcp/actions?query=workflow%3Adevelop-check) 
# X-I-A Library for Google Cloud Platform
Xeed-Insight-Agent Data Solution Library - Google Cloud Platform extention
## Introduction
This library defines the basic units of Google Cloud Platform of Xeed, Insight and Agent Solution. 
### Storer
* Google Cloud Storage Storer
### Publisher
* Google Pubsub Publisher
### Subscriber
* Google Pubsub Subscriber
### Depositor
* Google Firestore Depositor