Skip to main content

Run custom python script directly with a Django command.

Project description

This is simple Django command to run a custom python script with Django settings loaded and environment setup.

To install this package

pip install django_rundirect

To integrate this package into a django project, add _’django_rundirect’_ to Django’s INSTALLED_APPS.

Then you can run a python script as:

python rundirect

You may pass args and options to the custom script, for example:

python rundirect some_arg –some_option=somevalue

Note that the sys.path will include the path of where you run the python executable).

Project details

Download files

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

Files for django_rundirect, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size django_rundirect-0.1.1.tar.gz (1.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page