semvec/pypi-packages huggingface dataset:
wiktionaryparser-ml 0.0.1
A tool to parse word data from wiktionary.com into a JSON object. Based on wiktionary parser by Suyash Behera
Keywords: Parser,Wiktionary

### Wiktionary Parser

A python project which parses word content from Wiktionary in an easy to use JSON format.
Right now, it parses etymologies, definitions, pronunciations, examples, audio links and related words.

[![Downloads](http://pepy.tech/badge/wiktionaryparser)](http://pepy.tech/project/wiktionaryparser)

#### JSON structure

```json
[{
    "pronunciations": {
        "text": ["pronunciation text"],
        "audio": ["pronunciation audio"]
    },
    "definitions": [{
        "relatedWords": [{
            "relationshipType": "word relationship type",
            "words": ["list of related words"]
        }],
        "text": ["list of definitions"],
        "partOfSpeech": "part of speech",
        "examples": ["list of examples"]
    }],
    "etymology": "etymology text",
}]
```

#### Installation

##### Using pip 
* run `pip install wiktionaryparser`

##### From Source
* Clone the repo or download the zip
* `cd` to the folder
* run `pip install -r "requirements.txt"`

#### Usage

 - Import the WiktionaryParser class.
 - Initialize an object and use the `fetch("word", "language")` method.
 - The default language is English, it can be changed using the `set_default_language method`.
 - Include/exclude parts of speech to be parsed using `include_part_of_speech(part_of_speech)` and `exclude_part_of_speech(part_of_speech)`
 - Include/exclude relations to be parsed using `include_relation(relation)` and `exclude_relation(relation)`

#### Examples

```python
>>> from wiktionaryparser import WiktionaryParser
>>> parser = WiktionaryParser()
>>> word = parser.fetch('test')
>>> another_word = parser.fetch('test', 'french')
>>> parser.set_default_language('french')
>>> parser.exclude_part_of_speech('noun')
>>> parser.include_relation('alternative forms')
```

#### Requirements

 - requests==2.20.0
 - beautifulsoup4==4.4.0

#### Contributions

If you want to add features/improvement or report issues, feel free to send a pull request!

#### License

Wiktionary Parser is licensed under [MIT](LICENSE.txt).
asingleton 0.3.0
singleton(cls, [attr_name,] [disable_name_mangling,] [not_just_this_class,]) is cls
Requires Python: >=3.6

# asingleton

![Run tests](https://github.com/guallo/asingleton/workflows/Run%20tests/badge.svg)
![Upload release assets](https://github.com/guallo/asingleton/workflows/Upload%20release%20assets/badge.svg)

```python3
>>> from asingleton import singleton

>>> print(singleton.__doc__)

    singleton(cls, 
                attr_name='instance', 
                disable_name_mangling=False, 
                not_just_this_class=False) -> cls

    singleton(attr_name='instance', 
                disable_name_mangling=False, 
                not_just_this_class=False)(cls) -> cls

    >>> @singleton
    ... class Service:
    ...     pass
    ... 
    >>> Service() is Service.instance
    True
    >>> Service()  # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
    Traceback (most recent call last):
        ...
    AssertionError: There is already an instance of type <class '...Service'>;
    it can be accessed through the class attribute 'Service.instance'.

    >>> @singleton('__instance')
    ... class Service:
    ...     @classmethod
    ...     def get_instance(cls):
    ...         return cls.__instance
    ... 
    >>> Service() is Service.get_instance()
    True
    >>> Service.__instance
    Traceback (most recent call last):
        ...
    AttributeError: type object 'Service' has no attribute '__instance'

    >>> @singleton(not_just_this_class=True)
    ... class Service:
    ...     pass
    ... 
    >>> class Apache(Service):
    ...     pass
    ... 
    >>> Apache() is Apache.instance
    True
    >>> Apache()  # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
    Traceback (most recent call last):
        ...
    AssertionError: There is already an instance of type <class '...Apache'>;
    it can be accessed through the class attribute 'Apache.instance'.

    >>> class Service:
    ...     def __new__(cls, *args, **kwargs):
    ...         """My custom __new__"""
    ...         return super().__new__(cls, *args, **kwargs)
    ...     original_new = __new__
    ... 
    >>> singleton(Service) is Service
    True
    >>> Service.__new__ is Service.original_new
    False
    >>> Service.__new__.__wrapped__ is Service.original_new
    True
    >>> Service.__new__.__doc__
    'My custom __new__'

```
loducode-maytapi 0.1.2
Non official maytapi library python
Keywords: maytapi,whatsapp,loducode

# Library non Official for maytapi PYTHON

Library for send messages for whatsapp

## functionalities

- **Send message**
    - send_text("573166187553","hello world ��")
- **Send multimedia**
    - send_multimedia("573166187553","hello world ��","http://oyepepe.com/static/dashboard/assets/images/logo.png")
    - send_multimedia("573166187553","","http://oyepepe.com/static/dashboard/assets/images/logo.png")  
- **Send contact**
    - send_contact("573166187553",'573166187553')
- **Send location**
    - send_location("573166187553","Hello","12.654","-72.776")
    - send_location("573166187553","","12.654","-72.776")
- **Send link**
    - send_link("573166187553","Text","https://google.com")
    - send_link("573166187553","","https://google.com")
- **Set config**
    - set_config("https://f2d55e5eceae.ngrok.io/chatbot/recibir-mensage/",True)

### Required ENV

- ID_PHONE
- PRODUCT_ID
- TOKEN