semvec/pypi-packages huggingface dataset:
winConnect 0.9.3
Communicate Client-Server via Windows NamedPipe.
License: MIT
Requires Python: >=3.10

# winConnect
Communicate Client-Server via Windows NamedPipe

## ToDo:

- [x] Add support for sending and receiving data (0.1.0)
- [x] Add support for safe closing (0.9.0)
- [x] Add support for other header settings (0.9.0)
- [x] Add logging (0.9.1)
- [x] Send data in chunks (if data is too large) (0.9.3)
- [x] Add support for encryption (0.9.2)
  - [x] simple (via char xor'ing; auto-pairing) (0.9.2)
  - [x] password (via AES and PBKDF2) (0.9.3)
  - [ ] certificate (via RSA)
- [ ] Add support for multiple clients


## Description

This is a simple client-server communication system for Windows. The client and server communicate via a named pipe. The client sends a message to the server, and the server responds with a message. The client and server can be run on the same machine or on different machines.

## Installation

To install the package, use the following command:

```bash

pip install winConnect

```

## Usage

You can find examples in the [examples](examples) directory.

### Server

The server is a daemon that listens for incoming messages from clients. The server can be run on the same machine as the client or on a different machine. To run the server, use the following command:

```python
from winConnect import WinConnectDaemon

connector = WinConnectDaemon('test')  # test - name of the pipe

for data in connector.listen():
    print(f"({type(data)}) {data=}")
    if data is None and connector.closed:
        break
    connector.send_data(data)
```

### Client

The client sends a message to the server and waits for a response. To run the client, use the following command:

```python
from winConnect import WinConnectClient

connector = WinConnectClient('test')

with connector as conn:
    while True:
        i = input(":> ")
        if i == "exit": break
        conn.send_data(i)
        print(conn.read_pipe())
```

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
chromy-cli 0.1.1
A simple CLI to create and manage Chrome extensions.
License: MIT
Requires Python: >=3.8

# chromy 

Chromy is a tool that allows you to make chrome extensions with ease. It manages the manifest.json and 
project creation completely for you. You can use it to create a completely new project or use it on an 
existent creation.


## Installing chromy

You can easily install chromy using pip:

```bash
pip install chromy-cli
```
<br>

## Using chromy
### Creating a new project

You can create a new project using the following command:

```bash
chromy init
```

This will create a new project in the current directory, you can `cd` in to any directory and run the command there.

### Using an existing project

You can use chromy on existing projects as well. It will automatically use the current directory you're running the command in. If you want to use 
another directory, run the command `set <directory>`.



### Adding locales to your extensions

You can add locales to your extensions using the following command:

```bash
chromy add locales
```

This will create a locales folder in the current directory and add the locales to the manifest.json file. You can then add your locales to the folder.
You can speed up the process by using:

```bash
chromy add lang <language>
```

Make sure <language> is a valid language code (e.g. en). You can find a list of valid language codes [here](https://developer.chrome.com/docs/extensions/reference/api/i18n#type-LanguageCode).


### Adding permissions
Adding permissions to your manifest.json is fairly straight forward.

```bash
chromy add permission <permission>
```