Skip to main content

Helpers for dealing with application settings

Project description

Django Click

https://img.shields.io/travis/GaretJax/django-click.svg https://img.shields.io/pypi/v/django-click.svg https://img.shields.io/pypi/dm/django-click.svg https://img.shields.io/coveralls/GaretJax/django-click/master.svg https://img.shields.io/badge/docs-latest-brightgreen.svg https://img.shields.io/pypi/l/django-click.svg https://img.shields.io/requires/github/GaretJax/django-click.svg

django-click is a library to easily write django management commands using the click command line library.

Installation

pip install django-click

Example

Create a command module as you would usually do, but instead of creating a class, just put a djclick command into it:

import djclick as click

@click.command()
@click.argument('name')
def command(name):
   click.secho('Hello, {}'.format(name), fg='red')

History

0.1.1 – 2015-09-11

  • Django 1.4, 1.5, 1.6, 1.7 and 1.8 compatibility

  • Python 2.7 and 3.4 compatibility

  • 100% coverage test suite

0.1.0 – 2015-09-10

  • Initial release

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-click-0.1.1.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

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

django_click-0.1.1-py2.py3-none-any.whl (5.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file django-click-0.1.1.tar.gz.

File metadata

  • Download URL: django-click-0.1.1.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for django-click-0.1.1.tar.gz
Algorithm Hash digest
SHA256 864d3eec371b122bb2afc21594dd4f89236e72b80532866b67fec0f3ad134407
MD5 1b78c6c3afc63be589106193e19a3ccd
BLAKE2b-256 2eb57af8e0fbcb2e24eed6c8018f43cf768e4240ab4f1afb84c7b2ad10a5877d

See more details on using hashes here.

File details

Details for the file django_click-0.1.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_click-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 520749feda17ff8082ce8701bfb2fc9f3549a6738076a7b9712d2e82f4d57e36
MD5 fa85c3e67bf5154b77f2aa7b4ae411fa
BLAKE2b-256 8c3b7be004c5550f7f5892da90062cb89a643532e40c785b29aa7a9ae1588187

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