semvec/pypi-packages huggingface dataset:
pypglib 0.0.3
PyPGLib: A Python Package for Easy Access to Power Grid Lib Benchmark
Requires Python: >=3.7.1

# PyPGLib

[![PyPI version](https://badge.fury.io/py/pypglib.svg)](https://pypi.org/project/pypglib/)

PyPGLib: A Python Package for Easy Access to Power Grid Lib Benchmark

Current Version: v0.0.2 (1 October 2024)

| Original Repository                                                   | Version in This Package                                                           |
| --------------------------------------------------------------------- | --------------------------------------------------------------------------------- |
| [pglib-opf](https://github.com/power-grid-lib/pglib-opf)              | [v23.07](https://github.com/power-grid-lib/pglib-opf/releases/tag/v23.07)         |
| [pglib-uc](https://github.com/power-grid-lib/pglib-uc)                | [v19.08](https://github.com/power-grid-lib/pglib-uc/releases/tag/v19.08)          |
| [pglib-opf-hvdc](https://github.com/power-grid-lib/pglib-opf-hvdc)    | [v23.09](https://github.com/power-grid-lib/pglib-opf-hvdc/releases/tag/v23.09)    |

## Installation

```shell
pip install pypglib
```

## Usage

Combined with [`matpower-pip`](https://github.com/yasirroni/matpower-pip):

```python
from matpower import start_instance
from pypglib import pglib_opf_case14_ieee


m = start_instance()
m.runpf(pglib_opf_case14_ieee)
```

To loop to all test files:

```python
import glob
import os

from pypglib import PATH_PYPGLIB


opf_dir = os.path.join(PATH_PYPGLIB, "opf")
for file_path in glob.glob(os.path.join(opf_dir, "**", "*.m"), recursive=True):
    print(file_path)
```

<!-- Combined with [`PyOPF`](https://github.com/seonho-park/PyOPF):

```python
import opf
from pypglib import pglib_opf_case14_ieee

model = opf.build_model('acopf')
network = opf.parse_file(pglib_opf_case14_ieee)
model.instantiate(network)
result = model.solve(solver_option={'print_level' : 5, 'linear_solver': 'ma27'}, tee=True)
``` -->
diffcolor 0.0.3
compare text and show the difference with color.
Keywords: color, diff, comapre

Compare text and show the difference with color.

Install
===============
```
 pip install diffcolor
```

Useage
===============
show the help
```bash
python -m diffcolor
```

After that, diffcolor will read data from STDIN.

For more help, you can use the "-h" option.

So, the following test command
```bash
echo "Hello World\nHello Worll" | python -m diffcolor
```
It will output the following, the last "l" is different:

![](https://temp-static-qn.inruan.com/sin-imgs/WX20241001-214247.png)

By default, diffcolor compare each character in each frame of the data. You can use the "-s" parameter to specify the delimiter, such as the space. This "-s" parameter can be used multiple times. 
For example, the following command will compare the data frame using the space.

```bash
echo "Hello World\nHello Worll" | python -m diffcolor -s " "
```

It will output the following, the last word "Worll" is different:

![](https://temp-static-qn.inruan.com/sin-imgs/WX20241001-214354.png)

By default, it splits data frames using line breaks(\n). But sometimes, we need a front end and a frame end to segment. We can use the "-b" parameter to specify the frame header and the "-e" parameter to specify the frame footer.

For example, the following command will splits the data frame begin with "[" and end with "]\n".

```bash
echo "[Hello World,\nI am Tom]\nThis is not a frame.\n[Hello Worll,\nI am Tim]" | python -m diffcolor -b="[" -e="]\n" -s=" "
```

It will output the following, the color of "This is not a frame." is gray, because it is not a frame:

![](https://temp-static-qn.inruan.com/sin-imgs/WX20241001-214500.png)

We can use the "-i" option to ignore the none frame data.

```bash
echo "[Hello World,\nI am Tom]\nThis is not a frame.\n[Hello Worll,\nI am Tim]" | python -m diffcolor -b="[" -e="]\n" -s=" " -i
```

It will output the following:

![](https://temp-static-qn.inruan.com/sin-imgs/WX20241001-214542.png)

We can use the "-f" option to handled output appended data as the file grows. This option is like "tail -f", often used to handle growing log files.

The colors define you can use "-v" option to show.

```bash
python -m diffcolor -v
```

![](https://temp-static-qn.inruan.com/sin-imgs/WX20241001-214628.png)

[Click to view more information!](https://github.com/sintrb/diffcolor)


CHANGES
===============
0.0.1

- first version
poki 1.0
An advanced tool to manage and kill processes on specific ports
Requires Python: >=3.6

# AG Port Killer

A comprehensive GUI and CLI tool to view, manage, and kill processes running on specific ports.

## Features

- View all processes using ports
- Kill processes by port number
- Favorites management
- Action history
- Auto-refresh option (GUI mode)
- Both GUI and CLI interfaces

## Installation

You can install this package using pip:

```
pip install ag-port-killer
```

## Usage

After installation, you can run the tool from the command line:

For CLI mode:
```
ag-port-killer
```

For GUI mode:
```
ag-port-killer --gui
```

Note: On Unix-like systems, you may need to run the tool with sudo privileges to kill processes:

```
sudo ag-port-killer
```

## License

This project is licensed under the MIT License.

## Author

Avni Gashi (avnig92@gmail.com)
https://github.com/avnigashi/
ag-port-killer 0.5
An advanced tool to manage and kill processes on specific ports
Requires Python: >=3.6

# AG Port Killer

A comprehensive GUI and CLI tool to view, manage, and kill processes running on specific ports.

## Features

- View all processes using ports
- Kill processes by port number
- Favorites management
- Action history
- Auto-refresh option (GUI mode)
- Both GUI and CLI interfaces

## Installation

You can install this package using pip:

```
pip install ag-port-killer
```

## Usage

After installation, you can run the tool from the command line:

For CLI mode:
```
ag-port-killer
```

For GUI mode:
```
ag-port-killer --gui
```

Note: On Unix-like systems, you may need to run the tool with sudo privileges to kill processes:

```
sudo ag-port-killer
```

## License

This project is licensed under the MIT License.

## Author

Avni Gashi (avnig92@gmail.com)
https://github.com/avnigashi/
mkdocs-strings-replacement 0.1.0
Mkdocs strings replacement.
Requires Python: >=3.8
Keywords: markdown, mkdocs, plugin, replacement

# mkdocs-strings-replacement

[![PyPI][pypi-version-badge-link]][pypi-link]
[![License][license-image]][license-link]

Mkdocs Markdown strings replacement plugin.

## Installation

```bash
pip install mkdocs-strings-replacement
```

## Documentation

### Setup

Enable the plugin in your `mkdocs.yml`:

```yaml
plugins:
  - mkdocs-strings-replacement:
      strings_replacements:
        - old_value: "This string will be replaced"
          new_value: "with this string"
```

Note:
- You can replace how many strings as you want. `strings_replacements` is an array of pairs of the `old_value`'s of the strings you want to replace with `new_value`'s of the strings you want to put there in exchange.
- If you add more then one `old_value` and `new_value` pairs then the replacement will occur from the top to the bottom of the pairs you have passed.
- Replacement will happen for any strings in the markdown, that is also for the content of your markdown file as well as in the titles.
- Replacement will happen before rendering your pages.

#### Example
```yaml
plugins:
  - mkdocs-strings-replacement:
      strings_replacements:
        - old_value: "[[_TOSP_]]"
          new_value: ""
        - old_value: "[[_TOC_]]"
          new_value: ""
```
In the given example:
- First your occurance of `[[_TOSP_]]` will be replaced with nothing, which will results in erasing `[[_TOSP_]]` from your pages.
- Then from the results `[[_TOC_]]` will be replaced with empty string as well.

## Development setup
To install the dependencies for the plugin, run:
```sh
pip install .
```

To set up the development environment, including dependencies for running tests, run:
```sh
pip install -e .[dev]
```

To run the tests, use:
```sh
pytest
```

[pypi-link]: https://pypi.org/project/mkdocs-strings-replacement
[pypi-version-badge-link]: https://img.shields.io/pypi/v/mkdocs-strings-replacement?logo=pypi&logoColor=white
[license-image]: https://img.shields.io/pypi/l/mkdocs-strings-replacement?color=light-green&logo=apache&logoColor=white
[license-link]: https://github.com/innersource-nn/midgard-mkdocs-plugins/blob/main/mkdocs-strings-replacement-plugin/LICENSE
spacy-vb-en-core-web-sm 3.8.0
Reupload of Spacy model to the PyPi index. English pipeline optimized for CPU. Components: tok2vec, tagger, parser, senter, ner, attribute_ruler, lemmatizer.
Requires Python: >=3.6

### Details: https://spacy.io/models/en#en_core_web_sm

English pipeline optimized for CPU. Components: tok2vec, tagger, parser, senter, ner, attribute_ruler, lemmatizer.

| Feature | Description |
| --- | --- |
| **Name** | `en_core_web_sm` |
| **Version** | `3.8.0` |
| **spaCy** | `>=3.7.5,<3.9.0` |
| **Default Pipeline** | `tok2vec`, `tagger`, `parser`, `attribute_ruler`, `lemmatizer`, `ner` |
| **Components** | `tok2vec`, `tagger`, `parser`, `senter`, `attribute_ruler`, `lemmatizer`, `ner` |
| **Vectors** | 0 keys, 0 unique vectors (0 dimensions) |
| **Sources** | [OntoNotes 5](https://catalog.ldc.upenn.edu/LDC2013T19) (Ralph Weischedel, Martha Palmer, Mitchell Marcus, Eduard Hovy, Sameer Pradhan, Lance Ramshaw, Nianwen Xue, Ann Taylor, Jeff Kaufman, Michelle Franchini, Mohammed El-Bachouti, Robert Belvin, Ann Houston)<br />[ClearNLP Constituent-to-Dependency Conversion](https://github.com/clir/clearnlp-guidelines/blob/master/md/components/dependency_conversion.md) (Emory University)<br />[WordNet 3.0](https://wordnet.princeton.edu/) (Princeton University) |
| **License** | `MIT` |
| **Author** | [Explosion](https://explosion.ai) |

### Label Scheme

<details>

<summary>View label scheme (113 labels for 3 components)</summary>

| Component | Labels |
| --- | --- |
| **`tagger`** | `$`, `''`, `,`, `-LRB-`, `-RRB-`, `.`, `:`, `ADD`, `AFX`, `CC`, `CD`, `DT`, `EX`, `FW`, `HYPH`, `IN`, `JJ`, `JJR`, `JJS`, `LS`, `MD`, `NFP`, `NN`, `NNP`, `NNPS`, `NNS`, `PDT`, `POS`, `PRP`, `PRP$`, `RB`, `RBR`, `RBS`, `RP`, `SYM`, `TO`, `UH`, `VB`, `VBD`, `VBG`, `VBN`, `VBP`, `VBZ`, `WDT`, `WP`, `WP$`, `WRB`, `XX`, `_SP`, ```` |
| **`parser`** | `ROOT`, `acl`, `acomp`, `advcl`, `advmod`, `agent`, `amod`, `appos`, `attr`, `aux`, `auxpass`, `case`, `cc`, `ccomp`, `compound`, `conj`, `csubj`, `csubjpass`, `dative`, `dep`, `det`, `dobj`, `expl`, `intj`, `mark`, `meta`, `neg`, `nmod`, `npadvmod`, `nsubj`, `nsubjpass`, `nummod`, `oprd`, `parataxis`, `pcomp`, `pobj`, `poss`, `preconj`, `predet`, `prep`, `prt`, `punct`, `quantmod`, `relcl`, `xcomp` |
| **`ner`** | `CARDINAL`, `DATE`, `EVENT`, `FAC`, `GPE`, `LANGUAGE`, `LAW`, `LOC`, `MONEY`, `NORP`, `ORDINAL`, `ORG`, `PERCENT`, `PERSON`, `PRODUCT`, `QUANTITY`, `TIME`, `WORK_OF_ART` |

</details>

### Accuracy

| Type | Score |
| --- | --- |
| `TOKEN_ACC` | 99.86 |
| `TOKEN_P` | 99.57 |
| `TOKEN_R` | 99.58 |
| `TOKEN_F` | 99.57 |
| `TAG_ACC` | 97.29 |
| `SENTS_P` | 92.01 |
| `SENTS_R` | 89.39 |
| `SENTS_F` | 90.68 |
| `DEP_UAS` | 91.77 |
| `DEP_LAS` | 89.92 |
| `ENTS_P` | 84.30 |
| `ENTS_R` | 84.36 |
| `ENTS_F` | 84.33 |
pyrdf-prefix 0.2.1
Easily access common RDF vocabularies and your own custom namespaces, for usage with pyoxigraph
Requires Python: >=3.10

# pyrdf-prefix

This project provides a `Prefix` utility and many predefined prefixes for many popular RDF vocabularies, like RDFS, SHACL, SKOS and OWL.
It returns `NamedNode`s to be used with [pyoxigraph].

[pyoxigraph]: https://github.com/oxigraph/oxigraph

## Usage

```py
from pyoxigraph import NamedNode
from pyrdf_prefix import Prefix

EX = Prefix('https://example.org/ns#')
assert EX.Sponge == NamedNode('https://example.org/ns#Sponge')
assert EX['Crusty-Crab'] == NamedNode('https://example.org/ns#Crusty-Crab')
```

It also predefines many well-known prefixes, like `rdf`, `skos`, `sh`:

```py
from pyrdf_prefix import RDF, SKOS, SH
from pyoxigraph import Quad

def describe():
    return Quad(EX.MyRestaurant, RDF.type, SKOS.Concept)
```