semvec/pypi-packages huggingface dataset:
datahub-sdk 1.0.4
Macaca DataHub Client
License: MIT
Keywords: data,management,continues

DataHub Python Client
=====================

.. image:: https://img.shields.io/coveralls/macacajs/datahub-python-sdk/master.svg?style=flat-square
    :target: https://coveralls.io/github/macacajs/datahub-python-sdk

.. image:: https://img.shields.io/travis/macacajs/datahub-python-sdk/master.svg?style=flat-square
    :target: https://travis-ci.org/macacajs/datahub-python-sdk

.. image:: https://img.shields.io/pypi/v/datahub-python-sdk.svg?style=flat-square
    :target: https://pypi.python.org/pypi/datahub-python-sdk

.. image:: https://img.shields.io/pypi/pyversions/wd.svg?style=flat-square
    :target: https://pypi.python.org/pypi/datahub-python-sdk/

.. image:: https://img.shields.io/pypi/dd/wd.svg?style=flat-square
    :target: https://pypi.python.org/pypi/datahub-python-sdk/

Intro
-----

datahub-python-sdk is a Python client implemented most of the APIs to control DataHub Service.

Homepage
--------
`datahub-python-sdk’s documentation. <//macacajs.github.io/datahub-python-sdk>`_

Examples
--------

.. code-block:: python

   from macaca import DataHub, DataHubSDK

   datahub = DataHub(hostname = '127.0.0.1', port = '9200')

   datahub.switch_scenes(hub='sample', pathname='test1', data={ 'currentScene': 'scene1' })

   datahub.switch_all_scenes(hub='sample', data={ 'currentScene': 'default' })

Changelog
---------
Details changes for each release are documented in the `HISTORY.rst <HISTORY.rst>`_.

Contributing
------------

`See CONTRIBUTING.rst <./CONTRIBUTING.rst>`_

License
-------
`MIT <http://opensource.org/licenses/MIT>`_
pysuffixarray 0.0.1
Suffix array implementation in python.
License: MIT

# pysuffixarray
Suffix array implementation in python.

## Usage
### pysuffixarray.core.SuffixArray(*string*)
Constructs a suffix array.
```python
from pysuffixarray.core import SuffixArray
sa = SuffixArray('MISSISSIPPI')
```

### SuffixArray.suffix_array()
Returns a suffix array.
```python
sa = SuffixArray('MISSISSIPPI')
sa.suffix_array()
>>> [11, 10, 7, 4, 1, 0, 9, 8, 6, 3, 5, 2]
```

### SuffixArray.longest_common_prefix()
Returns an array of longest common prefix(LCP).
LCP[i] contains the length of common prefix between SA[i] and SA[i-1].
```python
sa = SuffixArray('MISSISSIPPI')
sa.longest_common_prefix()
>>> [0, 0, 1, 1, 4, 0, 0, 1, 0, 2, 1, 3]
```

### SuffixArray.longest_repeated_substring()
Returns one of the longest repeated substrings within the string.
```python
sa = SuffixArray('MISSISSIPPI')
sa.longest_repeated_substring()
>>> 'ISSI'
```
console-logging 0.0.5.0
Better, prettier commandline logging.
License: MIT
Keywords: logging color colors commandline console error timestamp


console-logging
===============

|Codeship Status for pshah123/console-logging| |PyPI version| |Codacy
Badge|

Better console logging for Python.

Find us on PyPi: https://pypi.python.org/pypi/console-logging

.. figure:: https://github.com/pshah123/console-logging/raw/master/images/example.png
   :alt: Demo of console-logging

   Showcase

Getting Started
---------------

Dependencies
~~~~~~~~~~~~

-  Python 2.6+ or Python 3.5+
-  ``termcolor``

Installation
~~~~~~~~~~~~

::

    pip install console-logging

*If building from source:* ``bash pipe`` from inside this repo.

Usage
~~~~~

New:
^^^^

::

    from console_logging.console import Console
    console = Console()

    console.log("Hello world!")

Old:
^^^^

::

    from console_logging import console

    console.log("Hello World!")

Exhaustive Reference
~~~~~~~~~~~~~~~~~~~~

::

    console.log("This is a log.")
    console.error("This is an error.")
    console.info("This is some neutral info.")
    console.success("This is a success message.")

    # If using the new usage:
    console.setVerbosity(4) # verbosity from 1 - 5, in order:
    '''
    [1] Errors
    [2] Successes
    [3] Logs
    [4] Info
    [5] Secure
    '''
    console.mute() # shorthand for setVerbosity(0)

Example
~~~~~~~

For an exhaustive example, see ``tests/example.py``.

Credit
~~~~~~

-  ``termcolor`` module for colors

.. |Codeship Status for pshah123/console-logging| image:: https://app.codeship.com/projects/aed26890-8fca-0135-1d5e-36d54fbb9242/status?branch=master
   :target: https://app.codeship.com/projects/250054
.. |PyPI version| image:: https://badge.fury.io/py/console-logging.svg
   :target: https://badge.fury.io/py/console-logging
.. |Codacy Badge| image:: https://api.codacy.com/project/badge/Grade/c6656875f3234dfb9ab6bd4aa509ff57
   :target: https://www.codacy.com/app/pshah123/console-logging?utm_source=github.com&utm_medium=referral&utm_content=pshah123/console-logging&utm_campaign=Badge_Grade