semvec/pypi-packages huggingface dataset:
bbox-utils 0.1.1
Utilities to easily convert between different bounding box formats (YOLO, XYWH, XYXY, etc.).
License: MIT

==========
bbox-utils
==========

Utilities to easily convert between different bounding box formats (YOLO, XYWH, XYXY, etc.).

Description
===========
You can find documentation for the project at `here <https://bbox-utils.readthedocs.io/en/latest/>`_.

**2D Bounding Box Conversions**
|Colab Image Demo|

.. |Colab Image Demo| image:: https://colab.research.google.com/assets/colab-badge.svg
   :target: https://colab.research.google.com/drive/1NGiNhftz-hy671IHdOidkqgnaxaZ88Kn?usp=sharing

* List of points [top left, top right, bottom right, bottom left]
* XYWH: top left, width, height
* XYXY: top left, bottom right
* YOLO

**3D Bounding Box Conversions**
|Colab PCD Demo|

.. |Colab PCD Demo| image:: https://colab.research.google.com/assets/colab-badge.svg
   :target: https://colab.research.google.com/drive/1NR9fR5hWHDtNcOyp8U0nPPjeuXR_auxd?usp=sharing

You can create a 3D bounding box with either:

* A center point, width, height, depth, and rotation
* The back-bottom-left point, width, height, depth, and rotation

You can convert between the two forms and also get a triangular polygon to use for plotting triangular meshes.

The majority of the 3D Bounding Box implementation comes from the `bbox PyPI package
<https://github.com/varunagrawal/bbox>`_.

**Visualizations**
You can use `bbox-utils` to visualize annotations within point clouds or images.

To use point clouds, you will need to install `open3d <http://www.open3d.org/docs/release/getting_started.html>`_
and `plotly <https://plotly.com/python/getting-started/>`_ with either::

    pip3 install open3d plotly==4.14.3
    pip install
    # or
    conda install -c open3d-admin open3d
    conda install -c plotly plotly=4.14.3

At the time of writing this, `open3d` requires Python < 3.9

To use images, you will need to install `OpenCV <https://opencv.org/>`_::

    pip3 install opencv-python
    # or
    conda install opencv -c conda-forge


Making Changes & Contributing
=============================

This project uses `pre-commit`_, please make sure to install it before making any
changes::

    pip install pre-commit
    cd bbox-utils
    pre-commit install

It is a good idea to update the hooks to the latest version::

    pre-commit autoupdate


.. _pre-commit: http://pre-commit.com/

Note
====

This project has been set up using PyScaffold 4.0rc1. For details and usage
information on PyScaffold see https://pyscaffold.org/.
wallstreetbets-sentiment-analyser 0.0.3
A tool for extracting post from the wallstreetbets reddit group and running them through a sentiment analyser (vadar).
License: MIT
Keywords: wallstreetbets reddit sentiment analyser

A package for extracting posts from reddit.com and run them through the vadar sentiment analyser.

Change Log
==========

0.0.1 (13/02/2021)
------------------
 - Initial Release
termcast 0.1a18
A tool to share the contents of your terminal over the web
License: MIT
Requires Python: >=2.7.9
Keywords: terminal screencast

# termcast

**termcast** exists to make it absolutely trivial to stream the contents of your current terminal session over the web, so that friends/collaborators/students can follow along as you grep logs, configure a webserver, play nethack, whatever :)

![](https://raw.githubusercontent.com/lampholder/termcast/master/termcast.gif)

## How do I get it?

You can either git clone this repo and run the cli/termcast.py script, or (preferably) use pip. [If you don't have pip, follow the instructions to get it here](https://pip.pypa.io/en/stable/installing/). You'll also need to install tmux if you don't have it already:

    $ sudo apt-get install tmux
    $ pip install termcast --user

## How does it work?

It leverages a bunch of existing unix gubbins (script, tmux, named pipes) + python and websockets and a node js server to plug it all together.

Tmux is in the mix because:

- It has a status bar that can be configured to show useful things
- It supports specifying the dimensions of your terminal (independently of the window size)

## Current state:

**N.B.** If you see errors from tmux about configuration options, it might be that your version of tmux is old. Obviously it would be better if termcast detected and handled this automatically - it doesn't, but you can try and run it with tmux configuration options compatible with older versions of tmux by running with the `--old-tmux` flag.

The pip termcast only works on python >= 2.7.9 because earlier versions can't support SNI :(

termcast is in alpha but the happy path is actually working pretty well. There are still some issues, but they mostly pertain to the running of the server. 

Relying on my server running at termcast.me for mission critical procedures is... not recommended. The server is currently a Single Point of Failure, and could go down at any time.

### Running your own server

You can run your own server - a dockerize version of the latest server instance is available at dockerhub, so this should be as simple as:

```
docker run -p 80:8080 -d lampholder/termcast.me:v0.1
```

You can specify a host when running the `termcast` script using the `--host` flag.

## Usages of the installed script

`$ termcast` will launch a new session identified with a dictionary word randomly selected

`$ termcast --width <width_in_columns> --height <height_in_rows>` will initiate a session with specified dimensions

`$ termcast --session <session_id> --token <session_token>` will reconnect to an existing session

Remember - viewers will see your terminal stretched to fit the size of their browser window, so very small/very large terminals could look pretty ugly.

## Can I see it in action?

(Hopefully) an instance is up-and-streaming on: https://termcast.me/said