Skip to main content

vCard validator, class and utility functions

Project description

vCard module

Python: 3.8-3.12 coverage report Code style: black Imports: isort pylint: passing shellcheck: passing Conventional Commits

This program can be used for strict validation and parsing of vCards. It currently supports vCard 3.0 (RFC 2426).

Installation

To install or upgrade in a virtualenv:

pip install --upgrade vcard

To use without installing:

nix-shell

See the nixpkgs index for instructions to install the command-line tool or the Python package.

Usage

See vcard --help.

Utilities

Development

Setup

git clone git@gitlab.com:engmark/vcard.git

Release

  1. Bump the version in vcard/version.txt
  2. Commit & push everything
  3. Create a new merge request
  4. Wait for the MR to be merged
  5. Update to latest master
  6. nix-shell --pure --run './clean.bash && ./distribute.bash && ./release.bash'

Requirements:

  • Nix

Contributing code

You can contribute either by submitting a merge requests or by email.

Security fixes should only be submitted via email, encrypted with the PGP key F1C5F63013E5DE2FB574D42ACE5EB38344D85DB6.

Email is also appropriate in some other cases:

  • If you don't want to create a GitLab account.
  • If you want to be anonymous. Make sure to be explicit about this! Contributing anonymously means the following:
    • You transfer copyright to me. Otherwise your contribution would make it impossible for future maintainers to ever change the license - they wouldn't know who to contact to ask for permission.
    • The commit message will make it clear that it was contributed anonymously, with an "Authored-by: Anonymous <>" line.
  • Email submissions must be in patch format, including a detailed commit message, so that it can be added to the repository without any changes, and without breaking the pipeline.

🚫 Other channels are not supported.

How open is this project?

Background

  • GitLab features:
    • All features enabled for this repository are publicly available
    • Project settings are private for security reasons
  • Commit history:
    • All commits on all branches are publicly visible
  • Issues:
    • Publicly visible
    • You need to be logged into GitLab to submit an issue or comment
    • Questions from non-users interested in the project are welcome
    • Expect answers within a few days
  • Pipelines:
  • Releases:
    • Hosted publicly
    • Old releases should be available indefinitely, but this is under PyPI's control, not mine
  • Work (past, current, and planned) is documented publicly within the project

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vcard-0.16.1-py2.py3-none-any.whl (29.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file vcard-0.16.1-py2.py3-none-any.whl.

File metadata

  • Download URL: vcard-0.16.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 29.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for vcard-0.16.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 757d3b19c179da10f947a8372d23f49ca9498eb4d9117c82e6ed39077a460f1e
MD5 ce9dffe9259a49331be5c229bc217279
BLAKE2b-256 ac877cd2d1995ab2b1655909147c6646e4900969613871c35680374ebca6dd8b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page