semvec/pypi-packages huggingface dataset:
cppparallelbufferedsort 0.10
parallel_buffered_sort from C++ for Python (Windows)
License: MIT
Keywords: parallel_buffered_sort,c++,numpy,sort


# parallel_buffered_sort from C++ for Python (Windows)

## pip install cppparallelbufferedsort

#### Microsoft Visual C++ Redistributable is necessary
https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170



```python
from cppparallelbufferedsort import parallel_buffered_sort
import numpy as np

a1 = np.random.randint(0, 2000000, 1000000)
a2 = parallel_buffered_sort(a1)
fl = a1 / 3
f2 = parallel_buffered_sort(fl)
# Out[6]:
# array([0.00000000e+00, 6.66666667e-01, 1.33333333e+00, ...,
#        6.66664333e+05, 6.66664667e+05, 6.66664667e+05])

# %timeit parallel_buffered_sort(fl)
# 18.4 ms ± 128 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)
# %timeit np.sort(fl)
# 61.5 ms ± 90.1 µs per loop (mean ± std. dev. of 7 runs, 10 loops each)



```
cppradixsort 0.10
parallel_radixsort from C++ for Python (Windows)
License: MIT
Keywords: parallel_radixsort,c++,numpy,sort


# parallel_radixsort from C++ for Python (Windows)

## pip install cppradixsort

#### Microsoft Visual C++ Redistributable is necessary
https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170



```python
from cppradixsort import parallel_radixsort

import numpy as np

a1 = np.random.randint(0, 2000000, 1000000)
a2 = parallel_radixsort(a1)

# a1
# Out[3]: array([ 173641, 1852805, 1959843, ..., 1094448,  430953, 1021449])
# a2
# Out[4]: array([      0,       0,      13, ..., 1999996, 1999996, 1999997])
# %timeit parallel_radixsort(a1)
# 4.96 ms ± 32.6 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)
# %timeit np.sort(a1,kind='stable')
# 63.8 ms ± 72.9 µs per loop (mean ± std. dev. of 7 runs, 10 loops each)


```
mkdocs-link-preview-plugin 0.4.1
A MkDocs plugin that supports external link preview
License: MIT
Requires Python: >=2.7
Keywords: mkdocs

# mkdocs-obsidian-support-plugin
---
Plugin for [mkdocs-material](https://squidfunk.github.io/mkdocs-material/) provide external link preview.

[![PyPI](https://img.shields.io/pypi/v/mkdocs-link-preview-plugin)](https://pypi.org/project/mkdocs-link-preview-plugin/)

```text
pip install beautifulsoup4
pip install mkdocs-link-preview-plugin
```

It requires beautifulsoup4 for crawling the open grapth protocol metadata.

## Usage
Activate the plugin in mkdocs.yml 
```yaml
plugins:
  - link-preview
  
extra_css:
  - path/to/link-preview.css
```

## Feature
It converts below codeblock syntax to preview-html based on [The Open Graph Protocol](https://ogp.me/).

````
```preview
https://github.com/ndy2/mkdocs-link-preview-plugin
```
````

rendered as

![image](https://user-images.githubusercontent.com/67302707/221235406-38958e37-2031-4f65-828f-ef41cfa2395a.png)

with default css configuration.

- super simple demo link - https://ndy2.github.io/mkdocs-link-preview-plugin/

### Inspired by
- https://github.com/dhamaniasad/obsidian-rich-links
cnxfastvector 0.2.0
short package description
License: MIT
Requires Python: >=3.7

# FastVector

![Python](https://img.shields.io/badge/python-3.7+-blue)
![License](https://camo.githubusercontent.com/890acbdcb87868b382af9a4b1fac507b9659d9bf/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)
[![Build](https://github.com/franneck94/Python-Project-Template-Eng/workflows/ci-test/badge.svg)](https://github.com/franneck94/Python-Project-Template-Eng/actions?query=workflow%3Aci-test)
[![codecov](https://codecov.io/gh/franneck94/Python-Project-Template-Eng/branch/master/graph/badge.svg)](https://codecov.io/gh/franneck94/Python-Project-Template-Eng)
[![Documentation](https://img.shields.io/badge/ref-Documentation-blue)](https://franneck94.github.io/Python-Project-Template-Eng/)

## Template For Python Projects

This is a template for Python projects. What you get:

- Source code and test code is seperated in different directories.
- External libraries installed and managed by [Pip](https://pypi.org/project/pip/).
- Setup for tests using [Pytest](https://docs.pytest.org/en/stable/).
- Continuous testing with [Github-Actions](https://github.com/features/actions/).
- Code coverage reports, including automatic upload to [Codecov](https://codecov.io).
- Code documentation with [Mkdocs](https://www.mkdocs.org/).
- Optional: Use of [VSCode](https://code.visualstudio.com/) with the Python and UnitTest extension.

## Structure

``` text
├── setup.py
├── setup.cfg
├── pyproject.toml
├── ... other config files ...
├── tests
│   ├── __init__.py
│   └── test_vector.py
├── docs
│   ├── api.md
│   └── index.md
├── fastvector
│   ├── __init__.py
│   ├── vector.py
│   └── version.py
└── tests
    ├── __init__.py
    └── test_vector.py
```

### Commands

```bash
# Build and Install (local)
pip install -e .
```

```bash
# Test
pytest tests
```

```bash
# Code Coverage
pytest --cov=fastvector tests --cov-report=html
```