Skip to main content

Summary

The comment cube provides threadable comments feature.

It is a CubicWeb component. CubicWeb is a semantic web application framework, see http://www.cubicweb.org

Install

Auto-install from sources prefered with pip/Distribute:

pip install cubicweb-comment

If you have troubles, use easy_install/setuptools and eggs:

easy_install cubicweb-comment

You can install the package manually from the uncompressed tarball:

python setup.py install # auto-install dependencies

If you don’t want the dependancies to be installed automaticly, you can force the setup to use the standard library distutils:

NO_SETUPTOOLS=1 python setup.py install

More details at http://www.cubicweb.org/doc/en/admin/setup

Usage

This cube creates a new entity type called Comment which could basically be read by every body but only added by application’s users. It also defines a relation comments which provides the ability to add a Comment which comments a Comment.

To use this cube, you want to add the relation comments on the entity type you want to be able to comment. For instance, let’s say your cube defines a schema for a blog. You want all the blog entries to be commentable. Here is how to define it in your schema:

from yams.buildobjs import RelationDefinition
class comments(RelationDefinition):
    subject = 'Comment'
    object = 'BlogEntry'
    cardinality = '1*'

Once this relation is defined, you can post comments and view threadable comments automatically on blog entry’s primary view.

Documentation

Look in the doc/ subdirectory or read http://www.cubicweb.org/doc/en/

Metadata

Release files for cubicweb-comment 3.1.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 cubicweb-comment 3.1.0
File Size Uploaded Provenance Actions
cubicweb_comment-3.1.0.tar.gz 63.1 kB Without provenance Details for cubicweb_comment-3.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cubicweb-comment 3.1.0
File Interpreter ABI Platform Actions
cubicweb_comment-3.1.0-py3-none-any.whl Python 3 none any Details for cubicweb_comment-3.1.0-py3-none-any.whl

Total release size: 123.9 kB

Release files / cubicweb_comment-3.1.0.tar.gz

Download URL cubicweb_comment-3.1.0.tar.gz
Size 63.1 kB
Tags Source
SHA-256 checksum
How to use checksums
173362a04f62133af9e892bcfc9f8b2a94ee71e989bad1cf11c71ad1ee03940b
BLAKE2b-256 checksum
How to use checksums
4a65c260a4cb63f27e01f1b021dccd62b20f3b430cd6175c8adc56cb86ffda7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release files / cubicweb_comment-3.1.0-py3-none-any.whl

Download URL cubicweb_comment-3.1.0-py3-none-any.whl
Size 60.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
64d6aa535edf0a89ee608d3b2532acc3412edc57e725b1f3b0c8f41cbfcfce66
BLAKE2b-256 checksum
How to use checksums
05b8a2628edd46eb9a19c932406de19bd68655896cc5b1c86e86ba8d175c7ad0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Security for cubicweb-comment 3.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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