semvec/pypi-packages huggingface dataset:
sparx-lib 1.0.1
Sparx Implementation

# SpArX: Sparse Argumentative eXplanations for Neural Networks

![CI](https://github.com/SpArX-Group-10/SpArX/actions/workflows/pylint.yml/badge.svg)

## Packages:

The python version is 3.10.0.

# Getting started

1.  Clone repo from: [https://github.com/SpArX-Group-10/SpArX](https://github.com/SpArX-Group-10/SpArX)

    ```bash
    git clone https://github.com/SpArX-Group-10/SpArX
    ```

2.  Install requirements:

    ```bash
    pip install -r requirements.txt
    ```

# Example

```python
from keras.models import Sequential
from keras.layers import Dense
import numpy as np

from sparx import FFNN, KMeansClusterer, LocalMerger, BokehVisualizer


# shrink to a decimal percentage
SHRINK_TO_PERCENTAGE = 0.5

shape = (4, 6, 6, 3)

model = Sequential([
    Dense(shape[1], activation='relu', input_shape=(shape[0],)),
    Dense(shape[2], activation='relu'),
    Dense(shape[3], activation='relu'),
])


weights = [layer.get_weights()[0] for layer in model.layers]
bias = [layer.get_weights()[1] for layer in model.layers]


model.compile(optimizer='adam', loss='categorical_crossentropy', metrics=['accuracy'])


activations = ["relu"] * 3
restored_model = FFNN(shape, weights, bias, activations)


# forward pass a [10 x 4] matrix, two data points with 4 features
np.random.seed(42)
dataset = np.random.rand(10, 4)
restored_model.forward_pass(dataset)


# cluster into 2 clusters
cluster_labels = KMeansClusterer.cluster(restored_model, SHRINK_TO_PERCENTAGE)

# merge clusters
merged_model = LocalMerger.merge(restored_model, cluster_labels)
restored_model.model.summary()
merged_model.model.summary()

# Bokeh Visualizer - to visualise neural networks locally
BokehVisualizer.visualise(merged_model)
```
evpn 1.0.3
ExpressVPN python native API
Requires Python: >=3.7

# Evpn
ExpressVPN python native API

Control [express VPN](https://www.expressvpn.com/vpn-software) on your machine using [Native messaging](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Native_messaging) protocol.

##### Setup
```shell
pip3 install -U evpn
```

##### Basic Usage
```python
from evpn import ExpressVpnApi
import random

with ExpressVpnApi() as api:
    locations = api.locations # get available locations
    loc = random.choice(locations)
    api.connect(loc["id"])
```

##### Examples
[random_location.py](https://github.com/thewh1teagle/Evpn/blob/main/examples/random_location.py)

##### About
- This library is Cross Platform (*Windows*, *Linux*, *MacOS* are supported)
- It talking to expressVPN daemon using native message protocol.

##### Development
1. Install dependencies
`pip3 install .`
2. Install dev dependencies
`pip3 install .[dev]`
3. Lint it
`pylint --rcfile=.pylintrc --recursive=y .`
4. Test your changes
`python3 -m pytest .`
5. Make new PR 🚀

##### Contributing
Every contribution is welcome. If you want to contribute but are unsure where to start, any open issues are fair game!
formatfuncs-Captain-William 0.1.2
Functions to format strings
Requires Python: >=3.8

# CAPTAIN WILLIAM'S FORMAT FUNC's

This is a collection of functions used to format string files. 
Current Functions: 
* string_format
* copy_write_maker
* push

string_format and copy_write_maker are both built around recieving 
strings without tabs or linebreaks, as from .JSON files or csv files 
and breaking them up to shape paragraphs. 

string_format and copy_write_maker can both make paragraphs. 

The difference between the two is that 
paragraph_maker adds linebreaks after every sentance, and
string_format adds linebreaks roughly at the the end of every nth 
character specified by the length parameter. 

push works in much the same way but is used for string data that is smaller, where the string_format function may
produce an index error.

This works well for GUI applications where you may have issues
where the text runs off the page. 

## How to Install:
`pip install formatfuncs-Captain-William`

### ⚠ Note: 
If you're using small strings or require short width I recommend using the push function included. 
It produces similar outputs, but as of 0.1.1 either produces a space after every line like the copywrite function, 
or no spaces at all.
## Examples of modified outputs

**Long ass sentance input**
<img src="https://github.com/The-Captain-William/FormatFuncs/blob/main/examples/long%20ass%20sentance.JPG?raw=true" width="1000" height= "45" />

**Paragraph Style with String_Format**

![](https://github.com/The-Captain-William/FormatFuncs/blob/main/examples/paragraph%20style.JPG?raw=true)

**Formatted without Spaces**

![](https://github.com/The-Captain-William/FormatFuncs/blob/main/examples/length%20formatted.JPG?raw=true)

**Copywrite Style Text**

![](https://github.com/The-Captain-William/FormatFuncs/blob/main/examples/copy-write%20style.JPG?raw=true)
pyconl 0.4.4
Civiel Technisch ontwerpen in Python.

# pyco

[https://pyco.nl](https://pyco.nl)

Civiel Technisch ontwerpen in Python.

Jara van Veldhoven 2020-2023.

## Installatie

De pyco bibliotheek is afhankelijk van onderstaande externe bibliotheken:

* numpy (https://numpy.org)
* pandas (https://pandas.pydata.org/) 
* matplotlib (https://matplotlib.org/) 
* IPython (https://ipython.org/)

Je kan de pyco.nl bibliotheek installeren vanuit PyPi met `pip`.

    pip install pyconl

## Documenten

[pyco handleiding](https://github.com/ornor/pyco/blob/master/docs/handleiding/pyco_handleiding.md).