Skip to main content

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

import Agunua
...
u = Agunua.GeminiUri(url)
print(u)

Main attributes of GeminiUri objects:

  • network_success: was retrieved successfully
  • status_code: if retrieved successfully, the Gemini two-digit status code

See sample-client.py.

Command-line client

agunua is a simple Gemini command-line client, a bit like curl. You can just call:

agunua 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agunua-0.6.tar.gz (10.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page