semvec/pypi-packages huggingface dataset:
email-to-soup 0.0.10
Email to HTML-Soup & Soup-Text
Requires Python: >=3.7
Keywords: html-soup,soup-text,email-to-soup,email-to-text

# email-to-soup
Convert Email to HTML-Soup &amp; Soup-Text

## Usage
```python
from email_to_soup import soupify_email

email = """ your email here
"""
soup_object = soupify_email(email)
print(soup_object.soup_text)
print(soup_object.html_body)
print(soup_object.html_soup)
```
linear-cli-ai 0.1.5
An ai based cli for interacting with linear.Use the power of AI to interface with your issue tracking system in natural language right from your terminal
Requires Python: ==3.8.10

# linear-cli-ai
An AI based CLI for the linear app
Use the power of AI to interface with your issue tracking system in natural language right from your terminal

# Installation

Installation of linear-cli-ai and its dependencies require ``python`` and ``pip``. To ensure smooth installation,
it's recommended to use:

- ``python``: 3.8.10 or greater
- ``pip``: 9.0.2 or greater

The safest way to install globally is to use

```

   $ python -m pip install linear-cli-ai

```

or for your user:

```

   $ python -m pip install --user linear-cli-ai

```

If you have the linear-cli-ai package installed and want to upgrade to the
latest version, you can run:

```

   $ python -m pip install --upgrade linear-cli-ai

```

# Configuration

Before using linear-cli-ai, you need to configure a few keys.
You can do this in several ways:

-  Configuration command
-  Environment variables
-  Config file

The quickest way to get started is to run the ``linear configure`` command:

```
$ linear configure
  Provide the following details : 
   Linear API Token : MY_LINEAR_TOKEN
   OpenAI API Key : MY_OPENAI_KEY
   Select the model you will use : gpt4 or gpt-3.5-turbo-0613

```

To use environment variables, do the following:

```

   $ export LINEAR_TOKEN=<linear_token>
   $ export GPT_MODEL=<gpt_model>
   $ export OPENAI_API_KEY=<openai_api_key>

```

To use a config file, create an INI formatted file like this:

```

  [linear]
  token = <linear_token>
  
  [gpt]
  token = <openai_api_key>
  model = <gpt_model>

```
and place it in ``~/.linear-cli-ai.ini`` (or in ``%UserProfile%\.linear-cli-ai.ini`` on Windows).

# Sample Usage

linear-cli-ai is available in the commandline with the command ``linear``

To view help documentation type :

```
$ linear help
```

To use ai to perform actions on linear:

```
$ linear ai
```

To create an issue via options on linear :

```
$ linear create-issue
```
### Sample ai prompt for creating an issue on linear
Create an issue with description 'Rewrite the print service with queue system'
and title as 'Print Service v2.0' and team as 'engineering' and assign it to 'Rohan'
and add labels 'bug' and 'high priority' and add it to project 'Print Service'
serialdevicehandler 1.0.1
A python library to run commands on a device via serial port
Keywords: python,library,serial device,serial interface,commands,execute

# Serial Device Handler
[![PyPi version][shields-pypi_version]][url-pypi_version]
[![Github Issues][shields-issues]][url-issues]

Execute commands on a device via serial port.


<br>


## Installing
Install using <a href="https://pip.pypa.io/en/stable/">pip</a>

```bash
pip install serialdevicehandler
```

or install it from <a href="https://pypi.org/project/serialdevicehandler/#files">PyPi</a>


<br>


## Example
```python
from serialdevicehandler import *

device = serialdevicehandler(port="COM10", baudrate="115200")

output = device.execute("help")

print(output)
```


<br>


## SerialDeviceHandler()
`SerialDeviceHandler()` is the core class within the library.

Syntax:

```python
device = SerialDeviceHandler(port, baudrate, timeout)
```

| argument | description | expected type | default value |
| :------- | :---------- | :------------ | :------------ |
| `port`      | Specifies the device port | `str` | COM1 |
| `baudrate`  | Specifies the device baudrate | `str` | 9600 |
| `timeout`   | Specifies the command timeout | `int` | 0.2s |

There are some attributes for statistical and other purposes.

| attribute | description | expected type | default value |
| :-------- | :---------- | :------------ | :------------ |
| `is_open`       | Indicates whether the serial port is open | `bool` | False |
| `eol_delimiter` | defines the end-of-line separator for line reading | `str` | \n |
| `total_rx`      | stores the total bytes received | `int` | 0 |
| `total_tx`      | stores the total bytes transmitted | `int` | 0 |


<br>


### SerialDeviceHandler.execute()
Use the `execute()` function to run a command.

Syntax:

```python
device.execute(command, <optional arguments>)
```

| argument | description | expected type | default value |
| :------- | :---------- | :------------ | :------------ |
| `command` | Defines the command to be executed | `str` | n/a |
| `stdout`  | Live output while the command is running | `bool` | False |
| `read_only` | read only execution | bool | False
| `write_only` | write only execution | bool | False


<br>


## Summary

- <a href="https://github.com/Salliii/conlay#serialdevicehandler">SerialDeviceHandler()</a>
  - <a href="https://github.com/Salliii/conlay#serialdevicehandlerexecute">_execute()_</a>




<!-- shields -->
[shields-pypi_version]: https://img.shields.io/pypi/v/serialdevicehandler?label=PyPi%20Version&style=for-the-badge
[shields-issues]: https://img.shields.io/github/issues/Salliii/serialdevicehandler?style=for-the-badge

<!-- url -->
[url-pypi_version]: https://pypi.org/project/serialdevicehandler/
[url-issues]: https://github.com/Salliii/serialdevicehandler/issues