semvec/pypi-packages huggingface dataset:
ssltelnet 0.9.2
An wrapper to add SSL/TLS support to telnetlib.
License: MIT License
Keywords: ssl telnet communication

SslTelnet
=========

A wrapper for telnetlib.Telnet() that handles SSL/TLS, with optional             
TELNET negotiated TLS.  This can be used to connect to TELNETS and
SSLTELNET servers, as well as various MUD/MUCK/MUSH chat servers.  


API
---

The API for SslTelnet is just like that for the standard python library
telnetlib, with the addition of a few arguments to the Telnet() initializer.

ssltelnet.SslTelnet()
    Called just like telnetlib.Telnet(), with these extra optional arguments:

    force_ssl
        If True, force SSL negotiation as soon as connected.  Defaults to True.

    telnet_tls
        If true, allow TELNET TLS negotiation after non-ssl connection.  Defaults to True.

    You can also pass args that ssl.wrap_socket() would expect.

    If force_ssl is True, plaintext connections aren't allowed.
    If force_ssl is False, and telnet_tls is True, the connection
    will be plaintext until the server negotiates TLS, at which
    time the connection will be secured.
    If both are False, the connection will be plaintext.


Example
-------
::

    import ssltelnet
    s = ssltelnet.SslTelnet(force_ssl=False, host='foobar.com', port=23)
    print(s.read_until(b'\n', 10))
    s.close()
wikipedia-cli 1.0.3
A command-line interface for fetching summaries of wikipedia pages.
License: MIT License
Keywords: wikipedia cli summary

Wikipedia-cli
=============

A command-line interface for fetching summaries of Wikipedia pages. It is built
over Jonathan Goldsmith's
`wikipedia library <https://github.com/goldsmith/Wikipedia>`__.


Takes a query to Wikipedia as an argument and an optional language flag.

Installation
------------

The program is available on
`pypi <https://pypi.python.org/pypi/wikipedia-cli>`__,
so you can just run::

    $ pip install wikipedia-cli

Examples
--------

The language default is English::

    $ wikipedia helsinki

    Helsinki

    Helsinki (/hɛlˈsɪŋki/; Finnish pronunciation: [ˈhelsiŋki]; Swedish:
    Helsingfors) is the capital and largest city of Finland. It is in the
    ...
    and worst cities to live in globally, Helsinki placed among the
    world's top ten cities.

    https://en.wikipedia.org/wiki/Helsinki

    Open URL (y/n)?

The desired language is specified with the ``-l`` flag::

    $ wikipedia -l fi helsinki

    Helsinki

    Helsinki (ruots. Helsingfors) on Suomen pääkaupunki ja Uudenmaan
    maakuntakeskus. Se sijaitsee Suomenlahden pohjoisrannalla Uudenmaan
    ...
    vuonna 1640. Helsingistä tuli Suomen suuriruhtinaskunnan pääkaupunki
    vuonna 1812 ja Suomen pääkaupunki maan itsenäistyessä vuonna 1917.

    https://fi.wikipedia.org/wiki/Helsinki

    Open URL (y/n)?