semvec/pypi-packages huggingface dataset:
PyPubSub 3.4.2
Python Publish-Subscribe Package
License: BSD
Requires Python: ==2.7.*
Keywords: publish subscribe observer pattern signal signals event events message messages messaging dispatch dispatching

PyPubSub provides a publish - subscribe API that facilitates the development of 
event-based (also known as message-based) applications. PyPubSub supports sending and 
receiving messages between objects of an application, as well as a variety of 
advanced features that facilitate debugging and maintaining topics and messages
in larger applications. 

ATTENTION: the 3.x branch of PyPubSub is DEPRECATED and is ONLY for 
Python 2.7 applications. If you are using Python 3+, use PyPubSub 4+ 
(https://pypi.org/project/PyPubSub). 

Install current release with "pip install pypubsub==3.4" (ensure that pip runs
with Python 2.7).
dxf-fix 0.1
Fixer for dxf files like those output by openscad
License: BSD

# dxf\_fix

This uses ezdxf load dxf files, connect individal LINE segments into POLYLINE,
and correct their direction based on nesting level (assuming that it represents
a 2d shape).

Requirements:

* Python 2.7 or 3+
* `ezdxf`

## Usage

`dxf_fix in.dxf [ -o out.dxf ]` will write `out.dxf` if provided, otherwise `in.dxf.new`
stl-stretch 0.1
Stretches just part of an stl file
License: BSD

# STL Stretch

This script lets you modify stl files by scaling them, including by scaling just
a section along an axis.

Requirements:

* Python 2.7+ including Python 3.x
* Nose in order to run the tests

## How does it work?

For example, let's say you have this file, but want it to be wider:

![original](docs/a.png)

You coud scale it by a fixed amount through the whole way, but that will make
the circles out of round, which you might need for screws or something else:

![scale by 1.6 in x](docs/b.png)

To use this script, you need to find (or guess and iterate) on the coordinates
the bound where you want to modify, for example to stretch between X=9 and X=15,
the script divides it into 3 segments:

![3 segments](docs/c.png)

The no-op change would be `python stl.py --stretch "X 9 15 0" -o new.stl
old.stl`.  Note the `0`.  If you want to expand this region by 7.5 units
(typically mm by convention) then change the `0` to `7.5`.

![middle segment stretched](docs/d.png)

The resulting file is one without gaps, those are just for illustration.