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 details)
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file weasl-sdk-0.0.2.tar.gz.
File metadata
- Download URL: weasl-sdk-0.0.2.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.6.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24f1d46c41b1eb9e9d0ac205994496a67162da3cd7af08ff4a4c684d50cc58db
|
|
| MD5 |
a7972f6e4a0af7ffa0efc52d15fd9b30
|
|
| BLAKE2b-256 |
2125d008951a300dc06250598a3e50fa18475222a8043a51c4b81b5e76bb22a4
|
File details
Details for the file weasl_sdk-0.0.2-py3-none-any.whl.
File metadata
- Download URL: weasl_sdk-0.0.2-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.6.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f79a9022eecd840e76f1072a7f4285a3313011c56638422e1dad8ee99e3d04b
|
|
| MD5 |
5da93130b3743289c97d1f2e565ee334
|
|
| BLAKE2b-256 |
de67b5347abb0887bbd7d6c929fdfe59c82cbf120a17e03f8af914e146fa376b
|
File details
Details for the file weasl_sdk-0.0.2-py2-none-any.whl.
File metadata
- Download URL: weasl_sdk-0.0.2-py2-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.6.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51a9d8956feab72afa95a5170b7585da892bceb09cb1f6c59ad966127cf633de
|
|
| MD5 |
404eb27b9d758211f7718904956a50c8
|
|
| BLAKE2b-256 |
a845810cd2cfbbba42077180c27e74a3eb8d810e3ea96a155e58046b8a32d85a
|