A library for the development of Gemini clients
Project description
Agunua
Agunua is a Python library for the development of Gemini clients.
Installation
You need Python 3 and PyOpenSSL. You
can install the dependencies with pip pip3 install agunua.
Usage
u = agunua.GeminiUri(url)
print(u)
Main attributes of GeminiUri objects:
network_success: was retrieved successfullystatus_code: if retrieved successfully, the Gemini two-digit status code
See sample-client.py.
Command-line client
agunua.py is a simple Gemini command-line client, a bit like
curl. You can just call:
./agunua.py YOUR-URL
And you will get its content. Interesting options:
--insecure: do not check the certificate--verbose: more talkative
Name
Agunua is a melanesian serpent god. Caduceus would have been better for a Python + Gemini project since there are two snakes on a caduceus but it was already used.
License
GPL. See LICENSE.
Authors
Stéphane Bortzmeyer stephane+framagit@bortzmeyer.org.
Reference site
https://framagit.org/bortzmeyer/agunua/ Use the Gitlab issue tracker to report bugs or wishes. But you can of course also access it with gemini at gemini://gemini.bortzmeyer.org/software/agunua/
Other Gemini clients in Python
- https://tildegit.org/solderpunk/gemini-demo-1 Very simple but working client
- https://git.carcosa.net/jmcbray/gusmobile/ Good code
- https://git.sr.ht/~fkfd/picross
- https://github.com/apellis/pygemini No longer maintained
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file agunua-0.1.tar.gz.
File metadata
- Download URL: agunua-0.1.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd5c1b9a4dbcb3f11eac5ddea53b1446769df1955404771982edbc0e22ee91a5
|
|
| MD5 |
a3d8a1aa9a16dcc66d284c8684018615
|
|
| BLAKE2b-256 |
67f015c1a0b7e2db2f4eac2338657c4a13ed9d5c4e69503b675191d8063c6f76
|