semvec/pypi-packages huggingface dataset:
pymap2d 0.1.15
Tools for 2D maps

# pymap2d

pymap2d is a Cython-based fast toolbox for 2d grid maps.

The CMap2D class provides:
- simple xy <-> ij coordinate conversions
- implementation of the dijkstra / fastmarch algorithm
- fast 2D distance transform (ESDF)
- conversions:
  - to/from polygon vertices
  - from ROS occupancy map or lidar scan message
  - serialization to/from dict

![pymap2d](media/pymap2d.png)

Note: rather than carefully designed, this codebase was chaotically grown. 
It is in dire need of refactoring / documentation. I hope it still proves useful.

## Dependency: Cython
```
$ pip install numpy Cython
```

## Installation:
Inside this project root folder:
```
$ pip install pymap2d
```

## How to

Creating a map

```python
from CMap2D import CMap2D

# empty map
mymap = CMap2D()

# from an array
mymap.from_array(array, origin, resolution)

# from a pgm file
mymap = CMap2D("folder", "filename")

# from a ROS message
mymap.from_msg(msg)
```

Accessing occupancy data, origin, resolution (read-only)

```python
# occupancy as 2d array
mymap.occupancy()

# origin: (x, y) coordinates of point (i, j) = (0, 0)
mymap.origin_xy()

# resolution: size of grid cell [meters]
mymap.resolution()
```

Converting between grid and spatial coordinates

```python
list_of_xy_points = np.array([[1.3, 2.3], [-1.1, -4.0], [6.4, 2.3]])

in_ij_coordinates = mymap.xy_to_floatij(list_of_xy_points)
as_indices = mymap.xy_to_ij(list_of_xy_points, clip_if_outside=True)
```

gridshow is a convenience function, which wraps plt.imshow to intuitively visualize 2d array contents.
It makes the first array dimension x axis and uses grayscale by default.

```python
from CMap2D import gridshow
gridshow(mymap.occupancy())
```

![gridshow_vs_imshow](media/gridshow_vs_imshow.png)


For more examples, see [test](test)/example_*.py
pyconversions 0.0.12
Convert Unit Length Datas
Keywords: python,unitlength,length,distances,diameters,meters

Convert all types of Unit Length Datas. The one's in this Package are: 
* Inches 
* Feet 
* Yard 
* Millimeter 
* Centimeter 
* Decimeter 
* Decameter 
* Hectometer 
* Meter 
* Kilometer 

 Other than Unit Lengths the ones added in the package are: 
* Fahrenheit 
* Celsius 

 For starters, Import the Class as Shown below: 
* import pyconversions.pyconv as pycv 

 After that for an instance, lets say to Convert 12 Inches to Meters use: 
* pycv.Inches(12).toMeters() 

 Or to Convert 12 Meters to Centimeters use: 
* pycv.Meters(12).toCentimeters() 

 Just like for for Unit Lengths, you can use it for Temperatures too as follows:
* pycv.Fahrenheit(35).toCelcius() 

 Or to Convert it Vice-Versa use: 
* pycv.Celcius(68).toFahrenheit
WinAPIClient 0.1.0
High-level wrapper around pywin32 for developing windows overlays
Requires Python: >=3.6

# Installing
```
pip install WinAPIClient
```

# Usage

### Common usage
```python3
# select the currently active window
winapi = WinAPIClient()
# alternatively select another window by title:
winapi = WinAPIClient(wnd_title="Untitled - Notepad")
#   or by manually acquired window handle:
winapi = WinAPIClient(hwnd=0xC0FFEE)

# make selected window top-level, enable transparency, and make click-through
winapi.init_overlay()
# same as:
winapi = WinAPIClient(init_overlay=True)
```

### Manually set overlay settings
```python3
# initiate layered mode (allows windows to use transparency)
# Note: layered mode will make a window click-through
winapi.set_layered_mode()

# enable transparency (sets style-flags required for transparency)
# Note: after transparency is enabled, any pixel in the window matching
#   the color "winapi.color_key" will be transparent
winapi.set_transparency(opacity=1, color_key=None)

# make the window always top-level (appearing in front of other windows)
winapi.set_always_toplevel()
```

### Other methods
```python3
# make entire window transparent (not just the color_key)
winapi.set_transparency(.5)

# reset the window style to default
winapi.reset_style(retain_size=False, retain_pos=False)
```
kansuji2digit-nanamedou 0.1
It convert kansuji to digit.
Requires Python: >=3.6

# kansuji2digit

漢数字->アラビア数字変換

## ビルド方法(windows)

win_setup.batのvcvarsallのパスを通す
win_setup.batを実行
win_install.batを実行
実行ファイル(main.exe)とpython用ライブラリ(_kansuji2digit.pyd)が得られる。

## 実行例

入出力は基本的にutf-8

cmd

```cmd
> echo 九十八万八〇〇〇 | main.exe
98000
```

python

```python
>>import kansuji2digit
>>k2d = kansuji2digit.Converter()
>>print(k2d.kansuji2digit("九百二億三千百七万四千百三十八"))
90231074138
```
PyPi-SutirthaSahu 0.0.1
Its an implimentation of Perceptron
Requires Python: >=3.7

# PyPi
Creating PyPi package

# References -
[official python docs](https://packaging.python.org/tutorials/packaging-projects/)

[github docs for github actions](https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries)