Skip to main content

Console commands manager for Pyramid framework

Project description


Console commands manager for Pyramid framework


install package

Write your console commands.
For example in myproject/

from pyramid_command import Command

class MyCmd(Command):

name = "my_cmd"
description = "My usefull command"

args = (
("echo", {"help":"echo the string you use here"}),
(("-f", "--file"), {"help":"file"}),

def run(self, echo='dd', file=None):
print, "runs", echo, file

Then configure where to search your commands.
For example in development.ini:

use = egg:myproject
console_commands = myproject.console

Now run:

>>>pcommand development.ini my_cmd echoval


Project details

Release history Release notifications | RSS feed

This version


Download files

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

Source Distribution

pyramid_command-0.1.tar.gz (2.9 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page