Registry / cms / products-cmfcore

products-cmfcore

JSON →
library3.9pypypi✓ verified 80d ago

Products.CMFCore is the core package of the Zope Content Management Framework (CMF), providing fundamental components like portal tools, actions, and member data. Current version is 3.9, requiring Python >= 3.10. Release cadence is irregular, tied to Zope's maintenance cycle.

pip install products-cmfcore
INSTALL
IMPORT
SIG · PRODUCTS-CMFCORE
P
products-cmfcore
cmspythonv3.9
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CMFCore
import Products.CMFCore
from Products.CMFCore import CMFCore

Standard usage within a Zope environment: obtain the portal object and use getToolByName to access a CMF tool.

from Products.CMFCore.utils import getToolByName # In a Zope page template or script: portal = context.portal_url.getPortalObject() tool = getToolByName(portal, 'portal_membership') print(tool.getMemberAreaContentList('some_member_id'))
Debug
Known issues
breakingProducts.CMFCore 3.x drops support for Python 2.7 and Zope 2.12. Existing code using Python 2 must be migrated.
fix
Port code to Python 3.10+ and ensure Zope 4+ or 5.
affects: >=3.0
deprecatedThe class 'MembershipTool' is deprecated in favor of 'portal_membership' tool access pattern.
fix
Use getToolByName(portal, 'portal_membership') instead of importing MembershipTool directly.
affects: >=3.0
gotchaDo not import from 'CMFCore' directly; always prefix with 'Products.' to avoid module conflicts in Zope's namespace.
fix
Use fully qualified imports: from Products.CMFCore import ...
affects: all
Upgrade
Version history
3.9latest on PyPI · released Mar 23, 2026
Audit
Dependencies
ZoperequiredCMFCore requires a running Zope application server
AcquisitionrequiredFor acquisition-aware base classes
Products.BTreeFolder2optionalUsed for folder structures in CMF
Agent activity
34 hits · last 30 days
node
28
Resources
products-cmfcore — pip install products-cmfcore · libregistry