semvec/pypi-packages huggingface dataset:
sort-lines 0.3.0
alphabetize lines in files
License: MIT
Requires Python: >=3.9

# sort lines

Alphabetize lines in a file.

This tool uses leading whitespace to delimit the lines that should be alphabetized.
It is intended for use with Python code
but should work with anything that has consistent indentation.

## usage

Indicate that some lines should be alphabetized
by including a comment on the line above
(the comment must include `# pragma: alphabetize`).

```python
# names.py
names = [  # pragma: alphabetize
    'Alice',
    'Bob',
    'Charlie',
    'David',
    'Eve',
]
```

Run this tool on the file:

```shell
sort-lines names.py
```

Indentation will be used to decide which lines need to be sorted.
The first line after the `pragma` comment will set the indentation level
and every subsequent line with the same amount of indentation will be included in the sorting.
The first line with a different indentation(including blank lines) will indicate the end of the sorted lines.

Lines can be sorted case-insensitively by using the `[ci]` or `[case-insensitive]` options:

```python
# names.py
names = [  # pragma: alphabetize[case-insensitive]
    'Alice',
    'bob',
    'Charlie',
    'david',
    'Eve',
]
```

Or by passing `--case-insensitive` on the command line.

## pre-commit

This tool can be used with [pre-commit](https://pre-commit.com):

```yaml
repos:
-   repo: https://github.com/samueljsb/sort-lines
    rev: v0.3.0
    hooks:
    -   id: sort-lines
```
uecp 0.4.0
UECP encoder & decoder
License: MIT
Requires Python: <4.0,>=3.11
Keywords: UECP, RDS, Radio, FM

# python UECP implementation

[![PyPI](https://img.shields.io/pypi/v/uecp)](https://pypi.org/project/uecp/)
[![Tests](https://github.com/chrko/python-uecp/actions/workflows/tests.yml/badge.svg)](https://github.com/chrko/python-uecp/actions/workflows/tests.yml)
[![codecov](https://codecov.io/github/chrko/python-uecp/graph/badge.svg?token=3QWRMTOESE)](https://codecov.io/github/chrko/python-uecp)

This library aims to support UECP version 6.02. It will start with basic commands required to support our needs.
jessicalexander-sort 0.1.7
Package that includes multiple sorting method
License: MIT
Requires Python: >=3.8

# jessicalexander-sort

This package is an exercise pypi package that cobtains multiple sorting method

## In this README :point_down:

- [Features](#features)
- [Usage](#usage)       
  - [Installation](#installation)
  - [Initial setup](#initial-setup)
  - [Example Usage](#example-usage)
- [Contributing](#contributing)
- [License](#license)
- [Contact](#contact)

## Features
- Various sorting algorithms:
  - Bubble Sort
  - Quick Sort
  - Insertion Sort
- Can be used to sort a list of number in ascending format
- Suitable for educational purpose

## Usage

### Installation
You can install the package using pip:

```sh
pip install jessicalexander-sort
```
### Initial setup

1. Make sure you're running at least python 3 and above
2. Prepare the list of numbers you want to sort

### Example Usage
```python
arr = [5,6,7,13,44,67,22,11]

print(sort.bubble_sort.bubble_sort(arr)) #for bubble sort
print(sort.insertion_sort.insertion_sort(arr)) #for insertion sort
print(sort.quick_sort.quick_sort(arr)) #for quick sort
```
## Contributing

If you find a bug :bug:, please open an [issue](https://github.com/jessicalexander/siwp2005_jessicalexander_sort/issues).
If you have an idea for an improvement or new feature :rocket:, please open a [feature request](https://github.com/jessicalexander/siwp2005_jessicalexander_sort/issues).

## License
This project is licensed under the MIT License - see the [LICENSE](./LICENSE) file for details.

## Contact
f you have any questions or issues, please open an issue on the [GitHub repository](https://github.com/jessicalexander/siwp2005_jessicalexander_sort/issues) or contact me at [ssicalexander@gmail.com](ssicalexander@gmail.com).
spd3303c 1.0.0
Python API for SigLent SPD3303X/E/C power supplies.
License: MIT

[![PyPiVersion](https://img.shields.io/pypi/v/spd3303x.svg)](https://pypi.org/project/spd3303x)
[![Pytest](https://github.com/geissdoerfer/python-spd3303x/actions/workflows/python-tests.yml/badge.svg)](https://github.com/geissdoerfer/python-spd3303x/actions/workflows/python-tests.yml)
[![CodeStyle](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)


# Introduction
All Credit Goes to [geissdoerfer] This is a branch of their original work. I have added a few features to the original code.

Siglent SPD3303X/-E/C are programmable lab bench power supplies.
They can be accessed remotely via a VISA interface.

This package provides a python API for convenient remote programming of the Device via Ethernet/USB.
Currently, the module supports setting voltage and current limits, measuring voltage and current and enabling or disabling individual outputs.

The module also provides a CLI tool to conveniently control the power supply from the command line.

Also supports the very similar RS PRO RSPD3303X-E.

# Installation

The package is hosted on PyPI. Install it with

```
pip install spd3303c
```

or

```
pipenv install spd3303c
```

# Examples

To connect to a device that is connected to a LAN and accessible under IP `192.168.0.4`:

```python
with SPD3303X.ethernet_device("192.168.0.4") as dev:
    dev.CH1.set_voltage(8)
    dev.CH1.set_current(0.75)
    dev.CH1.set_output(True)
    print(dev.CH1.get_current())
    print(dev.CH1.get_voltage())
    print(dev.CH1.measure_voltage())
    print(dev.CH1.measure_current())
    dev.CH3.set_output(True)
```

To connect to a USB device:

```python
with SPD3303X.usb_device() as dev:
    dev.CH1.set_voltage(8)
    dev.CH1.set_current(0.75)
    dev.CH1.set_output(True)
    print(dev.CH1.get_current())
    print(dev.CH1.get_voltage())
    print(dev.CH1.measure_voltage())
    print(dev.CH1.measure_current())
    dev.CH3.set_output(True)
```

# CLI

To configure and enable channel 1 on an ethernet device under IP `192.168.0.4`:

```
spd-ctrl -d 192.168.0.4 set 1 --voltage 3.3 --current 0.5 --on
```

To configure channel 2 on a USB device:

```
spd-ctrl set 2 -v 5 -c 0.1
```

To disable (fixed) channel 3 on a USB device with verbose logging:

```
spd-ctrl -vvv set 3 --off
```

To list all available options try:

```
spd-ctrl --help
spd-ctrl set --help
```