semvec/pypi-packages huggingface dataset:
wsgi_lithium 0.3.0
An HTTP to WSGI server that relies on Python's included batteries
Requires Python: >=3.7

# WSGI Lithium

*A lightweight and dumb HTTP to WSGI server that relies on Python's included
batteries.*

This WSGI server is intended to be used in Kubernetes-like environments, where
some component handle load-balancing, application crashing, loggin, etc.

## How to install

`pip install wsgi_lithium`

## How to use

WSGI Lithium **should** be used behind a reverse proxy.

`wsgi-lithium -b [::]:8000 module:app`

### How to set `SCRIPT_NAME` from the HTTP server

Simply configure your reverse proxy to set the `Virtual-Location` header to the
value you want in `SCRIPT_NAME`. You **might** have to rewrite the path with
said reverse proxy.

For example, if you serve an application on `/foo/bar`, where `/bar` is the sub
path, and `/foo` is the "virtual location", set the `Virtual-Location` header to
`/foo` and rewrite the path so it become `/bar`.
eric-chen-forward 0.0.12
Classifier for institution and scholar data
Requires Python: >=3.7

# eric_chen_forward

To train the model:
```python
from eric_chen_forward.model import Classifier

# alpha parameter used in data augmentation, 0.2 by default
model = Classifier(alpha=0.2)

# option 1
# text files of labels and paragraphs respectively, separated by newlines
# model_type is 'SVM' by default, you can use 'LR' for logistic regression
model.train(labels_file="labels_file_path", paragraphs_file="paragraphs_file_path", model_type='SVM')

# option 2
# csv file must have a 'label' column and 'paragraph' column only, and the column names are hardcoded
model.train(csv_file="csv_file_path", model_type='LR')
```

To use the saved model in code:
```python
with open('model_name.pkl', 'rb') as f:
    model = pickle.load(f)
```

To run the classifier demo:
```python
from eric_chen_forward import url_classifier_demo

API_KEY = [paste api key here]
SEARCH_ENGINE_ID = [paste search engine ID here]
url_classifier_demo.Demo('file path of model.pkl', API_KEY, SEARCH_ENGINE_ID, max_summary_length=100)
```
max_summary_length is set to 100 words by default.

Register an API Key and set up the Programmable Search Engine to be able to use the Google Custom Search API: https://developers.google.com/custom-search/v1/overview

After setting up, the Search engine ID can also be found in the control panel: https://programmablesearchengine.google.com/controlpanel/all
catchexception 0.1.2
With Python's try-except to receive notifications about Errors or Successes in your code through messenger app or email.
Requires Python: >=3.6
Keywords: Exception,Python,Python Exception Alarm,Error notifications,Customizable notifications,Traceback management,Single line alarm

Development Status :: Refactoring

# CatchException
```
pip install catchexception
```

```
pip install git+https://github.com/dsdanielpark/catchexception.git
```

> Nightly version of [Except Notifier](https://github.com/dsdanielpark/ExceptNotifier) for refactoring

In preparation for the beta release, the package architecture is overhauled. Test by refactoring with some extensibility open. <br>
Applies to [ExceptNotifier](https://github.com/dsdanielpark/ExceptNotifier) after QA.


# Remark
Refactoring was delayed for the following reasons:
- The functional implementation, documentation, and example writing for most applications were completed by a single developer([@dsdanielpark](https://github.com/dsdanielpark)) in just 7 days. 
- I also released all realted package([BardAPI](https://github.com/dsdanielpark/Bard-API)), sub-package([Co-Coder](https://github.com/dsdanielpark/Co-Coder)), and prompt engineering GitHub resources([Amazing-Bard-prompts](https://github.com/dsdanielpark/amazing-bard-prompts)) for implementing Google Bard into [ExceptNotifier](https://github.com/dsdanielpark/ExceptNotifier)  within 3 days. 
- Due to commitments to other live projects and competitions, I have limited time. 
- As time allows, I plan to refactor, conduct QA for each application, and distribute the package. 
- Once the package structure is finalized, I intend to recruit contributors for each application.
<br>