Summary
person provides person informations :
firstname
surname / lastname
civility
arbitrary text description
a relation to an email address (NB, the EmailAddress entity is automatically provided by cubicweb).
If the addressbook cube is used, persons will also have phone and postal_address relations to store more contact information.
There is a special relation called ‘primary_email’. A person can be linked to multiple email addresses (using the ‘use_email’ relation). The primary email must be unique. At the creation of the first email, this relation is automatically added (though you can change it later, of course).
Recommends
addressbook cube
Usage
In addition of basic entity views, this cube provides :
- VCardPersonView, displays a person in the VCard file format
(.. _VCard on wikipedia: http://en.wikipedia.org/wiki/VCard) .
This view creates a file called vcard.vcf which can be open in your addressbook application (Kmail, Thunderbird and so on). In order to generate this file, you have to access to a specific view using an url address with ?vid=vcard suffix.
How to personalize the person primary view in order to add a link for the vcard ?
class PersonalizedPersonPrimaryView(PersonPrimaryView): def render_entity_attributes(self, entity): super(PersonalizedPersonPrimaryView, self).render_entity_attributes(entity) self.w(u'<div><a href="%s">export contact as vcard</a></div>' % entity.absolute_url(vid='vcard')) This view will not be selected by default. You have to registered this view or add a selector. For more information, please refer to XXX in the doc.
a civility facet, this facet (XXX: ref to facet doc) will be shown if a view displays a result set of at least two Person entities with different civilities.
Contributing
Information on how to contribute can be found here https://www.logilab.org/Card/contributing
Metadata
Release files for cubicweb-person 2.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cubicweb_person-2.1.0.tar.gz | 55.3 kB | Without provenance | Details for cubicweb_person-2.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cubicweb_person-2.1.0-py3-none-any.whl | Python 3 | none | any | Details for cubicweb_person-2.1.0-py3-none-any.whl |
Total release size: 109.3 kB
Release files / cubicweb_person-2.1.0.tar.gz
| Download URL | cubicweb_person-2.1.0.tar.gz |
|---|---|
| Size | 55.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
967536140dd8a96f5e4fe685d27313816020df8fd4e44efc45c1f46d1a297083
|
|
BLAKE2b-256 checksum How to use checksums |
039ea611f2f287766bd492c1f3623566b2091847b968f6cb8965b79694db511a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Release files / cubicweb_person-2.1.0-py3-none-any.whl
| Download URL | cubicweb_person-2.1.0-py3-none-any.whl |
|---|---|
| Size | 54.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6b7d8870f6b85859cf989010d9732710d1d82460bdb3d1ad8ba0195f608c1fa5
|
|
BLAKE2b-256 checksum How to use checksums |
fa9a4c0806c6b6ce552dd14903b2332a0e5cad8771db2cf6308ac4df7efcbc15
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Security for cubicweb-person 2.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.