semvec/pypi-packages huggingface dataset:
eventing 0.3.0
A pythonic event emitter inspired by Node.js' EventEmitter and Python's logging libraries.
Requires Python: >=3.9,<4
Keywords: events,eventemitter,logging,node

# eventing
[![Tests][test-badge]][test-uri]
[![Documentation Status][rtd-badge]][rtd-uri]
[![PyPI][pypi-badge]][pypi-uri]
[![License][license-badge]][license-uri]

[test-badge]: https://github.com/tim-timman/eventing/actions/workflows/tests.yaml/badge.svg?branch=master&event=push
[test-uri]: https://github.com/tim-timman/eventing/actions/workflows/tests.yaml
[rtd-badge]: https://readthedocs.org/projects/eventing/badge/?version=latest
[rtd-uri]: https://eventing.readthedocs.io/en/latest/?badge=latest
[pypi-badge]: https://img.shields.io/pypi/v/eventing
[pypi-uri]: https://pypi.org/project/eventing/
[license-badge]: https://img.shields.io/pypi/l/eventing
[license-uri]: https://github.com/tim-timman/eventing/blob/master/LICENSE

A pythonic event emitter inspired by Node.js' [EventEmitter][njs-ee]
and Python's [logging][pylogging] libraries.

[njs-ee]: https://nodejs.org/api/events.html#class-eventemitter
[pylogging]: https://docs.python.org/3/library/logging.html

This project adheres to [Semantic Versioning][semver].

[semver]: https://semver.org/spec/v2.0.0.html

### Rationale
This project sprung to life partly from wanting to learn TDD and publishing a
python package, but also from the need of an event pattern akin to Node.js'
EventEmitter that will with asyncio in a nice pythonic way.

I envision it in a similar API as Python's logging module, in that it'll
"just work" regardless of event loops, threads (and possibly even subprocesses);
something I haven't found in the myriad event packages on PyPI. Hopefully, it'll
become something of use to others as well.

## Docs
Autogenerated API docs can be found at <https://eventing.readthedocs.io>.

> **Note:** Until a version `>=1.0.0` these are not maintained as a public API
> has yet to be established.

## Development

See [DEVELOPMENT][dev-doc]

[dev-doc]: https://github.com/tim-timman/eventing/blob/master/DEVELOPMENT.md

## Changelog

See [CHANGELOG][changelog]

[changelog]: https://github.com/tim-timman/eventing/blob/master/CHANGELOG.md

## License

MIT, see [LICENSE][license]

[license]: https://github.com/tim-timman/eventing/blob/master/LICENSE
big-fiubrother-core-application 0.0.1
Frame for a micro service in the Big Fiubrother ecosystem
Requires Python: >=3.6

# big-fiubrother-core-application

*big-fiubrother-core-application* module is a basic frame to be used in all the applications from the Big Fiubrother project.
This module concentrates common tasks that are needed in all the microservices, for example:
- Parsing arguments
- Loading configuration
- Starting (distributed) logging
- Handle Linux signals

## Usage

```python
from big_fiubrother_core_application import run


with run('application_name') as application:
    while not application.is_stopped():
        work()
```
turning-function 0.0.3
Python implementation of "An efficiently computable metric for comparing polygonal shapes" (Arkin et al.)
Requires Python: >=3.6

# Turning Function

This module contains Python bindings to a C-implementation of ["An efficiently computable metric for comparing polygonal shapes"](http://www.cs.cornell.edu/~dph/papers/ACHKM-TPAMI-91.pdf) (Arkin et al., 1991).

## Installation

`pip install turning_function`

## Usage

Call `turning_function.distance(shape_a, shape_b, brute_force_updates=False)` where `shape_a`/`shape_b` are Nx2-shaped lists of points (not numpy arrays). This function will return four values: `distance, theta, ht_err, slope_err`. The error terms will be zero if `brute_force_updates` is `False`. Note that there is a maximum number of points (`turning_function.max_points`) a shape can hold.

```python
import turning_function
import random

def random_shape(num_points: int):

	return [(random.random(), random.random()) for _ in range(num_points)]

shape_a = random_shape(turning_function.max_points)
shape_b = random_shape(42)

distance, theta, ht_err, slope_err = turning_function.distance(shape_a, shape_b, brute_force_updates=False)
print('Distance: ', distance)

```

## License

The original source has this disclaimer:
> Implementation (c) Eugene K. Ressler 91, 92  This source may be freely distributed and used for non-commercial purposes, so long as this comment is attached to any code copied or derived from it.
dotxboxcontroller 0.0.1
Getting input from Microsoft XBox 360 controllers via the XInput library on Windows.
Requires Python: >=3.6

# dotXboxController

Getting input from Microsoft XBox 360 controllers via the XInput library on Windows.

## Installation

```bash
pip install dotxboxcontroller
```

## Usage

```python
import time
import sys

from dotxboxcontroller import XboxController, Hand

def main():
    """
    """
    stick = XboxController(0)

    while True:
        stick.update()
        stick.setRumble(Hand.LEFT, abs(stick.axes["LTrigger"]))
        stick.setRumble(Hand.RIGHT, abs(stick.axes["RTrigger"]))
        print("A Btn:", stick.getAButton(), end="")
        print("\tPOV:", stick.getPOV(), end="")
        print("\tX Axis:", stick.getX(Hand.LEFT))
        time.sleep(.01)


if __name__ == "__main__":
    main()

```
rockset-v2-alpha 0.1.13
The python client for the Rockset API.
Requires Python: >=3.6,<4.0

Official Rockset Python Client
==============================

A Python library for Rockset's API.


Setup
-----

You can install this package by using the pip tool and installing:

    $ pip install rockset-v2-alpha


Using the Rockset API
---------------------

Documentation for this library can be found here:

- https://rockset.com/docs/client/python/ (these docs are still the old ones)