|
Pituophis is a Python 3 library for building Gopher clients and servers. Features
How to InstallAt a prompt, run Server Quick StartIf you want to host a Pituophis-based Gopher server, put this code in a file:
Here's a basic alt handler, if you're familiar with Python scripting and would like to add more interactivity to your server:
You can return a list of Item objects, bytes, or text. To use your alt handler, add the argument
Gophermap EditorWriting a Gophermap, a simplified form of a Gopher menu is pretty easy: just stick a file called TreeGopherAn interactive demo of Pituophis' client features is provided in the form of TreeGopher, a graphical Gopher client in <250 lines of code. It uses Pituophis, PySimpleGUI, and Pyperclip. It can browse Gopher in a hierarchical structure (similarly to WSGopher32, Cyberdog, and Little Gopher Client), read text files, download and save binary files (writing in chunks using Made with PituophisThese are my other personal projects that use Pituophis:
More places using Pituophis: If you use Pituophis in your project, contact me and I'd be happy to put it on this page. This page was last modified 7/5/2020. |
Version: 1.1
|