semvec/pypi-packages huggingface dataset:
py-simple-launcher 0.0.1
Super simple dynamic, multi-profile launcher system
Requires Python: >=3.8

# py_simple_launcher 0.0.1<a name="mark0"></a>

***Super simple dynamic, multi-profile launcher system***

- [About](#mark1)
- [Installation](#mark2)
- [Changelog](#mark3)
	- [0.0.1](#mark4)

---

![py_simple_launcher](https://raw.githubusercontent.com/AndrewSpangler/py_simple_launcher/main/example.png)

## About<a name="mark1"></a>[^](#mark0)

Super simple dynamic, multi-profile launcher system written in python.

## Installation<a name="mark2"></a>[^](#mark0)

Available on pip - `pip install py_simple_launcher`

1. Windows only due to \*nix systems being inconsistent.
1. Install [Python 3.10+](https://www.python.org/downloads/) and make sure to include `IDLE, pip, tcl/tk, and check "Add python 3.* to PATH"`
1. Reboot your computer
1. Open a command prompt
1. Type the following command to install with pip: `pip install py_simple_launcher`
1. Create a folder where you want the application to run
1. Create a text file in the (In Explorer: "right-click->new->Text Document")
1. Rename that file to "py_simple_launcher.bat" (Without quotes)
1. Edit the batch file in notepad (or other plaintext editor) to contain the following text : `start pythonw.exe -m py_simple_launcher`
1. Double-Click the bat file to launch the program
1. You can make another folder + bat file to create a new instance of the program (Eg for a separate set tasks like work vs home etc.)
# Changelog<a name="mark3"></a>[^](#mark0)

## 0.0.1<a name="mark4"></a>[^](#mark3)

Push



Generated with [py_simple_readme](https://github.com/AndrewSpangler/py_simple_readme)
chromepilot 1.0.0
Chromedriver download manager and imports shortcuts.
Requires Python: >=3.8

# Chromepilot
### Chromedriver download manager and imports shortcuts

Description:  
Download, unzip in memory and manages chromedrivers.
Easily integrates with Selenium webdriver.

## Installation
~~~
> pip install chromepilot
~~~

## CLI
~~~
usage: chromepilot [-h]  ...

Chromedriver download manager and imports shortcuts.

positional arguments:
  
    search    Searches for installs of Google Chrome locally.
    check     Checks the version of Google Chrome and chromedrivers.
    upgrade   Download newer versions of chromedriver. 'upgrade -c' cleans after install.
    clear     Searches for outdated chromedrivers locally.
    write     Writes "pilot.toml" template on current directory

options:
  -h, --help  show this help message and exit

In your runtime, try:

from chromepilot import short
driver = short.driver()  # Easy access to pre-configured driver
~~~

## Runtime
~~~Python
>>> # After install whith `> chromepilot upgrade`
>>> from chromepilot import short
>>>
>>> driver = short.driver()
>>> driver.get('some/url')
>>> entity = driver.find_element(short.By.TAG_NAME, 'tag')
~~~

The _pilot.toml_ is a file where you define the config for your driver and
the imports shortcuts (your most used imports or those big, hard to remember Selenium imports).  
  
When you import `chromepilot.short` it will search for a 'global' _pilot.toml_  
in `~/.cache/chromepilot` in Linux and `%LOCALAPPDATA%\chromepilot` in Windows.  
This file will be readden wherever you import `chromepilot.short`.  
  
The settings for the global _pilot.toml_ will be overwritten by a 'local' one,  
that is, the _pilot.toml_ in the same directory as your `main.py`.  
  
Just do a `chromepilot write` to see how the _pilot.toml_ looks like.  
  

## Moreover
~~~Python
>>> short.global_toml  # Has chromepilot parsed my global pilot.toml?
True

>>> short.local_toml  # Has chromepilot parsed my local pilot.toml?
True

>>> short.parsed_options  # dict containing the values passed to driver constructor
{'service': {...}, ...}

>>> driver = short.driver(use_toml=False)  # Don't use toml
~~~

p.s: There's no dependencies for the CLI usage.
     If your Python version is below 3.11 you will need the `tomlkit` package to use `chromepilot.short`.
     Selenium is a dependency if you want `short.driver()`
abc-classification 0.8
A package for ABC classification

# ABC classification library
ABC classification is an inventory categorisation technique. A typical example of ABC classification is the segmentation of products (entity) based on sales (value). The best-selling products that contribute to up to 70% of the total sales belong to cluster A. The products making up the next 20% of sales are in cluster B, whereas the products representing the last 10% of sales, belong to class C. Hence, the pattern is named after the three clusters (ABC).

## Example
Installation
```
pip install abc-classification
```
Import 
```
from abc_classification.abc_classifier import ABCClassifier
```
Let's say we have dataframe 

| product      | total sold |
|--------------|------------|
| fade cream   | 	27000     |
| 	powders	    | 24000      |
| 	shadows	    | 18000      |
| 	mascara	    | 16000      |
| 	lipstick	   | 6000       |
| 	concealer	  | 5000       |
| 	sculptors 	 | 4000       |

You can create ABCClasifier object, pass your dataframe 
to it and call classify method.

```
abc_clf = ABCClassifier(df)
abc_df = abc_clf.classify('product', 'total sold')
```

This way you'll get new dataframe with classified products.

| product      | total sold | class |
|--------------|------------|-------|
| fade cream   | 	27000     | A     |
| 	powders	    | 24000      | A     |
| 	shadows	    | 18000      | A     |
| 	mascara	    | 16000      | B     |
| 	lipstick	   | 6000       | B     |
| 	concealer	  | 5000       | C     |
| 	sculptors 	 | 4000       | C     |

You also can use brief_abc method to get aggregated information
```
abc_clf.brief_abc(abc_df)
```
| class | total sold |
|-------|------------|
| A     | 69000      |
| B     | 16000      |
| C     | 15000      |

You can plot pareto chart.
```
from abc_classification.abc_visualiser import pareto_chart


pareto_chart(abc_df, 'total_sold', 'product')
```
![Pareto chart](images/pareto_chart.png)