flask-gopher | A Flask extension to support the Gopher protocol
kandi X-RAY | flask-gopher Summary
kandi X-RAY | flask-gopher Summary
flask-gopher is a Python library. flask-gopher has no bugs, it has no vulnerabilities, it has build file available, it has a Strong Copyleft License and it has low support. You can install using 'pip install flask-gopher' or download it from GitHub, PyPI.
Gopher is an alternative to the World Wide Web that peaked in popularity in the early 90's. There are still a handful of gopher sites maintained by enthusiasts; you can learn more about its history at floodgap.
Gopher is an alternative to the World Wide Web that peaked in popularity in the early 90's. There are still a handful of gopher sites maintained by enthusiasts; you can learn more about its history at floodgap.
Support
Quality
Security
License
Reuse
Support
flask-gopher has a low active ecosystem.
It has 56 star(s) with 5 fork(s). There are 4 watchers for this library.
It had no major release in the last 12 months.
There are 1 open issues and 2 have been closed. On average issues are closed in 1 days. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of flask-gopher is 3.0.0
Quality
flask-gopher has 0 bugs and 0 code smells.
Security
flask-gopher has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
flask-gopher code analysis shows 0 unresolved vulnerabilities.
There are 0 security hotspots that need review.
License
flask-gopher is licensed under the GPL-3.0 License. This license is Strong Copyleft.
Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.
Reuse
flask-gopher releases are available to install and integrate.
Deployable package is available in PyPI.
Build file is available. You can build the component from source.
Installation instructions, examples and code snippets are available.
flask-gopher saves you 488 person hours of effort in developing the same functionality from scratch.
It has 1149 lines of code, 132 functions and 8 files.
It has medium code complexity. Code complexity directly impacts maintainability of the code.
Top functions reviewed by kandi - BETA
kandi has reviewed flask-gopher and discovered the below as its top functions. This is intended to give you an instant insight into flask-gopher implemented functionality, and help decide if they suit your requirements.
- Saves the session
- Return GopherSigning serializer instance
- Generate a demo form
- Render a menu
- Render a menu template
- Add a gopher error handler
- Wrap text
- Create a GopherService server
- Handles requests
- Process a request
- Wrap an SSL request
- Render a menu
- Tabulate a table
- Left - justify text
- Return a Gopher session
- Render a figlet
- Format text using figlet
- Center the text
- Rrap text with right margin
- Serve forever
- Serve directory
- Show example format
- Generate a demo environ
- Render a directory
- Load a file
- Show a demo session
Get all kandi verified functions for this library.
flask-gopher Key Features
No Key Features are available at this moment for flask-gopher.
flask-gopher Examples and Code Snippets
Copy
@app.route('/')
def index():
return gopher.render_menu(
# Link to an internal gopher menu
gopher.menu.dir('Home', '/'),
# Link to an external gopher menu
gopher.menu.dir('XKCD comics', '/fun/xkcd', host='g
Copy
from flask import Flask, url_for
from flask_gopher import GopherExtension, GopherRequestHandler
app = Flask(__name__)
gopher = GopherExtension(app)
@app.route('/')
def index():
return gopher.render_menu(
gopher.menu.title('My GopherHole
Copy
from flask_gopher import make_gopher_ssl_server
app = ...
if __name__ == '__main__':
server = make_gopher_ssl_server(
'0.0.0.0',
70,
app=app,
threaded=True,
request_handler=GopherRequestHandler,
Community Discussions
No Community Discussions are available at this moment for flask-gopher.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install flask-gopher
This package requires Python v3.5 or higher.
Support
There were never any official guidelines released on how to establish secure connections over gopher. There's no http:// vs https:// or port 80 vs port 443 distinction like we have in the HTTP world. However, this topic has a growing interest within the gopher community. New gopher clients and servers are starting to experiment with varying degrees of support for TLS. Flask-Gopher solves the security problem by peeking at every incoming connection to determine if a TLS handshake is being attempted by the client. If so, the requested content will automatically be returned over a secure socket. Otherwise, the content will be returned as plain text. This scheme has the advantage of being fully backwards compatible with older gopher clients. All content is served by a single gopher server running on port 70, and clients are in control over how they want to receive it.
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page