semvec/pypi-packages huggingface dataset:
pubsub-az 0.1.2
Python SDK for Azure Web PubSub
Requires Python: >=3.10

# Azure Web PubSub

> Python SDK for Azure Web PubSub

## Disclaimer

Unless you need something decently simple (e.g. server-to-client one-way communication), I think Socket.IO may be a better option. Azure Web PubSub has a managed service for Socket.IO (read more [here](https://learn.microsoft.com/en-us/azure/azure-web-pubsub/socketio-overview)), or you can host your own server with [`python-socketio`](https://python-socketio.readthedocs.io/en/stable/)

## Installation

```bash
pip install pubsub-az
```

## Authorization

- `PUBSUB_CONN_STR` (Connection string in the portal)

### Environment (.env)

For convenience, you can set `os.environ["PUBSUB_CONN_STR"]` and can skip specifying it on every call.

E.g., create a `.env` file:

```bash
PUBSUB_CONN_STR="<PUBSUB_CONN_STR>"
```

Then load it before importing

```python
from dotenv import load_dotenv
load_dotenv()
import pubsub_az as pz

pz.service(hub='<hub>') # just works!
```

## CLI

Basic listener priting messages received. To install, run:

```bash
pip install pubsub-az[client]
```

Then, to execute from the terminal:

```bash
pubsub-client --user "<user-id>" --hub "<hub>" --groups "<g1>" "<g2>" # ...
```
scanet 0.1.11
The python package for the scanet platform.
Requires Python: >=3.6

# SCANet: A workflow for single-cell co-expression based analysis 


`SCANet`, a new python package that incorporates the inference of gene co-expression networks from single-cell gene expression data and a complete analysis of the identified modules through trait and cell type associations, hub genes detection, deciphering of co-regulatory signals in co-expression, and drug-gene interactions identification. This will likely accelerate network analysis pipelines and advance systems biology research.


## Installation

To install `SCANet`.
```console
pip install scanet
```
Finally, it should be possible to import drugstone to your python script.
````python
import scanet
````
You can use 
```python
import scanet as sn
```

`SCANet` officially supports Python 3.6+.

## Usage

A full detailed example of `SCANet` : Refer to this [Jupyter Notebook](https://github.com/oubounyt/SCAn/blob/main/docs/full-example.ipynb).


In this [Jupyter Notebook](https://github.com/oubounyt/SCAn/blob/main/docs/full-example.ipynb), we explored all aspects of gene coexpression networks (GCNs) using `SCANet` through a full analysis of the 3k PBMCs from 10x Genomics.