semvec/pypi-packages huggingface dataset:
fourdrop-socketio-client 1.1
Socket.IO client
License: MIT

python-socketio-client
======================

Python implementation of the socket.io client.

Design & goals
--------------

This implementation is inspired by the JavaScript `socket.io-client`_
implementation.

It is directly using `python-engineio-client`_ as underlying engine.io layer.

Protocol parser is copied in parts and at least largely inspired from the
package `python-socketio`_ written by `Miguel Grinberg`_.

This socket.io client is using `gevent`_ for now. This is not a strict design
choice but a simplification for this first implementaion. Other asynchronous
frameworks are welcome for future versions.

Example
-------

.. code-block:: python

    from socketio_client.manager import Manager

    import gevent
    from gevent import monkey;
    monkey.patch_socket()

    io = Manager('localhost', 8000)
    chat = io.socket('/chat')

    @chat.on_connect()
    def chat_connect():
        chat.emit("Hello")

    @chat.on('welcome')
    def chat_welcome():
        chat.emit("Thanks!")

    io.connect()
    gevent.wait()


Links
-----

Another engine.io/socket.io client: `socketIO_client`_

.. _socket.io-client: https://github.com/socketio/socket.io-client
.. _python-socketio: https://github.com/miguelgrinberg/python-socketio
.. _Miguel Grinberg: https://github.com/miguelgrinberg
.. _python-engineio-client: https://github.com/veo-labs/python-engineio-client
.. _gevent: http://gevent.org/
.. _socketIO_client: https://github.com/invisibleroads/socketIO-client
engineio-client 0.2
Engine.IO client
License: MIT

python-engineio-client
======================

Python implementation of the engine.io client.

Design & goals
--------------

This implementation is inspired by the JavaScript `engine.io-client`_
implementation.

Protocol parser is copied in parts and at least largely inspired from the
package `python-engineio`_ written by `Miguel Grinberg`_.

This engine.io client is using `Gevent`_ for now. This is not a strict design
choice but a simplification for this first implementaion. Other asynchronous
frameworks are welcome for future versions.

Example
-------

::

    from engineio_client.client import Client

    import gevent
    import gevent.monkey
    gevent.monkey.patch_all()

    eio = Client('localhost', 8000)

    @eio.on('message')
    def on_message(message):
        print message
        eio.close()

    @eio.on('open')
    def on_open():
        eio.send("Hello")

    eio.open()
    gevent.wait()


Links
-----

Another engine.io/socket.io client: `socketIO_client`_

.. _engine.io-client: https://github.com/socketio/engine.io-client
.. _python-engineio: https://github.com/miguelgrinberg/python-engineio
.. _Miguel Grinberg: https://github.com/miguelgrinberg
.. _gevent: http://gevent.org/
.. _socketIO_client: https://github.com/invisibleroads/socketIO-client
polyaxon-gpustat 0.3.4
An utility to monitor NVIDIA GPU status and usage
License: MIT
Keywords: nvidia-smi gpu cuda monitoring gpustat

[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)
[![Build Status](https://travis-ci.org/polyaxon/polyaxon-gpustat.svg?branch=master)](https://travis-ci.org/polyaxon/polyaxon-gpustat)
[![PyPI version](https://badge.fury.io/py/polyaxon-gpustat.svg)](https://badge.fury.io/py/polyaxon-gpustat)
[![Slack](https://img.shields.io/badge/chat-on%20slack-aadada.svg?logo=slack&longCache=true)](https://join.slack.com/t/polyaxon/shared_invite/enQtMzQ0ODc2MDg1ODc0LWY2ZTdkMTNmZjBlZmRmNjQxYmYwMTBiMDZiMWJhODI2ZTk0MDU4Mjg5YzA5M2NhYzc5ZjhiMjczMDllYmQ2MDg)

GPUSTATS
--------

This is a utility function to query gpu stats. this is a modified fork of [wookayin/gpustat](https://github.com/wookayin/gpustat).

Quick Installation
------------------

Install from [PyPI][pypi_gpustat]:

```
pip install polyaxon-gpustat
```

To install the latest version (master branch) via pip:

```
pip install git+https://github.com/polyaxon/polyaxon-gpustat.git@master
```

License
-------

[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fpolyaxon%2Fpolyaxon-gpustat.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fpolyaxon%2Fpolyaxon-gpustat?ref=badge_large)
Facextractor 1.0.2
Facebook Data Extractor, simple tool for read and analyze facebook dump (JSON format)
License: MIT

Facextractor
============

Facebook Data Extractor, simple tool for read and analyze facebook dump (JSON format).


## Instalation

PyPI
```bash
pip install Facextractor
```

or from source:

```bash
git clone https://github.com/geekmoss/facextractor.git
cd facextractor
pip install .
```

and for bash complete:

```bash
bash bash-complete.sh
```

## Using

### CLI

```bash
# Friends:
facextractor friends ./facebook-dump

# Chats:
# For summary of all chats
facextractor threads ./facebook-dump
# For summary of chat with John Doe
facextractor friends ./facebook-dump -f "John Doe"
# For summary of all chats where is John Doe is participant
facextractor friends ./facebook-dump -p -f "John Doe" 
```

### Python Modules

```python
from Facextractor import Friends, Threads

t = Threads("./facebook-dump")
t.describe()  # str: summary of all chats
t.analysis.photos  # int: count photos of all chats

t.threads[0].describe()  # str: summary of first thread in list

t.find_thread_by_name("John Doe")  # Thread: return thread for exact match
t.find_threads_by_participant("John Doe")  # List[Thread]: returns list of threads where is participant
```