semvec/pypi-packages huggingface dataset:
context-loop 0.1.1
Context manager for asyncio event loop.
License: MIT
Keywords: context,manager,asyncio,event,loop,utility

************
Context loop
************

:Info: Context loop.
:Author: Paweł Zadrożny @pawelzny <pawel.zny@gmail.com>


.. image:: https://circleci.com/gh/pawelzny/context-loop.svg?style=shield&circle-token=9dfb6c240de494af453a2899a7cf6d66c51aa723
   :target: https://circleci.com/gh/pawelzny/context-loop
   :alt: CI Status

.. image:: https://readthedocs.org/projects/context-loop/badge/?version=latest
   :target: http://context-loop.readthedocs.io/en/latest/?badge=latest
   :alt: Documentation Status

.. image:: https://img.shields.io/pypi/v/context-loop.svg
   :target: https://pypi.org/project/context-loop/
   :alt: PyPI Repository Status

.. image:: https://img.shields.io/github/release/pawelzny/context-loop.svg
   :target: https://github.com/pawelzny/context-loop
   :alt: Release Status

.. image:: https://img.shields.io/pypi/status/context-loop.svg
   :target: https://pypi.org/project/context-loop/
   :alt: Project Status

.. image:: https://img.shields.io/pypi/pyversions/context-loop.svg
   :target: https://pypi.org/project/context-loop/
   :alt: Supported python versions

.. image:: https://img.shields.io/pypi/implementation/context-loop.svg
   :target: https://pypi.org/project/context-loop/
   :alt: Supported interpreters

.. image:: https://img.shields.io/pypi/l/context-loop.svg
   :target: https://github.com/pawelzny/context-loop/blob/master/LICENSE
   :alt: License


Features
========

* Work with sync and async frameworks
* Schedule tasks to existing loop or create new one
* No need to understand how async works
* No callbacks required
* Run async tasks whenever and wherever you want


Installation
============

.. code:: bash

    pip install context-loop


**Package**: https://pypi.org/project/context-loop/


Documentation
=============

Read full documentation at http://context-loop.readthedocs.io/en/stable/


Quick Example
=============

.. code:: python

    >>> async def coro():
    ...     return await something_from_future()
    ...
    >>> import cl.Loop
    >>> with cl.Loop(coro(), coro(), coro()) as loop:
    ...    result = loop.run_until_complete()
    ...
    >>> result
    ['success', 'success', 'success']
cnprep 0.1.12
A lib for Chinese text preprocessing
License: MIT
Keywords: Chinese,text,preprocess

===========
cnprep
===========

.. image:: https://travis-ci.org/Momingcoder/cnprep.svg?branch=master
    :target: https://travis-ci.org/Momingcoder/cnprep

Chinese text preprocess
---------------------------

You can extract numbers, email, website, emoji, tex, and delete spaces, punctuations.

Install
-------------

::

    >> pip install cnprep

Usage
--------

::

    from cnprep import Extractor
    ext = Extractor(args=['email', 'number'], limit=5)
    ext.extract(message)

::

    args: option
        e.g. ['email', 'telephone'] or 'email, telephone'
        email
        telephone
        web
        QQ
        tex
        wechat
        message (without punctuation)
        blur (Ⅰ①壹...)
    limit: parameter for get_number (blur)


Also, you can use ''ext.reset_param()'' to reset the parameters.

Attention
-----------
The URL extractor only support ASCII
pubg 0.0.3
Python wrapper for the Battlegrounds Developer API
License: MIT

        Python wrapper for the Battlegrounds Developer API
        ==================================================
        `Battlegrounds Developer API Docs <https://developer.playbattlegrounds.com/docs/en/introduction.html>`_
        
        ************
        Installation
        ************
        
        .. code-block:: bash
        
            pip install pubg
        
        ***************
        Usage
        ***************
        
        Setup
        =====
        .. code-block:: python
        
            from pubg import Battlegrounds, Region
        
            battlegrounds = Battlegrounds(api_key='API_KEY', region=Region.pc_na)
        
        Match Data
        ==========
        .. code-block:: python
        
            matches = battlegrounds.matches()
        
            print(matches.id)
            print(matches.created_at)
            print(matches.duration)
        
            for roster in matches.rosters:
                print(roster.id)
        
                for participant in roster.participants:
                    print(participant.id)
                    print(participant.actor)
                    print(participant.shard_id)
        
                print(roster.won)
                print(roster.shard_id)
        
            for asset in matches.assets:
                print(asset.id)
                print(asset.title_id)
                print(asset.shard_id)
                print(asset.name)
                print(asset.description)
                print(asset.created_at)
                print(asset.filename)
                print(asset.content_type)
                print(asset.url)
        
            print(matches.game_mode)
            print(matches.patch_version)
            print(matches.title_id)
            print(matches.shard_id)
        
        Status
        ======
        .. code-block:: python
        
            status = Battlegrounds.status()
        
            print(status.id)
            print(status.released_at)
            print(status.version)
        
        More will be available as I get more information about the API
Platform: UNKNOWN
Classifier: Development Status :: 1 - Planning
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.6