semvec/pypi-packages huggingface dataset:
fdbk-mongodb-plugin 3.0.0
MongoDB plugin for fdbk
Requires Python: >=3.6

# fdbk_mongodb_plugin

[![Build Status](https://travis-ci.org/kangasta/fdbk_mongodb_plugin.svg?branch=master)](https://travis-ci.org/kangasta/fdbk_mongodb_plugin)

MongoDB wrapper for fdbk.

## Installation

Run:

```bash
pip install fdbk_mongodb_plugin
```

to install from [PyPI](https://pypi.org/project/fdbk_mongodb_plugin/) or download this repository and run

```bash
python setup.py install
```

to install from sources.

## Testing

Check and automatically fix formatting with:

```bash
pycodestyle fdbk_mongodb_plugin
autopep8 -aaar --in-place fdbk_mongodb_plugin
```

Run static analysis with:

```bash
pylint -E --enable=invalid-name,unused-import,useless-object-inheritance fdbk_mongodb_plugin
```

Run unit tests with command:

```bash
python3 -m unittest discover -s tst/
```

Get test coverage with commands:

```bash
coverage run --branch --source fdbk_mongodb_plugin/ -m unittest discover -s tst/
coverage report -m
```
masstransitpython 0.0.4
Python RabbitMQ client for MassTransit Communication

# Description
Python library to exchange messages between MassTransit RabbitMQ Client and Python application.

## Installation
Run the following to install:
```python
pip install masstransitpython
```

## Usage
Simple receiver/sender model was implemented to show basic package usage.

### Configuration
Default client configuration can be implemented as follows:
```python
from pika import PlainCredentials
from RabbitMQConfiguration import RabbitMQConfiguration

RABBITMQ_USERNAME = 'guest'
RABBITMQ_PASSWORD = 'guest'
RABBITMQ_HOST = 'localhost'
RABBITMQ_PORT = 5672
RABBITMQ_VIRTUAL_HOST = '/'

credentials = PlainCredentials(RABBITMQ_USERNAME, RABBITMQ_PASSWORD)
conf = RabbitMQConfiguration(credentials, 
                             queue='PythonServiceQueue', 
                             host=RABBITMQ_HOST, 
                             port=RABBITMQ_PORT,
                             virtual_host=RABBITMQ_VIRTUAL_HOST)
```

### Receiver
Receiver must have an appropriately defined exchange name: `[SOLUTION_NAME:DIRECTORY_NAME:MESSAGE_NAME]`
```python
from masstransitpython import RabbitMQReceiver
from json import loads

def handler(ch, method, properties, body):
    msg = loads(body.decode())
    print("Received message: %s" % msg["message"])

# define receiver
receiver = RabbitMQReceiver(conf, 'MassTransitService.Messages:SampleMessage')
receiver.add_on_message_callback(handler)
receiver.start_consuming()
```

### Sender
```python
from masstransitpython import RabbitMQSender
from json import loads

def send_message(body):
    '''
    :param body: Message received from MassTransit client
    :return: None
    '''
    with RabbitMQSender(conf) as sender:
        sender.set_exchange('MassTransitService.Messages:SampleMessage')

        encoded_msg = MessageEncoder().encode(SampleMessage("Hello World!"))
        response = sender.create_masstransit_response(loads(encoded_msg), body)
        sender.publish(message=response)
```

### Message
```python
from json import JSONEncoder


class SampleMessage:
    def __init__(self, name):
        self.name = name


class MessageEncoder(JSONEncoder):
    def default(self, o):
        return o.__dict__
```

## Other
Full example avaliable in https://github.com/byQ96/MassTransitPython/example
filesmall 0.0.0
Reachability of MPL systems using Tropical polyhedra
Requires Python: >=3.8

# Example Package

Reachability analysis of max-plus linear systems using the Tropical Polyhedra approach.
Tplib is a package under construction. We invite you to access 
[Guilherme E.Winck](http://perso-laris.univ-angers.fr/~winck/)
to get more details.

[Examples](http://perso-laris.univ-angers.fr/~winck/repo.html) using Jupyter Notebook files.

[Project](http://laris.univ-angers.fr/fr/activites-scientifiques/projets/projets-actuels/filesmall.html) in french.
calliope-mini-stubs 0.1.3
Provide stubs with documentation for MicroPython running on Calliope Mini
Requires Python: >=3.5

# CalliopeMini Stubs

Use this library to develop your python programs for the
[Calliope Mini](https://calliope.cc/)
using a state-of-the-art python IDE such as
[Visual Studio Code](https://code.visualstudio.com/)
on your computer.

This library only helps by providing documentation, type annotations and
function signatures.
It does not contain a simulator/emulator and it does not allow to transfer the
developed code to the Calliope Mini.

Make sure to install this only in a local virtual environment as some
libraries overwrite "system" libraries and thus make scripts that are not
intended to run on the Calliope Mini fail.


Please see
[the repository on GitHub](https://github.com/kopp/calliope-mini-stubs)
for how a simple step-by-step instruction how to use it.