A program for counting directed cliques in directed graphs, adapted from https://github.com/luetge/flagser.
pip install pyflagsercount # from PyPI (once published)
pip install . # from a local checkout
pip install git+https://github.com/JasonPSmith/flagser-count.gitPython ≥ 3.8. Source installs need a C++ compiler; CMake ≥ 3.15 is fetched automatically by the build frontend if not already present. Pre-built wheels are produced by CI for Linux x86_64, macOS arm64, macOS x86_64, and Windows x64 across CPython 3.9–3.13.
pip install -e .[test]
(cd test && python run_test.py)The test runner shells out to the standalone flagser-count binary, so build it first with make (see below) before running.
To build the C++ command-line binaries, clone the repo and run make:
git clone https://github.com/JasonPSmith/flagser-count.git
cd flagser-count
makeThis produces ./flagser-count and ./flagser-count-individ in the repo root. Requirements: a C++14 compiler with -pthread support (gcc ≥ 6.4 on Linux).
To verify the CLI:
(cd test && python run_test.py)See LICENSE.