Metadata-Version: 2.4
Name: pycommunicator
Version: 0.1.0
Summary: PyPackage to Communicate between Concurrent Instances of Python
Author: Siddharth
License: MIT
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Dynamic: author
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: license
Dynamic: requires-python
Dynamic: summary

# PyCommunicator

Inter-process communication library using file-based message passing.

A lightweight, pure-Python library for communicating between Python processes using JSON files stored in the local application data directory. Supports request-response patterns with configurable timeouts and automatic heartbeat monitoring.

## Installation

```bash
pip install Communicator
```

## Features

- File-based inter-process communication (IPC)
- Request-response pattern with timeouts
- Automatic heartbeat monitoring
- No external dependencies
- Windows-compatible

## Usage

```python
from Communicator import Communicator

# Create a communicator instance
comm = Communicator()

# Fetch data from another process
result = comm.fetch(target_uid, "query_data")

# Send response
comm.send(result_id, "response_data")

# Check if process is alive
is_alive = comm.isAlive(target_uid)
```

## License

MIT

