semvec/pypi-packages huggingface dataset:
tpu-index 0.0.6a0
TPU index is a package for fast similarity search over large collections of high dimension vectors on Google Cloud TPUs
Requires Python: >=3.5

[![HitCount](http://hits.dwyl.io/srihari-humbarwadi/tpu_index.svg)](http://hits.dwyl.io/srihari-humbarwadi/tpu_index)

## TPU Index

TPU Index is a package for fast similarity search over large collections of high dimension vectors on TPUs.
This package was built to support our project that we developed for https://tfworld.devpost.com/.

Link to our project: https://devpost.com/software/naturallanguagerecommendations


### Installation
`!pip install tpu-index`


### Basic usage
```
from tpu_index import TPUIndex

index = TPUIndex(num_tpu_cores=8)
index.create_index(vectors)  # vectors = numpy array, shape == [None, None]

...
D, I = index.search(xq, distance_metric='cosine', top_k=5)
```

### ToDo:
 - [ ] Add more distance metrics
 - [ ] Optional GPU support
wsl2gpg 0.0.2
Create UNIX sockets and proxy to the gpg4win agent
Requires Python: >=3.5

# wsl2gpg

wsl2gpg is a small utility making it possible to use gpg in WSL 
(Windows Subsystem for Linux) with the agent
from [Gpg4win](https://gpg4win.org/).

GnuPG's libassuan emulates sockets on Windows by listening on localhost
and writing the TCP port number and a key to the "socket" file. 
This utility will listen on UNIX sockets in ~/.gnupg and proxy
connections to the localhost TCP port. The key is automatically sent first. 

With this, gpg in WSL can talk to the Gpg4win agent in Windows. 

## Usage

You can either install wsl2gpg with pip:

```shell
pip install wsl2gpg
```

Or alternatively just copy [`__init__.py`](wsl2gpg/__init__.py) somewhere
and make it executable with `chmod +x`

Then, append a line to your `.bashrc` (or rc file of your favorite shell)
to run wsl2gpg when you log in:

```shell
wsl2gpg -q -i &
```

You should then be able to use gpg in WSL as usual. For example, to show
information on a Yubikey / smartcard:

```shell
$ gpg --card-status
Reader ...........: Yubico Yubikey 4 OTP U2F CCID 0
[...]
```

## Potential Issues

Should the Windows user detection not work, you can set the username manually:

```shell
wsl2gpg -u yourwindowsuername
```