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.0 – Unreleased

  • 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.0.tar.gz (6.1 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.0-py2-none-any.whl (5.4 kB view details)

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for django-click-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ff025ca084027bb5edfd7433be891d425c5aaf059b919a3609c4f64cc0e078cb
MD5 a824a4d8477d95b6a4d6009f05a8ec4f
BLAKE2b-256 e98b3e219e3283e2be6bc2981a176ab2eb58f36df9ef93665594e2ffeeaf534c

See more details on using hashes here.

File details

Details for the file django_click-0.1.0-py2-none-any.whl.

File metadata

File hashes

Hashes for django_click-0.1.0-py2-none-any.whl
Algorithm Hash digest
SHA256 8d6c5779972534b9cad7836bdad92dbb9ef88ed259ad175ad7f3334ddcab1608
MD5 41c9af772bf8c20bda9d89e3cb78cced
BLAKE2b-256 b16bfcf14fc6c126064efc0780d2874cc5b927d76ab9254fae791cdcc0e5eee4

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