A gemini client that supports SRV records, as stated in gemini://tilde.team/~khuxkm/gemlog/srv-records-gemini.gmi.
First, install the srvres
library, via pip, Poetry, or whatever Python package manager you use.
Supply the URL as an argument, like so:
python3 spartansrv.py gemini://tilde.team/
Note how for domains without the SRV record, it will still connect as usual.
Now, try using the client to request gemini://khuxkmtest.mywire.org/
:
python3 spartansrv.py gemini://khuxkmtest.mywire.org/
See how it works? If you try this in a client that doesn't support SRV records, it will fail.