Re: new here

Liste des GroupesRevenir à cl python 
Sujet : Re: new here
De : bowman (at) *nospam* montana.com (rbowman)
Groupes : comp.lang.python
Date : 22. Aug 2024, 05:18:14
Autres entêtes
Message-ID : <linsg6FeeauU1@mid.individual.net>
References : 1 2 3
User-Agent : Pan/0.149 (Bellevue; 4c157ba)
On Wed, 21 Aug 2024 22:15:37 +0100, Daniel wrote:

Lesser used protocols not known by many in the mainstream. Such as:
 
gopher, gemini, finger, spartan, titan, etc.
 
An example of use, here's a weather service tied to a finger. Put your
city name as the user. This isn't mine, but it is inspiring. Example:
 
finger miami@graph.no
 
For all options, go to the help finger:
 
finger help@graph.no

Thanks. Interesting. I was surprised a Norwegian site would have data for
a small city in the US. I have a Python script that accesses the NOAA
(National Oceanic and Atmospheric Administration) API and the data in the
Meteogram appears to match well. fwiw, all that does is

   observation_url = f"https://api.weather.gov/stations/K{grid_id}/
observations/latest"
    response = requests.get(observation_url).json()

using the Python 'requests' package and then parsing out the JSON. 
Implementing finger probably would be a straight socket connection. I
don't know how useful this is:

https://pypi.org/project/pyfinger/

I assume gopher is fron the archie, veronica, and jughead days. It appears
straightforward.

https://datatracker.ietf.org/doc/html/rfc1436

It's another use of a simple socket connection.

https://docs.python.org/3/howto/sockets.html

You may be able to gleam something from

https://sr.ht/~lioploum/offpunk/




Date Sujet#  Auteur
21 Aug 24 * Re: new here22rbowman
22 Aug 24 +* Re: new here2dn
22 Aug 24 i`- Re: new here1rbowman
22 Aug 24 +- Re: new here1Jason Friedman
22 Aug 24 +* Re: new here2rbowman
22 Aug 24 i`- Re: new here1rbowman
22 Aug 24 `* Re: new here16Paul Rubin
22 Aug 24  `* Re: new here15rbowman
22 Aug 24   `* Re: new here14dn
23 Aug 24    +* Re: new here3Paul Rubin
23 Aug 24    i`* Re: new here2rbowman
26 Aug 24    i `- Re: new here1dn
23 Aug 24    `* Re: new here10rbowman
23 Aug 24     +* Re: new here (Posting On Python-List Prohibited)2Lawrence D'Oliveiro
25 Aug 24     i`- Re: new here1Keith Thompson
23 Aug 24     `* Re: new here7dn
23 Aug 24      `* Re: new here6rbowman
26 Aug 24       +* Re: new here3<avi.e.gross
26 Aug 24       i`* Re: new here2rbowman
28 Aug 24       i `- Re: new here1rbowman
26 Aug 24       +- Re: new here1MRAB
26 Aug 24       `- Re: new here1<avi.e.gross

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal