smtplib — SMTP protocol client - Python
https://docs.python.org/3/library/smtplib.html2 dager siden · class smtplib.LMTP (host='', port=LMTP_PORT, local_hostname=None, source_address=None [, timeout]) ¶. The LMTP protocol, which is very similar to ESMTP, is heavily based on the standard SMTP client. It’s common to use Unix sockets for LMTP, so our connect() method must support that as well as a regular host:port server. The optional arguments …
tlocke/pg8000: A Pure-Python PostgreSQL Driver - GitHub
https://github.com/tlocke/pg8000source_address. The source IP address which initiates the connection to the PostgreSQL server. The default is None which means that the operating system will choose the source address. unix_sock. The path to the UNIX socket to access the database through, for example, '/tmp/.s.PGSQL.5432'. One of either host or unix_sock must be provided. ssl ...