semvec/pypi-packages huggingface dataset:
nlup 0.8
('Core libraries for natural language processing',)
License: MIT
Keywords: nlp,natural language processing,text,text processing,ai,artificial intelligence,neural net,perceptron,data,science,statistics,data science,math,machine learning,computer science,information theory

`nlup` contains some base libraries I use in natural language processing projects. Some highlights:

* `confusion.py`: classifier evaluation objects
* `decorators.py`: clever decorators for various purposes
* `jsonable.py`: a mix-in which allows the state of most objects to be serialized to (and deserialized from) compressed JSON
* `perceptron.py`: perceptron-like classifiers (binary and multiclass), including some forms of structured prediction
* `reader.py`: classes and readers for tagged and dependency-parsed data
* `timer.py`: a `with`-block that logs wall clock time elapsed

All have been tested on CPython 3.4.1 and PyPy 3.2.5 (PyPy version 2.3.1). They will not work on Python 2 without modification.

Some projects using `nlup`:

* [Detector Morse](http://github.com/cslu-nlp/detectormorse): simple sentence boundary detection
* [Perceptronix Point Never](http://github.com/cslu-nlp/PerceptronixPointNever): simple part of speech tagging
* [Where's Yr Head At](http://github.com/cslu-nlp/WheresYrHeadAt): simple transition-based dependency parsing
chess-ai 0.4
Provides Chess API and AI
License: MIT

# Chess AI

Provides a very basic chess game and AI.

# Very Quick Tutorial

To construct a new chess board, use the Board class.

    >>> board = Board();

To show the board, print board.

    >>> print(board)

To locate a position, use locate().

    >>> locate("a3")
    a3

To get a piece, call the get_piece method.

    >>> board.get_piece(locate("a1"))
    Rook("white") at a1
freezable-dict 0.1.1
A freezable dictionary object.
License: MIT
Requires Python: >=3.5
Keywords: dictionary,mutability,immutable,mapping


A `FreezableDict` is basically identical to a regular dict, but it offers the
additional possibility of freezing for use as a dictionary key, set item,
etc.

I stole most of the idea from https://stackoverflow.com/a/2704866 so props
to Mike (https://github.com/mikegraham).
intercept.py 0.2.0
Python library for intercept, a game by bubmet
License: MIT
Requires Python: >=3.6
Keywords: game,intercept,asyncio,trio,curio,anyio

Intercept.py
============

Python library for `intercept <https://bubmet.itch.io/intercept>`__, a
game by `bubmet <https://github.com/bubmet>`__

Styled after `discord.py <https://github.com/Rapptz/discord.py>`__, this
library aims to give users a customizable experience with the game.

Examples
========

Chat logger:

.. code:: py

    from intercept import Client, DataFormat, ChatEvent

    client = Client(username, password, handle_data=DataFormat.CLEAN)


    @client.event
    async def event_chat(event: ChatEvent):
        print(event.msg)

    client.run()

Simple custom client using
`prompt-toolkit <https://github.com/prompt-toolkit/python-prompt-toolkit>`__:

.. code:: py

    from prompt_toolkit import prompt
    from prompt_toolkit.eventloop.defaults import use_asyncio_event_loop
    from prompt_toolkit.patch_stdout import patch_stdout

    from intercept import Client, DataFormat, MessageEvent

    use_asyncio_event_loop()

    client = Client(username, password, handle_data=DataFormat.ANSI)


    @client.event
    async def on_event(event):
        if isinstance(event, MessageEvent):
            print(event.msg)


    @client.event
    async def event_ready():
        while client.handler._do_loop:  # pylint: disable=protected-access
            with patch_stdout():
                text = await prompt(" >> ", async_=True)

            if text == "quit":
                client.stop()
            else:
                await client.command(text)
        print("Done running")


    client.run(backend='asyncio')

More examples can be found
`here <https://github.com/martmists/intercept.py/tree/master/examples>`__