pymnet
pymnet: A Python Library for Multilayer Networks - Published in JOSS (2024)
Science Score: 95.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 6 DOI reference(s) in README and JOSS metadata -
✓Academic publication links
Links to: joss.theoj.org -
✓Committers with academic emails
1 of 10 committers (10.0%) from academic institutions -
○Institutional organization owner
-
✓JOSS paper metadata
Published in Journal of Open Source Software
Keywords
Repository
The original library for analyzing multilayer networks.
Basic Info
- Host: GitHub
- Owner: mnets
- License: gpl-3.0
- Language: Python
- Default Branch: master
- Homepage: https://mnets.github.io/pymnet/
- Size: 3.61 MB
Statistics
- Stars: 147
- Watchers: 6
- Forks: 27
- Open Issues: 11
- Releases: 0
Topics
Metadata Files
README.md
pymnet: A Python Library for Multilayer Networks
pymnet is a Python package for creating, analyzing, and visualizing multilayer networks as formalized by Kivelä et al. (2014).
It is designed for network scientists with an easy-to-use yet flexible interface, featuring, inter alia, representations of a very general class of multilayer networks, structural metrics of multilayer networks, and random multilayer-network models.
To learn more about the concepts and design principles underlying pymnet, check out this overview.
Features
- Written in pure Python
- Full support for general multilayer networks
- Efficient handling of multiplex networks (with automatically generated lazy evaluation of coupling edges)
- Extensive functionality –– analysis, transformations, reading and writing networks, network models, etc.
- Flexible multilayer-network visualization (using Matplotlib and D3)
- Integration with NetworkX for monoplex network analysis
Working with pymnet
Installation
We recommend executing the following command in a virtual environment:
console
$ python -m pip install pymnet
Usage
To get started with pymnet, check out our tutorials –– and when in doubt, consult the API reference contained in our documentation.
As an introductory example, with the following code, we can create a small multiplex network capturing different types of social relations between individuals and visualize the result:
```python import pymnet
netsocial = pymnet.MultiplexNetwork(couplings="categorical", fullyInterconnected=False) netsocial["Alice", "Bob", "Friends"] = 1 netsocial["Alice", "Carol", "Friends"] = 1 netsocial["Bob", "Carol", "Friends"] = 1 net_social["Alice", "Bob", "Married"] = 1
figsocial = pymnet.draw(netsocial, layout="circular", layerPadding=0.2, defaultLayerLabelLoc=(0.9,0.9)) ```
Contributing
We welcome contributions! Before you get started, please check out our contribution guide.
Asking Questions
- For bugs, feature requests, etc., please use GitHub issues.
- Otherwise, feel free to contact the main developer: Mikko Kivelä
Owner
- Name: mnets
- Login: mnets
- Kind: organization
- Repositories: 2
- Profile: https://github.com/mnets
JOSS Publication
pymnet: A Python Library for Multilayer Networks
Authors
Tags
multilayer network multiplex network network science attributed graphGitHub Events
Total
- Issues event: 1
- Watch event: 18
- Issue comment event: 1
- Fork event: 2
Last Year
- Issues event: 1
- Watch event: 18
- Issue comment event: 1
- Fork event: 2
Committers
Last synced: 5 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Mikko Kivelä | 6****a | 251 |
| Tarmo Nurmi | t****i@g****m | 160 |
| dataspider | c****e@g****m | 91 |
| Arash Badie-Modiri | a****m@g****m | 60 |
| Pietro Monticone | 3****e | 4 |
| Kivelä Mikko | m****a@t****i | 3 |
| Luiz Irber | l****r@g****m | 2 |
| alexguirre | a****a@g****m | 1 |
| DaminK | d****n@r****e | 1 |
| sala515 | s****n@w****m | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 4 months ago
All Time
- Total issues: 43
- Total pull requests: 10
- Average time to close issues: 4 months
- Average time to close pull requests: 2 months
- Total issue authors: 18
- Total pull request authors: 8
- Average comments per issue: 1.14
- Average comments per pull request: 0.2
- Merged pull requests: 8
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 6
- Pull requests: 1
- Average time to close issues: about 1 hour
- Average time to close pull requests: about 14 hours
- Issue authors: 4
- Pull request authors: 1
- Average comments per issue: 0.5
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- nwlandry (10)
- pitmonticone (8)
- ClaudMor (7)
- dataspider (4)
- debrisvector (1)
- rcyost (1)
- helmontzgen (1)
- LINQcode1 (1)
- colltoaction (1)
- chhyunch (1)
- ercco (1)
- Morri2676 (1)
- aviswaroop (1)
- lindayuanyuan (1)
- tfblanken (1)
Pull Request Authors
- pitmonticone (3)
- ercco (3)
- cloner174 (2)
- arashbm (2)
- sdall (2)
- danielskatz (2)
- DaminK (1)
- alexguirre (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 189 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 3
- Total maintainers: 2
pypi.org: pymnet
Multilayer network analysis library for Python
- Documentation: https://pymnet.readthedocs.io/
- License: GPLv3
-
Latest release: 1.0.0
published over 1 year ago
