semvec/pypi-packages huggingface dataset:
vocably2anki 0.1.4
Converts an exported vocably deck to a simpler format suitable for Anki import
Requires Python: >=3.12

A quick converter of Vocably-export files into my own Anki format.  Extremely hard-coded.

Usage:

```
❯ uv run .\v2a.py -h
usage: v2a.py [-h] vocably [vocably-separator] [anki-separator]

converts a Vocably export file to Anki deck

positional arguments:
  vocably            the input CSV file (type: Path)
  vocably-separator  the characters separating the vocably columns (type: str, default: |)
  anki-separator     the characters separating two sides of the deck card (type: str, default: ': ')

options:
  -h, --help         show this help message and exit
```

or 

```
> uvx vocably2anki -h
...
```
knarrow 0.8.1
Shoot a knarrow to the knee
Requires Python: >=3.10
Keywords: elbow, knee, kneedle, optimization

# knarrow
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/knarrow)
![PyPI - Downloads](https://img.shields.io/pypi/dm/knarrow)
![PyPI - License](https://img.shields.io/pypi/l/knarrow)
![PyPI](https://img.shields.io/pypi/v/knarrow)
![PyPI - Format](https://img.shields.io/pypi/format/knarrow)
![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/InCogNiTo124/knarrow)
![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/InCogNiTo124/knarrow/.github/workflows/lint-and-test.yml?branch=master)
![Read the Docs](https://img.shields.io/readthedocs/knarrow)
![Website](https://img.shields.io/website?url=https%3A%2F%2Fknarrow.readthedocs.org)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

Shoot a `knarrow` to the knee ;)

_(The lib is better than this pun, I swear.)_

Detect knee points in various scenarios using a plethora of methods


## Usage
Just plug in your values in a `list`, `tuple` or an `np.ndarray` and watch `knarrow` hit the knee:

```pycon
>>> from knarrow import find_knee
>>> find_knee([1, 2, 3, 4, 6])  # use a list
3
>>> find_knee((1, 2, 3, 4, 6))  # or a tuple
3
>>> import numpy as np
>>> y = np.array([1.0, 1.05, 1.15, 1.28, 1.30, 2.5, 3.6, 4.9])
>>> find_knee(y)  # provide just the values
4
>>> x = np.arange(8)
>>> find_knee(x, y)  # or both x and y
4
>>> A = np.vstack((x, y))
>>> A
array([[0.  , 1.  , 2.  , 3.  , 4.  , 5.  , 6.  , 7.  ],
       [1.  , 1.05, 1.15, 1.28, 1.3 , 2.5 , 3.6 , 4.9 ]])
>>> find_knee(A)  # works with x in first row, y in the second
4
>>> A.T
array([[0.  , 1.  ],
       [1.  , 1.05],
       [2.  , 1.15],
       [3.  , 1.28],
       [4.  , 1.3 ],
       [5.  , 2.5 ],
       [6.  , 3.6 ],
       [7.  , 4.9 ]])
>>> find_knee(A.T)  # also works with x in the first column, y in the second column
4
>>> find_knee(x, y, smoothing=0.01)  # for better results use cubic spline smoothing
4
```

### CLI
This library can also come with a handy CLI if you install it with the `cli` extra:
```shell
$ pip install "knarrow[cli]"
$ cat data.txt | knarrow -
<stdin> 11
$ cat data.txt | knarrow -o value -
<stdin> 59874.14171519781845532648
$ knarrow --sort -d ',' -o value shuf_delim.txt
shuf_delim.txt 20
```
_(the `-` for stdin is, unfortunately, mandatory)_
Try writing `knarrow --help` for more info.

## Similar projects

While I've come up with most of these methods by myself, I am not the only one. Here is a (non-comprehensive) list of projects I've found that implement a similar functionality and may have been an inspiration for me:
- [mariolpantunes/knee](https://github.com/mariolpantunes/knee)

Note: this project was bootstrapped by [python-blueprint](https://github.com/johnthagen/python-blueprint). Since then, it has been heavily modified, though.
GSEWidgets 0.0.2
Collection of gui widgets to be used in GSE software.
Requires Python: >=3.10

<h1 align="center">GSEWidgets</h1>

GSEWidgets is a package that makes use of Qt6 to create some easy to use and define widgets. This is achieved by 
combining the functionality of PyQt6 and qtpy libraries. Most of the custom widgets are created to be used
with specific applications developed for GSECARS.

## Installation

GSEWidgets requires the use of Python 3.10 or higher. In some cases lower versions are also accepted,
but version 3.10 is recommended for best compatibility. See the full [requirements list](#urequirementsu)
for the GSEWidgets package.

<br />

#### <u>PyPI</u>
To install from PyPI use:
````
pip install gsewidgets
````
<br />

#### <u>Source</u>
To install from source first download the project from the package 
[releases](https://github.com/GSECARS/GSEWidgets/releases) 
or use: 
````
git clone https://github.com/GSECARS/GSEWidgets.git
````
Move into the project directory: 
````
cd GSEWidgets
````
Install using pip: 
````
pip install .
````

<br />

#### <u>Requirements</u>
1. Python >= 3.10
2. PyQt6 >= 6.4.0
3. qtpy >= 2.2.1

<br />

## Available widgets

- ErrorMessageBox
- VerticalLine
- HorizontalLine
- Label
- FlatButton
- FileBrowserButton
- DirectoryBrowserButton
- ColorDialogButton
- NumericSpinBox
- NoWheelNumericSpinBox
- InputBox
- FilePathInputBox
- FileNameInputBox
- URIInputBox
- FullComboBox
- CheckBox
- ToggleCheckBox
- XYZCollectionPointsTable

Here is a screenshot with an example application, one using custom styles in .qss files.

<p><img alt="Example widgets" src="gsewidgets/examples/assets/images/gsewidgets_example.png"></p>

The example application is also packaged and can be used after the installation. See below:
````
from gsewidgets.examples import app
app.run()
````

<br />

## License

GSEWidgets is distributed under the GNU General Public License version 3. You should have 
received a copy of the GNU General Public License along with this program.  If not, see 
<https://www.gnu.org/licenses/>.

<br />

[Christofanis Skordas](mailto:skordasc@uchicago.edu) - Last updated: 31-Mar-2023