Skip to main content

Tools for converting network data to pajek files

Project description

Pajek Tools

Tools for converting network data to pajek files.

Pajek is a file format for networks, typically stored in files with a .net extension. It is used as input for software such as Infomap.


Install from pypi:

pip install pajek_tools


Use the PajekWriter object:

from pajek_tools import PajekWriter
writer = PajekWriter(dataframe)


from pajek_tools import PajekWriter
import pandas as pd

df = pd.DataFrame([["a", "b"], ["a", "c"], ["c", "a"], ["c", "d"]], columns=["source", "target"])
writer = PajekWriter(df,


This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.


0.1.0 (2020-02-12)

  • First release on PyPI.

Project details

Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pajek-tools, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size pajek_tools-0.1.0-py2.py3-none-any.whl (8.7 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size pajek_tools-0.1.0.tar.gz (13.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page