semvec/pypi-packages huggingface dataset:
django-constant-contact 1.5
Django package for creating email marketing campaigns in Constant Contact

|Build Status| |Coverage Status|

django-constant-contact
=======================

Django package for creating email marketing campaigns in Constant
Contact.

Inlines CSS into HTML before sending to Constant Contact.

Installation
------------

Using pip:

.. code:: bash

    pip install django-constant-contact

Settings
--------

The following variables should be set in your settings.py:

.. code:: bash

    CONSTANT_CONTACT_API_KEY
    CONSTANT_CONTACT_ACCESS_TOKEN
    CONSTANT_CONTACT_FROM_EMAIL
    CONSTANT_CONTACT_REPLY_TO_EMAIL
    CONSTANT_CONTACT_USERNAME
    CONSTANT_CONTACT_PASSWORD

``CONSTANT_CONTACT_API_KEY`` is assigned by Constant Contact when you
register your application. (You need to register as a Constant Contact
developer.)

``CONSTANT_CONTACT_ACCESS_TOKEN`` is the access token granted to your
application by a Constant Contact user. This is the User who will own
the uploaded Constant Contact email marketing campaigns.

Usage Examples
--------------

Create a new marketing campaign:

.. code:: python

    email_content = "<html>....</html>"
    text_content = "blah blah blah"
    constant_contact = ConstantContact()

    options = {name: , from_email: , email_content: , text_content:, ....}

    try:
      campaign = constant_contact.new_email_marketing_campaign(options)
    except ConstantContactAPIError as exc:
      print exc.errors

Update an existing campaign (stored in a model):

.. code:: python

    options['email_marketing_campaign'] = campaign
    options['name'] = "new name"

    try:
      constant_contact.update_email_marketing_campaign(options)
    except ConstantContactAPIError as exc:
      print exc.errors

.. |Build Status| image:: https://travis-ci.org/AASHE/django-constant-contact.svg?branch=master
   :target: https://travis-ci.org/AASHE/django-constant-contact
.. |Coverage Status| image:: https://coveralls.io/repos/AASHE/django-constant-contact/badge.svg?branch=master
   :target: https://coveralls.io/r/AASHE/django-constant-contact?branch=master
helmbump 0.1.1
Helm charts version bumper

Helm Version Bump
=================

Simple python code to bump kubernetes package manager Helm charts version.

Install
-------
``pip install helmbump``

Usage
-----
**bump** version:
``helmbump bump [-h] --file PATH_TO_CHART.YAML --level {major,minor,patch} [--quiet]``

**set** explicit version:
``helmbump set --file PATH_TO_CHART.YAML --set-version X.Y.Z [--quiet]``

**get** current version:
``helmbump get --file PATH_TO_CHART.YAML``


Examples
--------

Case: ``version: 0.0.1``
``helmbump bump --file Chart.yaml --level patch`` will bump version to ``version: 0.0.2``


Case: ``version: 0.1.4``
``helmbump bump --file Chart.yaml --level minor`` will bump version to ``version: 0.2.0``


Case: ``version: 0.0.1``
``helmbump set --file Chart.yaml --set-version 1.4.0`` will set version to ``version: 1.4.0``