semvec/pypi-packages huggingface dataset:
aiida-testing-dev 0.1.0.dev1
A pytest plugin for testing AiiDA plugins.
Requires Python: >=3.7
Keywords: AiiDA,testing,pytest,mock,cache

[![Build Status](https://github.com/aiidateam/aiida-testing/workflows/ci/badge.svg)](https://github.com/aiidateam/aiida-testing/actions)
[![Docs status](https://readthedocs.org/projects/aiida-testing/badge)](http://aiida-testing.readthedocs.io/)
[![PyPI version](https://badge.fury.io/py/aiida-testing.svg)](https://badge.fury.io/py/aiida-testing)
[![GitHub license](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/aiidateam/aiida-testing/blob/main/LICENSE)

# aiida-testing

A pytest plugin to simplify testing of AiiDA plugins. This package implements two ways of running an AiiDA calculation in tests:
- `mock_code`: Implements a caching layer at the level of the executable called by an AiiDA calculation. This tests the input generation and output parsing, which is useful when testing calculation and parser plugins.
- `export_cache`: Implements an automatic export / import of the AiiDA database, to enable AiiDA - level caching in tests. This circumvents the input generation / output parsing, making it suitable for testing higher-level workflows. 

For more information, see the [documentation](http://aiida-testing.readthedocs.io/).
TwiGram 1.2.0
Simple python package for download tweet from Twitter
Keywords: python,twitter


# TwiGram
Simple python package for download tweet from Twitter

## Install package
```console
pip install TwiGram
```

## Examples of How To Use 

Get tweet info

```python
from twigram import download

# Get tweet information from Twitter
download("https://twitter.com/i/status/1481722124855169028")
```


Get tweet info (show video size)

```python
from twigram import download

# Get tweet information from Twitter
download("https://twitter.com/i/status/1481722124855169028", show_size=True)
```
sparta-rabbit 0.0.8
Sparta rabbit library
Requires Python: >=3.9

# sparta-rabbit

Sparta rabbit library.

## Usage

```python
import sparta.rabbit

conn_provider = sparta.rabbit.RabbitMQConnectionProvider(
    host="localhost",
    username="guest",
    password="guest",
    connection_name="some-identifier",  # this allows to identify the connection in RabbitMQ dashboard
)

client = sparta.rabbit.RabbitMQClient(conn_provider)
await client.create_queue("hello")
await client.publish_to_queue("hello", "hi there")
await client.listen_to_queue("hello", lambda message: print(f"Received {message}"), timeout=10)
```