Metadata-Version: 2.4
Name: procedere-mq-sdk
Version: 0.1.0
Summary: Python SDK para LiteMQ/ProcedereMQ
Project-URL: Homepage, https://github.com/jeffersontadeuleite/procedereMQ
Project-URL: Repository, https://github.com/jeffersontadeuleite/procedereMQ
Project-URL: Issues, https://github.com/jeffersontadeuleite/procedereMQ/issues
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: requests>=2.31.0

# ProcedereMQ

Broker de filas leve com transporte HTTP/TCP e SDKs para Go e Python.

## SDK Go

Import:

```go
import "github.com/jeffersontadeuleite/procedereMQ/pkg/sdk"
```

Exemplo:

```go
client := sdk.NewClient("http://127.0.0.1:65090")
job, err := client.Dequeue(ctx, "emails")
if err != nil {
    return err
}
_ = client.Ack(ctx, job.ID)
```

## SDK Python

Instalação:

```bash
pip install procedere-mq-sdk
```

Exemplo:

```python
from python_sdk import LiteMQClient

client = LiteMQClient("http://127.0.0.1:65090")
job = client.dequeue("emails")
client.ack(job["id"])
```

## Publicação

### Go SDK

```bash
make publish-go-sdk VERSION=0.2.0
```

### Python SDK (PyPI)

```bash
make check-python-sdk
make publish-python-sdk TWINE_REPOSITORY=pypi
```
