semvec/pypi-packages huggingface dataset:
python-tty-duplicator 0.1.0
Utility to duplicate a tty for logging purposes
License: MIT
Requires Python: >=3.6

=====================
python-tty-duplicator
=====================

.. image:: https://img.shields.io/pypi/v/python-tty-duplicator.svg
    :target: https://pypi.org/project/python-tty-duplicator
    :alt: PyPI version

.. image:: https://img.shields.io/pypi/pyversions/python-tty-duplicator.svg
    :target: https://pypi.org/project/python-tty-duplicator
    :alt: Python versions

.. image:: https://ci.appveyor.com/api/projects/status/github/Salamandar/python-tty-duplicator?branch=master
    :target: https://ci.appveyor.com/project/Salamandar/python-tty-duplicator/branch/master
    :alt: See Build Status on AppVeyor

Utility that duplicates a serial port tty.

The main reason for using this tool is to log what is going through the tty.

Why create a "dummy" tty just to log ?
Well, a tty can only be read by ONE process. If two processes read the tty, each will read partial data from the tty.
Also, you can't read the data going *into* the tty this way.

So this utility reads / writes to the real TTY, bridges it to a dummy tty, and logs everything going via the dummy tty.

Requirements
------------

* Python >=3.6
* socat

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

You can install "python-tty-duplicator" via pip from `PyPI`_::

    $ pip install python-tty-duplicator

Usage
-----

    from tty_duplicator import TTYDuplicator

    duplicator = TTYDuplicator("/dev/ttyUSB0", "serial_data.log")
    print(duplicator.fake_tty)

    duplicator.start()

    # Now you can interact with the "fake tty" and everything will be logged!
    # e.g use picocom, tio, or pyserial

    # Optional: will be called when python exits gracefully
    duplicator.stop()


License
-------

Distributed under the terms of the `MIT`_ license, "python-tty-duplicator" is free and open source software

.. _`MIT`: http://opensource.org/licenses/MIT
.. _`pytest`: https://github.com/pytest-dev/pytest
.. _`pip`: https://pypi.org/project/pip/
.. _`PyPI`: https://pypi.org/project
tghelper 0.1.4
Useful tools to work with TigerGraph in Python
License: MIT
Keywords: TigerGraph

Useful tools to work with TigerGraph in Python

# Description
    
It consists of one module:

- `tghelper`: helper functions to work with TigerGraph and pyTigerGraph

With two main functions:

- `execute_gsql`: Execute a gsql statement that is stored in a file
- `upload_job`: Uses multiprocessing to upload the file and then executes the loading job for the file

### Examples

```python
import pyTigerGraph
from tghelper import TgHelper
import getpass

my_pwd=getpass.getpass()
tg_conn = pyTigerGraph.TigerGraphConnection(host="http://127.0.0.1", graphname="MyGraph",
                                            username="usr_name", password=my_pwd)
tgh = TgHelper(conn=tg_conn)
tgh.execute_gsql("my_gsql_statement.gsql")

tgh.upload_job(source_file="my_data.csv", 
               job="my_loading_job", 
               job_filename="job_filename")

```
# Installation
 
## Normal installation

```bash
pip install tghelper
```

## Development installation

```bash
git clone https://github.com/louisza/tghelper.git
cd tghelper
pip install --editable .
```

## pypi Build reminder (for the developers)

```bash
python3 setup.py sdist bdist_wheel
utils-misc 0.1.0
Misc_Utils - Misc system and time utilities for python projects
License: MIT
Requires Python: >=3.5

# misc_utils

<p>
    <a href="https://travis-ci.com/misads/misc_utils"><img src='https://travis-ci.com/misads/misc_utils.svg?branch=master' alt='Travis Build Status'></a>
    <a href="https://codecov.io/gh/misads/misc_utils">
    <img src="https://codecov.io/gh/misads/misc_utils/branch/master/graph/badge.svg" /></a>
    <a href='https://misc-utils.readthedocs.io/en/latest/?badge=latest'>
    <img src='https://readthedocs.org/projects/misc-utils/badge/?version=latest' alt='Documentation Status' /></a>
    <a href="https://opensource.org/licenses/MIT">
        <img src="https://img.shields.io/badge/License-MIT-brightgreen.svg" alt="License">
    </a>
</p>

Misc system and time utilities for Python projects. 


### Installation

**For pip**  

```bash
pip install utils-misc
```

**For source**

Clone the repo, cd into it and run `pip install .` command.

```bash
git clone https://github.com/misads/misc_utils.git
cd misc_utils
pip install .
```

**For conda**

```bash
source ~/anaconda3/bin/activate
conda activate <env>
python setup.py install
```

A configure file `misc_utils.egg-info` will be generated in the repo directory. Copy `misc_utils` and `misc_utils.egg-info` to your `site-packages` folder.


### Usage

```python
import misc_utils as utils
utils.color_print('Yellow Text', 3)
```

### Documentation

The documentation webpage can be found here <https://misc-utils.readthedocs.io/en/latest/index.html>.
pytest-unstable 0.2.1
Set a test as unstable to return 0 even if it failed
License: MIT
Requires Python: >=3.5

===============
pytest-unstable
===============

.. image:: https://img.shields.io/pypi/v/pytest-unstable.svg
    :target: https://pypi.org/project/pytest-unstable
    :alt: PyPI version

.. image:: https://img.shields.io/pypi/pyversions/pytest-unstable.svg
    :target: https://pypi.org/project/pytest-unstable
    :alt: Python versions

.. image:: https://ci.appveyor.com/api/projects/status/github/Salamandar/pytest-unstable?branch=master
    :target: https://ci.appveyor.com/project/Salamandar/pytest-unstable/branch/master
    :alt: See Build Status on AppVeyor


Provides a test mark `@pytest.mark.unstable`.

If tests marked as unstable fail, Pytest will still return 0. Failures will still be present in the reports.

Requirements
------------

* Python >=3.6
* `Pytest`_

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

You can install "pytest-unstable" via pip from `PyPI`_::

    $ pip install pytest-unstable

Usage
-----

* Mark tests as unstable `@pytest.mark.unstable`
* If those tests fail (and no other test), pytest will return 0
* Go read the reports to see the failures!

License
-------

Distributed under the terms of the `MIT`_ license, "pytest-unstable" is free and open source software

.. _`MIT`: http://opensource.org/licenses/MIT
.. _`pytest`: https://github.com/pytest-dev/pytest
.. _`pip`: https://pypi.org/project/pip/
.. _`PyPI`: https://pypi.org/project