semvec/pypi-packages huggingface dataset:
truce 0.2.1
An experimental text editor and/or shell
License: MIT
Keywords: truce,text,editor,shell,tkinter

Truce
=====

*This project has been superseded by http://github.com/jangler/truce.*

An experimental text editor and/or shell (alpha status). Currently, it's
essentially just a minimal text editor with the ability to pipe selected
text through an arbitrary shell command.

Future plans include the ability to use the editor as a filter in pipes,
and the ability to use it to interact with shell-like or REPL-like
programs.

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

::

	[sudo] pip[3] install truce

Usage
-----

::

	usage: truce [-h] [--version] [file]
	
	positional arguments:
	  file        file to edit
	
	optional arguments:
	  -h, --help  show this help message and exit
	  --version   show program's version number and exit
twitchy-term 1.0.1
A terminal tool for browsing/streaming on Twitch.tv.
License: MIT
Keywords: twitch livestreamer command line interface terminal stream

=============
Twitchy-Term
=============

A simple terminal tool for browsing Twitch.tv and watching streams on VLC Player using `Livestreamer <http://docs.livestreamer.io/>`_.

.. image:: http://i.imgur.com/G0WCCUj.png

============
Dependencies
============

* Python 3 (tested on version 3.4)
* `Livestreamer <http://docs.livestreamer.io/>`_
* VLC Player (:code:`sudo apt-get install vlc`)

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

Using pip:

.. code-block:: bash

   $ sudo pip3 install twitchy-term

**OR**

Clone this repository:

.. code-block:: bash

   $ git clone https://github.com/Andy-Au/twitchy-term.git
   $ cd twitchy-term
   $ sudo python3 setup.py install

=====
Usage
=====

Simply run:

.. code-block:: bash

   $ twitchy-term

It also takes an optional argument for streaming quality (default is best):

.. code-block:: bash

   $ twitchy-term -q [quality]

Available qualities include:

* best
* high
* medium
* low
* worst

Twitchy-Term offers the following pages of Twitch.tv:

* Featured streams (from Twitch.tv's home page)
* Browse top games (and top streams of each)
* Search

----------------
Commands
----------------

:``▲``/``▼``: Scroll up and down the current list of items
:``f``: Featured streams
:``g``: Top Games list
:``s``: Search
:``c``: Change stream quality
:``q``: Quit

*In Top Games list*

:``e``: View top streams of current selected game

*In pages where streams are listed*

:``p``: Play the selected stream in VLC player with current quality

=======
License
=======

Please see `LICENSE <https://github.com/Andy-Au/twitchy-term/blob/master/LICENSE>`_.
samarche 0.0.1
Samarche for testing your public api against regression !
License: MIT

.. image:: https://travis-ci.org/touilleMan/samarche.svg?branch=master
    :target: https://travis-ci.org/touilleMan/samarche
    :alt: Travis-CI

Samarche
========

API checker inspired by `this
post <http://sametmax.com/est-ce-que-cet-outil-existe-en-python/>`__

Quickstart
----------

Say you're developping a module with a public API, for people working
with it, this API is supposed to stay the same until the next major
release. What would happen if a commit makes a change it shouldn't have
?

The solution is testing :

.. code:: python

    # A class which is part of your API
    class Foo:
        bar = True
        def __init__(self, stuff=False):
            self.stuff
     
        def thing(self):
            return "doh"
     
    # Your tests to make sure the class stays consistent
    self.assertTrue(hasattr(Foo, 'bar'))
    self.assertTrue(hasattr(Foo, 'thing'))
    self.assertTrue(hasattr(Foo(), 'stuff'))

Unfortunatly those tests are basically writting all your API a second
time, there must be a better (and less boring) way !

Samarche allow you to take a snapshop of your API (called a
``signature``) and then be able to test your evolving codebase against
it.

Samarche register only public members (i.e. everything starting by ``_``
is skipped) You can create signatures from a ``module``,
``module.package`` and even ``module.package:package_attribute``

Example
-------

First build and save the signature of your API:

.. code:: python

    # Do this at each major release
    import samarche

    signature = samarche.build_signature("my_api")
    with open('my_api.signature', 'wb') as fd:
        samarche.dump(signature, f)

Then put somewhere in your tests

.. code:: python

    with open('my_api.signature', 'rb') as fd:
      original_signature = samarche.load(fd)
    try:
        samarche.check_signature('my_api', original_signature)
    except samarche.ValidationError as e:
        print("API has changed : {}".format(e))