semvec/pypi-packages huggingface dataset:
triangle-sector-similarity 1.6
Find the similarity between vectors
License: MIT

# Triangle Area - Sector Area Similarity
It takes two vectors as an input and can return Cosine Similarity, Eucledian Distance, Triangle Area - Sector Area Similarity.

## Installation
``` pip install triangle_sector_similarity ```

## How to use it?
```
from triangle_sector_similarity import Cosine_Similarity,Euclidean_Distance,TS_SS,Pairwise_TS_SS

vec1 = [1,2,3]
vec2 = [2,4,5]

#Triangle Area Similarity â€“ Sector Area Similarity
ts_ss = TS_SS(vec1,vec2)

#Cosine Similarity
cos_sim = Cosine_Similarity(vec1,vec2)

#Euclidean Distance
euc_dist = Euclidean_Distance(vec1,vec2)

#Pairwise Triangle Area Similarity â€“ Sector Area Similarity
lst1 = [[1,2,3],[2,3,4]]
lst2 = [[2,4,5],[2,8,6]]

pairwise_ts_ss = Pairwise_TS_SS(lst1,lst2)
```

## License
Â© 2022 mohan98

This repository is licensed under the MIT license. See LICENSE for details.
sekube 0.1.6
Incredibly naivé program to read secrets from a kubernettes cluster
License: MIT

SeKube a dumb program to show kubernetes secrets
================================================

It does two(and a half) things:

 * It lists kubernetes secrets
 * It prints kubernetes secrets
 * It caches availible secrets for fast tab-completion

KubeCTL is fine and dandy but when you are doing OPS and some one asks
you “we can’t get it to work, can you confirm the content of this
secret” or “could you check the certificate in this secret and see if
you can figure out what is wrong..” you have to do this little dance
with ``kubectl [blah] -o json | jq -r .data[] |base64 -d`` and it gets
quite tedious after a while. This script aims to be stupid and simple
and just simplify those steps.

Further more trying to use kubectl for tab-completion can be quite a
chore due to the long response time. In order to aliviate this sekube
tries to keep a local cache of availible keys in order to make
tab-completion faster.
 
Usage example
-------------

entering a non-existant secret (not using tab-complete) ::

  $ sekube certi
  Error: "certi" not found in "None", did you mean:
    sec-certificate-monitor in default
    certificate-controller-token in kube-system
    sec-webscale in default
    ipfs in ipfs 


Printing the content of a secret to the screen ::

  $ sekube sec-certificate-monitor
  ============= github_token =============
  coffebeef39aa0f530e231709895700911232f0c
  ============== sentry_dsn ==============
  https://badb0xcas9ae5bd8c956a35b5c50d3e9@sentry.io/555

It supports tab-completion
~~~~~~~~~~~~~~~~~~~~~~~~~~

Add ``eval "$(_SEKUBE_COMPLETE=bash_source sekube)"`` to your .bashrc to
enable it

Why is it called sekube? and not kube-secrets or similar ?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Because I use ``ku-<TAB>`` as a shortcut for kubectl waay to ofte to
want to have things interfearing with that (yes I could create an alias
for ``kubectl``, but I wont)
py3utilities 0.0.6
Library having Python utility code
License: MIT


# pyutils
Python utility code

## Installation
- Make sure you have Python 3.6 and above.
- You can install the dependencies for **pyutils** from the root directory via `pip install -r requirements.txt`.

## Documentation
- The documentation for the `pyutils` package can be found at `docs/pyutils/index.html`. You can view this HTML file in your browser after cloning/downloading this repository.
- The module `pyutils/frameworks` is not yet documented.