From 57531b689401fc86c42ada084e9ca4fd75331a1c Mon Sep 17 00:00:00 2001 From: B Stack Date: Tue, 15 Feb 2022 13:22:19 -0500 Subject: shore up docs --- stackbin.py | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'stackbin.py') diff --git a/stackbin.py b/stackbin.py index ad5b047..653cb9b 100755 --- a/stackbin.py +++ b/stackbin.py @@ -1,8 +1,23 @@ # File: stackbin.py +# Location: http://gitlab.com/bgstack15/stackbin/ +# Authors: mitsuhiko, ofshellohicy, su27, bgstack15 # SPDX-License-Identifier: GPL-3.0 -# Authors: mitsuhiko, su27, bgstack15 +# Startdate: 2011 by mitsuhiko +# Title: Stackbin +# Purpose: Flask-based pastebin +# History: +# 2014 ofshellohicy removed some features +# 2016 su27 added some features +# 2022 bgstack15 hard forked # Reference: # fuss.py +# Improve: +# Dependencies: +# req-INCOMPLETE-devuan: python3-pytimeparse, python3-uwsgidecorators +# req-fedora: uwsgi, uwsgi-logger-file, python36-flask uwsgi-plugin-python36 python36-sqlalchemy, python36-uwsgidecorators, python3-pytimeparse, python3-uwsgidecorators +# req-centos7: uwsgi, uwsgi-logger-file, python36-flask uwsgi-plugin-python36 python36-sqlalchemy, python36-uwsgidecorators +# pip-centos7: flask-sqlalchemy, pytimeparse +# Documentation: see README.md from datetime import datetime, timedelta from itsdangerous import Signer from flask import (Flask, request, url_for, redirect, g, render_template, session, abort) @@ -17,7 +32,6 @@ except: print("Warning! Without uwsgidecorators, the cleanup timer cannot run.") import time -## ripped from https://stackoverflow.com/questions/183042/how-can-i-use-uuids-in-sqlalchemy/812363#812363 from sqlalchemy import types from sqlalchemy.dialects.mysql.base import MSBinary from sqlalchemy.schema import Column -- cgit