semvec/pypi-packages huggingface dataset:
word-embedder 1.0.0
Word Embedder
License: MIT

# word-embedder

[![travis][travis-image]][travis-url]
[![pypi][pypi-image]][pypi-url]

[travis-image]: https://img.shields.io/travis/Yoctol/word-embedder.svg?style=flat
[travis-url]: https://travis-ci.org/Yoctol/word-embedder
[pypi-image]: https://img.shields.io/pypi/v/word-embedder.svg?style=flat
[pypi-url]: https://pypi.python.org/pypi/word-embedder

Get pretrained word embedding


## Installation

### Requirements
* Linux
* Python 3.6 and up

`$ pip install word-embedder`

## Usage

### Lookup all existed embedders
```python

from word_embedder import lib

lib.list_all_embedders()  # returns a list of embedder name

```

### Use an existed embedder

1. load an embedder called OHOH
```python

from word_embedder import lib

name = 'OHOH'  # embedder name
embedder = lib[name]

```

2. extract a word vector

- (1) given a word 'juice' (str)
    ```python

    word = 'juice'
    embedder[word]  # returns the corresponding word vector

    # Note: if 'juice' is not in the vocabulary, 
    # OOVError would be raised.

    ```

- (2) given an index 3 (int)
    ```python

    index = 3
    embedder[index]  # returns the corresponding word vector

    # Note: if the index is out of range of vocabulary size,
    # OOVError would be raised.

    ```
freebox_v5_status 1.1.1
Parse Freebox V5 status page
License: MIT
Keywords: freebox adsl

freeboxv5-status
----------------

[![CircleCI](https://circleci.com/gh/demikl/freeboxv5-status.svg?style=svg)](https://circleci.com/gh/demikl/freeboxv5-status)
[![codecov](https://codecov.io/gh/demikl/freeboxv5-status/branch/master/graph/badge.svg)](https://codecov.io/gh/demikl/freeboxv5-status)

Récupération du statut de la Freebox V5 en Python

Python wrapper for Freebox V5 status

Ce module accede aux donnees de statut sur http://mafreebox.free.fr/pub/fbx_info.txt :
firmware freebox >=1.5.18 requis, pensez à mettre à jour votre Freebox.

L'état de la Freebox est accessible via un dictionnaire Python.

Exemple d'usage ::

    import freebox_v5_status.freeboxstatus
    import pprint

    fbx = freebox_v5_status.freeboxstatus.FreeboxStatus()
    pprint.pprint(fbx.status)


Exemple de résultat ::

    {'adsl': {'CRC': {'down': 4, 'up': 0},
              'FEC': {'down': 6583, 'up': 82},
              'HEC': {'down': 1, 'up': 108},
              'attenuation': {'down': 17.0, 'up': 8.9},
              'history': {},
              'protocol': u'ADSL2+',
              'ready': True,
              'synchro_mode': u'Interleaved',
              'synchro_speed': {'down': 18941, 'up': 1025}},
     'general': {'connection_mode': u'D\xe9group\xe9',
                 'fbx_model': u'Freebox ADSL',
                 'fw_version': [1, 5, 20],
                 'uptime': datetime.timedelta(7, 79260)},
     'network': {'dhcp': {},
                 'interfaces': {'USB': {'down': None,
                                        'status': u'Non connect\xe9',
                                        'up': None},
                                'WAN': {'down': 2, 'status': u'Ok', 'up': 107},
                                'ethernet': {'down': 0,
                                             'status': u'100baseTX-FD',
                                             'up': 0},
                                'switch': {'down': 108,
                                           'status': u'100baseTX-FD',
                                           'up': 4}},
                 'port_forwarding': {},
                 'port_range_forwarding': {}},
     'telephone': {'configured': True, 'online': False, 'ringing': False},
     'wifi': {'DMZ_ip': u'192.168.0.0',
              'channel': 11,
              'dynamic_ip_range': (u'192.168.0.10', u'192.168.0.50'),
              'freeplayer_ip': u'192.168.0.104',
              'hasDHCPServer': True,
              'hasIPv6': True,
              'hasWakeOnLanProxy': False,
              'isActive': True,
              'isRespondingToPing': True,
              'key_algorithm': u'WPA (TKIP+AES)',
              'model': u'Ralink RT2880',
              'private_ip': u'192.168.0.254',
              'public_ip': u'127.0.0.1',
              'routerMode': True,
              'ssid': u'MySSID',
              'state': u'Ok'}}