Skip to main content

App for data exchange in CommerceML 2 standard..

Project description

CML is a reusable Django app for data exchange in CommerceML 2 standard.

Requirements

  • Python 3.3, 3.4, 3.5, 3.6

  • Django 2.x

Quick start

Install using pip:

pip install django-cml

Or clone the repo and add to your PYTHONPATH:

git clone https://github.com/ArtemiusUA/django-cml.git

Add “cml” to your INSTALLED_APPS setting like this:

INSTALLED_APPS = [
    ...
    'cml',
]

Include the cml URLconf in your project urls.py like this:

re_path(r'^cml/', include('cml.urls')),

Run python manage.py migrate to create the cml models.

Create a cml-pipelines.py file with python manage.py cmlpipelines and add it to settings file like this:

CML_PROJECT_PIPELINES = 'project.cml_pipelines'

Modify pipeline objects for your needs to stack this with your models.

Project details


Download files

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

Source Distribution

django-cml-0.4.0.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

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

django_cml-0.4.0-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file django-cml-0.4.0.tar.gz.

File metadata

  • Download URL: django-cml-0.4.0.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for django-cml-0.4.0.tar.gz
Algorithm Hash digest
SHA256 cb1b2459c8416816b286b7f1a0a43e6c30bae8d0c0f653ba9f61c1755cc8f035
MD5 66e9fe2d79971d1ce4ccc0138c04255e
BLAKE2b-256 4802b08470e11256377127f798809ef0e0dd3e851b2b38f460b6ce6fc90c1dc7

See more details on using hashes here.

File details

Details for the file django_cml-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: django_cml-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 14.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for django_cml-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 737af5393401f0c087032a7f7bef4acb9fba332e3569bc7121590b1b6645adbb
MD5 17bbf884ebdb648c23299f540868371b
BLAKE2b-256 1337867f0013cea172d1347002c8e97531420b9dbd2f01a994a7b9fd9c1fd14f

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