CFGraph
rdflib collections flattening graph
Decision gist · record as of 2026-08-14
No. The package is abandoned (last updated 2018-11-20) with no maintenance signal, high install friction from source-only distribution, and uncertain compatibility with modern Python versions. If you need RDF collection support, consider whether rdflib's native collection handling or an actively maintained alternative better serves your project's long-term stability requirements.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.6+ and rdflib; package is read-only and assumes well-formed RDF collections per RDF spec conventions.
- High install friction due to source-only distribution.
- The package is abandoned (last commit 2018-11-20, no releases in 2824 days), so expect no maintenance, bug fixes, or compatibility updates for modern Python versions beyond those it was tested against.
License · maintenance · safety
Apache 2.0 (permissive) — Licensed under Apache 2.0 (permissive), so you may use, modify, and distribute it freely in commercial and open-source projects, provided you retain the license notice.
last release 2018-11-20 (2824 days) · last repo commit 2018-11-20
0 known vulnerabilities (OSV.dev, 2026-08-14) · 148,342 downloads/mo, #11,039 on PyPI
Alternatives
Verify before relying
pip install CFGraph
from cfgraph import CFGraph
g = CFGraph()
g.parse('data.rdf')
# Access RDF collections as lists via the graph- Whether the package works with modern Python versions (3.8+) despite being tested only on 3.6–3.7.
- Exact nature of 'well-formed' collection validation and error handling for malformed input.
- Performance characteristics on large RDF graphs or deeply nested collections.
What it is and what it does
CFGraph is a specialized extension of rdflib's Graph class designed to flatten RDF collections into a more intuitive list representation. RDF uses a linked-list structure (with rdf:first and rdf:rest predicates) to represent ordered sequences, which can be cumbersome to navigate directly. CFGraph interprets these structures as Python lists, making it easier to work with collection data in RDF documents.
The package is read-only: it parses existing RDF collections but does not convert Python lists back into RDF collection syntax. It assumes collections follow standard RDF conventions for well-formedness (empty lists as rdf:nil, single elements with rdf:first/rdf:rest pairs, and blank nodes as subjects). The implementation was last updated in 2018 and is no longer maintained, so compatibility with recent Python or rdflib versions is uncertain.
Use it for
- Parse RDF documents containing ordered collections and access them as native Python lists.
- Simplify navigation of linked-list RDF structures in semantic web data processing pipelines.
- Read RDF collections from ontologies or knowledge graphs without manual rdf:first/rdf:rest traversal.
- Integrate RDF collection flattening into rdflib-based data extraction workflows.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is abandoned (last updated 2018-11-20) with no maintenance signal, high install friction from source-only distribution, and uncertain compatibility with modern Python versions. If you need RDF collection support, consider whether rdflib's native collection handling or an actively maintained alternative better serves your project's long-term stability requirements.
Install
cfgraph on PyPI
Before you install
High install friction due to source-only distribution. The package is abandoned (last commit 2018-11-20, no releases in 2824 days), so expect no maintenance, bug fixes, or compatibility updates for modern Python versions beyond those it was tested against.
Requires Python 3.6+ and rdflib; package is read-only and assumes well-formed RDF collections per RDF spec conventions.
License in practice
Licensed under Apache 2.0 (permissive), so you may use, modify, and distribute it freely in commercial and open-source projects, provided you retain the license notice.
Quickstart
pip install CFGraph
from cfgraph import CFGraph
g = CFGraph()
g.parse('data.rdf')
# Access RDF collections as lists via the graph
Verify before relying
- Whether the package works with modern Python versions (3.8+) despite being tested only on 3.6–3.7.
- Exact nature of 'well-formed' collection validation and error handling for malformed input.
- Performance characteristics on large RDF graphs or deeply nested collections.
Package facts
| License | Apache 2.0 permissive |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Abandoned 2,824 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 148,342 / month, #11,039 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaEnvironment :: ConsoleIntended Audience :: DevelopersProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.6Programming Language :: Python :: 3.7Topic :: Software Development :: Libraries |
Evidence: CFGraph-0.2.1.tar.gz
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “rdf collections flattening”
- CFGraphCFGraph extends rdflib's Graph to read RDF collections as flattened…
- PyShExPyShEx parses and validates RDF data against Shape Expressions (ShEx)…
- rdflibRDFLib is a Python library for parsing, querying, and serializing RDF…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also rdflib · sparqlslurper · rdflib-jsonld · owlrl · pyshacl · PyShEx · SPARQLWrapper · pyrdfa3 · html5rdf · pymantic