semvec/pypi-packages huggingface dataset:
genologics-mock 1.0.6
Mock for the genologics package
Requires Python: >=3.6

# genologics_mock [![Coverage Status](https://coveralls.io/repos/github/Clinical-Genomics/genologics_mock/badge.svg?branch=master)](https://coveralls.io/github/Clinical-Genomics/genologics_mock?branch=master) [![Build Status](https://travis-ci.com/Clinical-Genomics/genologics_mock.svg?branch=master)](https://travis-ci.org/Clinical-Genomics/genologics_mock) ![Latest Release](https://img.shields.io/github/v/release/clinical-genomics/genologics_mock)


Mock for the [genologics](https://github.com/SciLifeLab/genologics) package. A python API for interacting with the Illumina Basespace Clarity LIMS server via its REST API.
kpn-dsh-mqtt-envelope 0.2.3
Envelope wrapper/unwrap for kpn-dsh-mqtt-envelopes
Requires Python: >=2.7

# kpn-dsh-mqtt-envelope

### Installation:

```
pip install kpn-dsh-mqtt-envelope
```

### Usage:

```py
...
# Import dsh_envelope
import dsh_envelope
...
# Deserialize the mqtt message from kafka consumer
(topic, message, tenant, publisher, publishertype, retain, qos, tracing) = dsh_envelope.unwrap(key, value)

# Serialize the mqtt fields into kafka producer
(key, value) = dsh_envelope.wrap(topic, message, tenant, publisher, publishertype, retain, qos, tracing)
```

where ```type(key)``` and ```type(value)``` are ```bytes``` as serialized/deserialized by DSH mqtt kafka bridge.

### Example:

For a ```kafka-python``` consumer:

```py
from kafka import KafkaConsumer, KafkaProducer

# Initiate consumer
consumer = KafkaConsumer(...)
# Subscribe to a stream with regex-pattern for <streamname>
consumer.subscribe(pattern='^stream\\.<streamname>\\.[^.]*')

for msg in consumer:
    (topic, message, tenant, publisher, publishertype, retain, qos, tracing) = dsh_envelope.unwrap(key, value)
```
will return serialized values of the fields:
```
topic: str
    mqtt topic suffix that the message is published to
message: bytes
    payload in bytes
tenant: str
    name of the tenant message is published from
publisher: str
    name of the publisher
publishertype: str
    type of the publisher
retain: bool
    if the message should be retained
    thus will be available in latest value store and through http-protocol-adapter
qos: int
    quality of service for mqtt
tracing: dict
    tracing span context in a python dictionary
```
wigner-d 1.0.0
compute Wigner D-function values
Requires Python: >=3.6

`wigner_d`
==========

Code to compute the Wigner D-function for a range of `l` values and fixed `m`
and angle, using the recurrence described in [`arXiv:1904.09973`].

Install the module with pip:

    $ pip install wigner_d

Compute a number of Wigner D-function values:

    >>> from wigner_d import wigner_d

    >>> # compute d^l_{22}(0.1) for l = 0, ..., 10
    >>> wigner_d(0, 10, 2, 2, 0.1)
    [0.0, 0.0, 0.995010, 0.980097, 0.960387, 0.936028,
    0.907200, 0.874118, 0.837028, 0.796206, 0.751952]

    >>> # compute D^l_{22}(0.1, 0.2, 0.3) for l = 0, ..., 10
    >>> wigner_d(0, 10, 2, 2, (0.1, 0.2, 0.3))
    [0j, 0j, (0.682+0.703j), (0.642+0.661j), (0.589+0.606j), (0.526+0.542j),
    (0.455+0.469j), (0.378+0.389j), (0.297+0.305j), (0.213+0.220j),
    (0.131+0.135j)]

Documentation:

    wigner_d(l0, l1, n, m, angle, /)
        Wigner D-function for range l = l0, ..., l1 and n, m, angle [rad] fixed.
    If a single angle is given, the Wigner (little) d-function is computed, and
    a list of real numbers is returned. If a tuple (phi, theta, gamma) of angles
    is given, the Wigner (big) D-function is computed, and a list of complex
    numbers is returned. The given rotation in matrix form is
    R_z(phi)*R_y(theta)*R_z(gamma).


[`arXiv:1904.09973`]: https://arxiv.org/abs/1904.09973
linuxvoice-pkg 0.0.1
A small package for downloading LINUXVOICE issues
Requires Python: >=3.6

<ins>__DOLLECT__</ins>

* collecting free magazine/journal from internet

<ins>__USAGE :__</ins>


* To download 32 free issues of LINUXVOICE
> python linuxvoice.py lv

* To select and download  1 free  issue 
> python linuxvoice.py lv \<issue number\>