Gophient
Python library to browse the Gopherspace
Features:
- Light
- Easy to use
- Comes without dependencies
Getting started
- Install Gophient:
- Create a
gophient.Gopher
instance and make requests (see examples below)
Examples
Get weather from Floodgap
import gophient
client = gophient.Gopher()
weather = client.request('gopher.floodgap.com', 'groundhog/ws')
print(weather)
Search on Veronica
import gophient
client = gophient.Gopher()
results = client.request('gopher.floodgap.com', 'v2/vs', query='plan 9')
print(results)