Skip to main content

CFPQ_Data

https://github.com/FormalLanguageConstrainedPathQuerying/CFPQ_Data/actions/workflows/tests.yml/badge.svg?branch=master https://codecov.io/gh/FormalLanguageConstrainedPathQuerying/CFPQ_Data/branch/master/graph/badge.svg?token=6IAZM6KZT7 https://img.shields.io/pypi/v/cfpq-data.svg https://img.shields.io/pypi/pyversions/cfpq-data.svg https://img.shields.io/badge/code%20style-black-000000.svg https://img.shields.io/badge/License-Apache%202.0-blue.svg

CFPQ_Data is a Python package for the creation, manipulation, and study of the structure, dynamics, and functions of complex Graphs and Grammars used for experimental analysis of Context-Free Path Querying algorithms.

Installation

Install from PyPI with pip:

pip install cfpq-data

Requires Python 3.11–3.13; see the Install page for details.

What’s inside

CFPQ_Data bundles 113 labeled directed graphs across eight families — C alias analysis, RDF/OWL datasets, Java points-to, field-sensitive aliasing, context-sensitive data-flow, data provenance, name resolution (stack graphs), and biological graphs from UniProt — together with the context-free grammars used to query them. Each graph ships as a per-label MatrixMarket archive; see the Graphs page for statistics and download links.

Examples

Dataset content

>>> import cfpq_data
>>> cfpq_data.DATASET[:3]
['skos', 'wc', 'generations']

The full list of graphs, with statistics and download links, is on the Graphs page.

Load graph from Dataset

>>> bzip_path = cfpq_data.download("bzip")
>>> bzip = cfpq_data.graph_from_mtx_dir(bzip_path / "graph")

For developers

To work on CFPQ_Data itself, set up the development environment (Poetry):

poetry install --with dev,test,docs
poetry run pip install .

and run the main local checks that CI enforces — tests, style, and the docs build:

poetry run pytest --doctest-modules -vv -s cfpq_data tests
pre-commit run --all-files
poetry run make -C docs html

The full developer guide — development setup, pre-commit, the test pipeline, docs build and deployment, the package release process, and contribution guidelines — is on the Developer page.

How to add a new graph?

Just create

Citation

If you use CFPQ_Data in your work, please cite it — see the Citation section on the About page for BibTeX entries.

Licensing

The code (package source, documentation, and tooling) is licensed under Apache-2.0 (LICENSE.txt). The dataset (graphs, grammars, and benchmarks) is licensed under CC-BY 4.0 (LICENSE-DATA.txt).

Metadata

Release files for cfpq-data 5.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cfpq-data 5.0.0
File Size Uploaded
cfpq_data-5.0.0.tar.gz 39.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cfpq-data 5.0.0
File Interpreter ABI Platform
cfpq_data-5.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 94.7 kB

Release files / cfpq_data-5.0.0.tar.gz

Download URL cfpq_data-5.0.0.tar.gz
Size 39.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1e99e791f429814268bf88ba11383d663923a73dbb7ecb199a1a77c9d351c13f
BLAKE2b-256 checksum
How to use checksums
98344c60684db5bdcabe7554dcf3af304bc843e43c19aeb39537d47854d2aca9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.

Transparency log

Release files / cfpq_data-5.0.0-py3-none-any.whl

Download URL cfpq_data-5.0.0-py3-none-any.whl
Size 55.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f1569c8084c43115718903649710e6dc348f03b5e5c9dd748bed5f4b88e16850
BLAKE2b-256 checksum
How to use checksums
0bac1f3427bd3c8dd8c5dee39ee0c5b486e7f5faa1f6dc495fc640bdccead32e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

5.0.0 This release

2 release files

4.0.3

1 release file

4.0.2

1 release file

4.0.1

1 release file

4.0.0

1 release file

3.0.0

1 release file

2.0.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page