Browse Source

Initial module

develop
Sam Black 7 years ago
parent
commit
e7b6e475d9
  1. 0
      flask_webfinger/__init__.py
  2. 30
      flask_webfinger/webfinger.py
  3. 4
      requirements.txt

0
flask_webfinger/__init__.py

30
flask_webfinger/webfinger.py

@ -0,0 +1,30 @@
# -*- coding: utf-8 -*-
# flask-webfinger: provide 'webfinger' URL scheme for flask.
# Copyright (C) 2014 Sam Black <samwwwblack@lapwing.org>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
"""
'webfinger' URL scheme
"""
import re
import flask
from flask import Blueprint
from flask import current_app
from flask import request
from flask import send_from_directory
webfinger = Blueprint('webfinger', __name__)

4
requirements.txt

@ -0,0 +1,4 @@
-e git://github.com/jcarbaugh/python-xrd.git#egg=xrd
iso8601
Flask
-e git://github.com/samwwwblack/flask_wellknown.git#egg=flask_wellknown
Loading…
Cancel
Save