Skip to main content
pyramid_command
===========

Console commands manager for Pyramid framework

usage
======

install package

Write your console commands.
For example in myproject/console.py:

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 self.name, "runs", echo, file


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

[app:main]
use = egg:myproject
...
...
console_commands = myproject.console


Now run:

>>>pcommand development.ini my_cmd echoval




CHANGES.txt

Metadata

Release files for pyramid_command 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyramid_command 0.1
File Size Uploaded Provenance
pyramid_command-0.1.tar.gz 2.9 kB Without provenance Details

Release files / pyramid_command-0.1.tar.gz

Download URL pyramid_command-0.1.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7622b1e9383e48c05f700d5c5d6444a39cccd608cf92e80410054ec13ca52306
BLAKE2b-256 checksum
How to use checksums
e60f60034a4af3eb11efd3e5b0b2d4d55ad26e8d7c46797a25a7cddc5e382ef5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pyramid_command 0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page