semvec/pypi-packages huggingface dataset:
climenu 1.8.0
Command-line menu system
License: MIT
Keywords: cli command-line menu

.. image:: https://travis-ci.org/mtik00/pyclimenu.svg?branch=master
    :target: https://travis-ci.org/mtik00/pyclimenu

.. image:: https://coveralls.io/repos/github/mtik00/pyclimenu/badge.svg?branch=master
    :target: https://coveralls.io/github/mtik00/pyclimenu?branch=master

.. image:: https://img.shields.io/pypi/v/climenu.svg
    :target: https://pypi.python.org/pypi/climenu

climenu
=======
This project is used to create *simple* command-line interfaces using
text-based menus.

The interface loosely mimics `click <http://click.pocoo.org>`_ (the use of
decorators to define the interface).

Documentation is hosted `on ReadTheDocs <http://pyclimenu.rtfd.io/>`_; releases
are hosted `on pypi <https://pypi.python.org/pypi/climenu>`_.

----

Example:

.. code-block:: python

    from __future__ import print_function
    import climenu

    @climenu.menu()
    def build_release():
        '''Build release'''
        print("built the release")

    @climenu.menu()
    def build_package():
        '''Build the package'''
        print("built the package")

    if __name__ == '__main__':
        climenu.run()
SPF2IP 1.0.5
Python module to get IP addresses from an SPF record
License: MIT
Keywords: email spf ip development firewall

SPF2IP
========

This is a Python module which iterates through a domain's SPF record data, and
lists all of the IP addresses found within the SPF record itself, all
"included" SPF records, and IP addresses resolved from the "A/AAAA" records found
in the SPF records and any "MX" records.

This module supports returning both IPv4 and IPv6 addresses.

The output of this module can be used to configure a firewall dynamically when
SMTP traffic should only be received from trusted sources such as in the event
that you want to get email from your cloud provider to your on-premises mail
servers without exposing the SMTP ports to the world.

---

INSTALLATION

Install from pip::

  pip install SPF2IP

---

COMMON USAGE

Command line::

  SPF2IP [-h] --domain DOMAIN [--ip-version {4,6}]

Module::
  
  from SPF2IP import SPF2IP
  lookup = SPF2IP('example.org')

  lookup.IPArray('4')   # Specify the IP version which you would like listed