semvec/pypi-packages huggingface dataset:
python-switch 1.0
Python Switch Like JavaScript Switch Statement
License: MIT
Keywords: switch,python js switch,python javascript switch,python switch

# Python Switch Like JavaScript Switch Statement

## Installing

Install and update using [pip](https://pip.pypa.io/en/stable/quickstart/):

```sh
pip install python-switch
```

### A Simple Examples

```Python
from python_switch import Switch

s = Switch({"d":lambda x:f"returns {x} (d)","default":lambda x: f"returns {x} (default)"})

print(s.get("d")(1))
```

Adding a case later.

```Python
from python_switch import Switch

s = Switch({"default":lambda x: f"returns {x} (default)"})

s.addCase("d",lambda x:f"returns {x} (d)")

print(s.get("d")(1))
```

Adding cases with the decorator.

```Python
from python_switch import Switch

s = Switch({"default":lambda x: f"returns {x} (default)"})

@s.case()
def d(x):
 return f"returns {x} (d)"

print(s.get("d")(1))
```
installerapp 0.9.3
Python module to build installer
License: MIT
Keywords: INSTALLER

# InstallerApp python module

InstallerApp is a module to make installers for your softwares.
```python
import installerapp
```

Simple example
```python
from installerapp.app import InstallerApp

# Initialization of the installer
YourInstallerApp = InstallerApp("YourFileURLToDownload")

# Run the installer
YourInstallerApp.run()
```

Here's some pictures of the installer.

![image](https://user-images.githubusercontent.com/69415374/119158062-19ef5080-ba56-11eb-82b0-ae06c84878f9.png)

![image](https://user-images.githubusercontent.com/69415374/119157940-fa582800-ba55-11eb-9147-7374062f6c59.png)

![image](https://user-images.githubusercontent.com/69415374/119157986-05ab5380-ba56-11eb-8e25-6c754244c739.png)

![image](https://user-images.githubusercontent.com/69415374/119158036-122fac00-ba56-11eb-89db-f46a7a8525a8.png)