semvec/pypi-packages huggingface dataset:
ftweet 1.1
A simple python script to tweet status updates from the command line.
License: MIT
Keywords: twitter,tweet,commandline,file

ftweet
======

|pypi badge| |downloads badge|

.. |pypi badge| image:: https://img.shields.io/pypi/v/ftweet.svg?maxAge=3600
   :target: https://pypi.python.org/pypi/ftweet/
.. |downloads badge| image:: https://img.shields.io/pypi/dm/ftweet.svg?maxAge=3600
   :target: https://pypi.python.org/pypi/ftweet/

Introduction
------------
This is a simple python script that allows you to tweet status updates from
the command line.

The script will post each line of a file (such as standard input) as an
individual status update. If a line is more than 140 characters in length, the
update may fail. The script can automatically truncate a line to this limit with
the ``--truncate`` command line option.

This script performs no interpretation of the input nor any scrubbing of the
text for special characters.

Prerequisites
-------------
* Python 2.7 or 3.0+
* Python tweepy library

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

The module can be installed using the setup script:::

    sudo python setup.py install

This will install the ftweet.py module and an ftweet executable script.

Configuration
-------------
The authentication tokens used to access Twitter are stored separately from
the python script in a JSON file. This contains tokens and secrets for both
the API and access tokens. These access tokens can be configured by creating
a Twitter App (https://apps.twitter.com).

The configuration file must have the following format:::

    {
        "api_key": <consumer key (API key) string>,
        "api_secret": <consumer secret (API secret) string>,
        "token": <access token string>,
        "token_secret": <access token secret string>
    }

Note that the keys must be quoted strings. See http://json.org for more
information about the JSON format.

By default, ftweet looks for the configuration file in the user's home
directory named ``~/.ftweet``. You can also pass in a configuration file
using command line argument ``--config``.

Example Use
-----------
The genesis of this project was the desire to post Snort alerts to Twitter.
What good are intrusion alerts if they don't show up on your smartphone? The
ftweet script is designed to be used in conjunction with other BSD/Linux
utilities, or stand-alone on the command line.

Tweeting a simple status update:::

    echo "Hello World!" | ftweet

Monitoring for sudo events from the sylog, truncating the line if necessary:::

    tail -f /var/log/auth.log | grep sudo | ftweet --truncate

Using in combination with swatch to monitor for snort alerts. The ``~/.swatchrc``
file may look like:::

    watchfor /snort\[\d{1,5}\]:/
    pipe /bin/sed -r -f ~/snort/my_scrub_rules.sed | ftweet --truncate
fast-ska 0.9.3
A fast Cython implementation of the "Streaming K-mer Assignment" algorithm initially described in Lambert et al. 2014 (PMID: 24837674)
License: MIT
Keywords: rna rbns k-mer kmer statistics biology bioinformatics

# fast_ska
A fast Cython implementation of the "Streaming K-mer Assignment" algorithm initially described in Lambert et al. 2014 (PMID: 24837674)
simpleisy 1.0
Python API for Universal Devices ISY994 Insteon controller
License: MIT
Keywords: isy udi insteon

=========
simpleisy
=========

Python library for Universal Devices ISY994 Insteon/ZWave controller hub

This library transforms the XML from the ISY into more pythonic data structures and provides both an object model interface as
well as a more procedural/lower interface for commands.

Usage
=====

The ``ISYController`` object provides methods to get devices and programs. GetDevice and GetProgram return ``ISYDevice`` and
``ISYProgram`` objects, respectively, and those objects provide methods to tunr devices on/off, run programs, etc.

.. code:: python

    from simpleisy import ISYController
    isy = ISYController("1.2.3.4", "admin", "password")
    dev = isy.GetDevice("Living room lights")
    print dev.GetState()
    dev.TurnOn()

Output::

    Off

You can also use device/program commands more directly if you want by directly calling ``NodeCommand`` or ``ProgramCommand``

.. code:: python

    from simpleisy import ISYController
    isy = ISYController("1.2.3.4", "admin", "password")

    node_address = "1A 2B 3C"

    # Turn on the device
    isy.NodeCommand(node_address, "DON")

    # Turn off the device
    isy.NodeCommand(node_address, "DOF")
apidoc2markdown 0.1.0
Converter from Apidoc JSON to Markdown.
License: MIT

###############
apidoc2markdown
###############

Apidoc_ is an open specification for documenting REST APIs in JSON or YAML.
Imperfect as it is, it's de facto a standard for many API developers.

This extension lets you render your swagger.json file as a Markdown document.
You can customize the output by providing your own Jinja2_ template.

.. _Apidoc: http://apidocjs.com/
.. _Jinja2: http://jinja.pocoo.org/


.. warning::

    This extension was created for a particular project and thus is only
    guaranteed to work with this particular project! It is very much likely
    you'll have to modify apidoc.md.j2_ for your project.

.. _apidoc.md.j2: https://github.com/moigagoo/apidoc2markdown/blob/master/apidoc.md.j2


************
Installation
************

.. code-block:: shell

    $ pip install apidoc2markdown


*****
Usage
*****

.. code-block:: shell

    usage: apidoc2markdown-script.py [-h] [-i APIDOC_LOCATION] [-o OUTPUT]
                                    [-t TEMPLATE]

    optional arguments:
      -h, --help            show this help message and exit
      -i APIDOC_LOCATION, --input APIDOC_LOCATION
                            path to the directory with api_data.json
                            and api_project.json (default: .)
      -o OUTPUT, --output OUTPUT
                            path to the output Markdown file (default: swagger.md)
      -t TEMPLATE, --template TEMPLATE
                            Jinja2 template used for conversion
Proxy-Negotiate 1.0.0
HTTP Negotiate proxy authentication support for applications.
License: MIT

Proxy-Negotiate
###############
**This has been completely rewritten as of version 1.0.0.**

HTTP Negotiate proxy authentication support for applications. This allows
applications that do not natively support proxies (SSH, Telnet) using a
netcat-like implementation or ones that do not support the Negotiate method of
proxy authentication by running a local proxy.

Installation
============

Install the easy way through PyPi:

.. code:: shell

  $ pip install proxy-negotiate

Or alternatively download and build yourself:

.. code:: shell

  $ git clone https://github.com/cour4g3/proxy-negotiate
  $ cd proxy-negotiate
  $ python setup.py install

Usage
=====
You will obviously need to be part of a domain for Negotiate authentication to
work or alternatively on Windows, be running the Kerberos for Windows Manager.

nc-negotiate
------------
A netcat-like implementation for use with programs such as SSH and Telnet:

.. code:: shell

  $ nc-negotiate host port [proxy_host] [proxy_port]

Example of usage with OpenSSH command line:

.. code:: shell

  $ ssh -o ProxyCommand="nc-negotiate %h %p" myexternalhost.com

Or in your `~/.ssh/config`:

.. code::

  Host myexternalhost.com:
      ProxyCommand nc-negotiate %h %p

proxy-negotiate
---------------
For application that support proxies but not Negotiate proxy authentication:

.. code:: shell

  $ proxy-negotiate proxy_host proxy_port [listen_host:127.0.0.1] [listen_port:8080]

License
=======
Licensed under the MIT License.