Python SDK for weasl.in
Project description
Python Weasl SDK
This package is the Python integration for authentication powered by Weasl
Examples
Here are a couple examples you can use to get started:
Flask
from flask import Flask, jsonify, session
from weasl.integrations.flask import login_required
app = Flask(__name__)
app.config['WEASL_CLIENT_ID'] = 'YOUR CLIENT ID'
@app.route('/me')
@login_required
def user():
return jsonify(session.current_user)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
weasl-sdk-0.0.2.tar.gz
(3.6 kB
view hashes)
Built Distributions
Close
Hashes for weasl_sdk-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f79a9022eecd840e76f1072a7f4285a3313011c56638422e1dad8ee99e3d04b |
|
MD5 | 5da93130b3743289c97d1f2e565ee334 |
|
BLAKE2b-256 | de67b5347abb0887bbd7d6c929fdfe59c82cbf120a17e03f8af914e146fa376b |
Close
Hashes for weasl_sdk-0.0.2-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51a9d8956feab72afa95a5170b7585da892bceb09cb1f6c59ad966127cf633de |
|
MD5 | 404eb27b9d758211f7718904956a50c8 |
|
BLAKE2b-256 | a845810cd2cfbbba42077180c27e74a3eb8d810e3ea96a155e58046b8a32d85a |