semvec/pypi-packages huggingface dataset:
mosaic-benchmark 0.2.2
A package to create modular link streams used for testing dynamic community detection algoritms
License: MIT
Requires Python: >=3.8,<4.0
Keywords: Temporal networks,community detection,Graphs,Complex networks

Temporal networks offer valuable insights into dynamic complex systems, capturing the evolving nature of social, biological, and technological interactions. Community structure is a critical feature of real networks, revealing the internal organization of nodes. Dynamic community detection algorithms uncover strongly connected node groups, unveiling hidden temporal patterns and community dynamics in temporal networks. 

However, evaluating the performance of these algorithms remains a challenge. A well-established method is to use tests that rely on synthetic graphs. Yet, this approach does not suit temporal networks with instantaneous edges and continuous time domains, known as link streams. To address this gap, we propose a novel benchmark comprising predefined communities that simulate synthetic modular link streams. 


``mosaic-benchmark`` is a library for creating modular link streams for testing dynamic community detection algorithms in complex temporal networks: it creates communities, visualises them and exports the network to csv files.


## Citation
If you use our algorithm, please cite the following works:

> paper
## Dependencies

Mosaic is written in Python and requires the following package to run:

* python>=3.8

* Pandas

* tqdm

* Numpy

* Matplotlib

* itertools

## Tutorial
Check out the official [tutorial](https://yasasgari.github.io/Mosaic-benchmark/) to get started!
python-chianode 0.1.1
Python wrapper for Chia blockchain node APIs
License: MIT
Requires Python: >=3.7,<4.0
Keywords: Chia,blockchain,node,full node,wrapper,API

# About

Python-chianode is a Python wrapper for [Chia blockchain](https://www.chia.net) full node APIs.

The package supports the [official RPC API](https://docs.chia.net/full-node-rpc) for Chia nodes running on localhost, as well as the [Mojonode API](https://api.mojonode.com/docs). Calls are made asynchronously, and it is possible to receive streaming responses.

Mojonode provides advanced REST calls not available via the official RPC interface, blockchain data via SQL query, and an event stream for blockchain and mempool events. Note that Mojonode does not implement all official RPCs. The ```get_routes``` endpoint returns a list of available endpoints.

# Installation

To install python-chianode, run

```pip install python-chianode```

# Quick start

Import and instantiate the Chia node client in your Python file as follows

```
from chianode.mojoclient import MojoClient

node = MojoClient()
```

By default, both MojoClient and RpcClient connect to Mojonode. To connect to a local node only, do
```
from chianode.rpcclient import RpcClient
from chianode.constants import LOCALHOST

node = RpcClient(base_url=LOCALHOST)
```

To use Mojonode in conjunction with a local node, do
```
from chianode.mojoclient import MojoClient
from chianode.constants import LOCALHOST

node = MojoClient(base_url=LOCALHOST)
```

More detailed examples on how to use the wrapper can be found in ```example_rpc.py``` and ```example_events.py``` files.