Skip to main content

Manage

https://img.shields.io/pypi/v/manage.svg https://img.shields.io/travis/rochacbruno/manage.svg Documentation Status Dependencies

A “manage” command to add an interactive shell and commands support to your Python applications, based on click

Features

With manage you add a commands manager to your Python project and also it comes with an interactive shell with iPython support.

$ pip install manage
$ cd /my_project_root_folder
$ manage init
creating manage.yml....

With that you now have a file manage.yml file describing how manage command should discovery your app modules and custom commands

The Shell

By default the command manage shell is included, it is a simple Python REPL console with some configurable options.

You can change the banner message to say anything you want, e.g: “Welcome to my shell!” and you can also specify some objects to be automatically imported in to the shell context so when you enter in to the shell you already have your project’s common objects available.

Also you can specify a custom function to run or a string based code block to run, useful to init and configure the objects.

If IPython is installed it will use it, otherwise will use the default Python console including support for tab autocomplete.

Check the example in: https://github.com/rochacbruno/manage/tree/master/examples/simple

Custom Commands

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.1.0 (2016-06-09)

  • First release on PyPI.

Release files for manage 0.1.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 manage 0.1.1
File Size Uploaded
manage-0.1.1.tar.gz 15.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for manage 0.1.1
File Interpreter ABI Platform
manage-0.1.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size:25.2 kB

Release files / manage-0.1.1.tar.gz

Download URL manage-0.1.1.tar.gz
Size 15.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0e0651f7df771b195a44b9ba9dbd68ce5820c17a376c8caaacb13cc98818ee3b
BLAKE2b-256 checksum
How to use checksums
7f41ccab3e3a709267bf90cb461a131a16234c620b7650a051b9cb79eda6011e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / manage-0.1.1-py2.py3-none-any.whl

Download URL manage-0.1.1-py2.py3-none-any.whl
Size 9.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
e2edb3e9fa4cd61b489f220b0826c982bf1c887dcd0217ea0ee5505e9508c10d
BLAKE2b-256 checksum
How to use checksums
6085a7334e5b2e51e492c17be9e0ebb31808fb2bd9ac9c802e820c9cdf078066
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
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