semvec/pypi-packages huggingface dataset:
testing.rabbitmq 1.0.2
automatically setups a rabbitmq server instance for use in tests
License: Apache License 2.0

About
=====
``testing.rabbitmq`` automatically setups a rabbitmq instance, and destroys it after testing.

.. image:: https://travis-ci.org/tristan/testing.rabbitmq.svg?branch=master
   :target: https://travis-ci.org/tristan/testing.rabbitmq

.. image:: https://coveralls.io/repos/tristan/testing.rabbitmq/badge.png?branch=master
   :target: https://coveralls.io/r/tristan/testing.rabbitmq?branch=master

.. image:: https://codeclimate.com/github/tristan/testing.rabbitmq/badges/gpa.svg
   :target: https://codeclimate.com/github/tristan/testing.rabbitmq


Documentation
  https://github.com/tristan/testing.rabbitmq
Issues
  https://github.com/tristan/testing.rabbitmq/issues
Download
  https://pypi.python.org/pypi/testing.rabbitmq

Install
=======
Use pip::

   $ pip install testing.rabbitmq

And ``testing.rabbitmq`` requires ``rabbitmq-server`` and ``rabbitmqctl`` at ``/usr/lib/rabbitmq/bin``. If rabbitmq is installed at a different path set ``rabbitmq_script_dir`` when creating the ``RabbitMQServer`` instance.


Usage
=====
Create RabbitMQServer instance using ``testing.rabbitmq.RabbitMQServer``::

  import testing.rabbitmq
  import pika

  # Lanuch new RabbitMQ server
  with testing.rabbitmq.RabbitMQServer() as rmq:
      connection = pika.BlockingConnection(
          pika.ConnectionParameters(**rmq.dsn()))
      channel = connection.channel()
      channel.basic_publish(exchange='',
                            routing_key='test',
                            body=b'Test message.')
      connection.close()

  # Rabbitmq server is terminated here


Requirements
============
* Python 2.7, 3.4, 3.5, 3.6

License
=======
Apache License 2.0


History
=======

1.0.0 (2019-08-19)
-------------------
* First release

1.0.1 (2020-01-31)
-------------------
* Update runner script header to fix issues running on macOS

1.0.2 (2021-06-15)
-------------------
*  Fix log string formatting in `_terminate_process()`
antchain-ent 1.4.17
Ant Chain ENT SDK Library for Python
License: Apache License 2.0
Requires Python: >=3.6
Keywords: antchain,ent

English | [简体中文](README-CN.md)

## Ant Chain ENT SDK for Python

## Requirements

- Python >= 3.6

## Installation

- **Install with pip**

Python SDK uses a common package management tool named `pip`. If pip is not installed, see the [pip user guide](https://pip.pypa.io/en/stable/installing/ "pip User Guide") to install pip.

```bash
# Install the antchain_sdk_ent
pip install antchain_sdk_ent
```

## Issues

[Opening an Issue](https://github.com/alipay/antchain-openapi-prod-sdk/issues/new), Issues not conforming to the guidelines may be closed immediately.

## Usage

[Quick Examples](https://github.com/alipay/antchain-openapi-prod-sdk)

## Changelog

Detailed changes for each release are documented in the [release notes](./ChangeLog.md).

## References

- [Latest Release](https://github.com/alipay/antchain-openapi-prod-sdk/tree/master/python)

## License

[Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0)

Copyright (c) 2009-present, Alibaba Cloud All rights reserved.