semvec/pypi-packages huggingface dataset:
PyPluginMgr 1.0.2
Python Plugin Manager.
License: MIT
Keywords: Plugin

# Py Plugin Manager

A slightly different take on a Python Plugin Manager for python 3.



## Introduction

- ###### What is a plugin?

  - Well, strictly, it's a component that adds a specific feature to a program.  But for Py Plugin Manager, this concept is a bit less strict.  
  - PPM allows any python file be loaded and reloaded dynamically.

- ###### How does PPM differ from other Plugin Managers?

  - Currently, no changes need to be made to the module or code you wish to import.
  - Unlike some other Plugin Managers, no configuration (aka .plugin) files need to be created.

- ###### Best Practices (so far)

  - Separate your plugins into a separate directly, so that they are not mixed in with your application code.
  - If your plugins require access to other modules that are not within the plugin directory, make sure that the sys.path is pointing to those directories so that your plugin's can successfully import those modules.



## What is Py Plugin Manager? 

PPM allows you to quickly load in a Python module, and be able to (reasonably) easily access variables, functions, constants, etc from those modules.

For example:

```python
    >>>import PyPluginMgr
    >>>test = PyPluginMgr.PlugInMgr(plugin_dir=r".\plugins", allow_creation=True, plug_ext=".py")
    >>>test.findcandidate_files()
```

At this point all the .py files in .\plugins will be loaded and placed in the plugin catalog.  At this point there are several ways to access the plugin contents:

1. Indirectly accessing the plugin name space (via get)
   ```python
   >>>test.get("pyfile1", "__email__")
   'Benjamin@Schollnick.net'
   >>>test.get("pyfile1", "test")("this is an example of calling a function via get")
   test,  this is an example of calling a function via get```

2. Directly access the plugin name space (via get_plugin)
   ```python
   >>>activeplugin = test.get_plugin("pyfile1")
   >>>activeplugin
   <module 'pyfile1.py' from '....\\PluginMgr\\plugins\\pyfile1.py'>
   >>>activeplugin.__name__
   'pyfile1.py'
   >>>activeplugin.test("hello from Test!")
   test,  hello from Test!
   ```
HashedKNN 1.0.0
Locality-sensitive hashing to implement K nearesr neighbors fast.
License: MIT
Keywords: Activity of Daily Living

# HasedKNN
LSH based KNN inspired from LSH Attention (Reformer: The Efficient Transformer)

## Last Stable Release
```sh
$ pip install hashedknn
```


## Usage example
From a jupyter notebook run
```python

import HashedKNN

# Fetch dataset
from sklearn.datasets import fetch_openml
X, y = fetch_openml('mnist_784', version=1, return_X_y=True)

# Run LSH based KNN
knn = HasedKNN(bucket_size=8, number_of_universes=20)

# Fit
knn.fit(X)

# Find ID's of 10 nearest neighbors
id = knn.find(vectorIdx=10, corpus=X, k=10)
```
limberframework 0.2.0
The core of the Limber Framework, a python web application framework built using FastAPI.
License: MIT
Requires Python: >=3.8,<=3.9.0
Keywords: python,fastapi

# README
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg)](CODEOFCONDUCT.md)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

> Note: This repository contains the core code of the Limber Framework. If you want to build an application using Limber, visit the main Limber repository.

Limber Framework is a web application framework with the goal of simplifying the development of web applications. It is based on the FastAPI framework and provides utilities to handle common tasks performed when developing web applications.

## Contributing
Thank you for considering contributing to the Limber Framework! The contribution guide can be found in the [here](CONTRIBUTING.md).

## Code of Conduct
To ensure that the Limber community is welcoming to all, please review and abide by the [Code of Conduct](CODEOFCONDUCT.md).

## License
The Limber Framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).