Skip to main content

Cross-platform library of tools for creating console applications, based on the click library.

Project description

smartcliapp v0.4.2


PyPI Downloads GitHub release (latest by date) PyPI - Downloads GitHub top language PyPI GitHub PyPI - Format


Short Description:

smartcliapp - Cross-platform library of tools for creating console applications, based on the click library.


Author and developer: A.A. Suvorov

smartlegiondev@gmail.com


Supported:

  • Linux: All.
  • Windows: 7/8/10.
  • Termux (Android).

What's new?

smartcliapp v0.4.2

Warning!

The package is under active development, so new versions may not be compatible with the old ones.


Description:

smartcliapp - Cross-platform library of tools for creating console applications, based on the click library.

Use a variety of out-of-the-box tools to create console applications.

Use click to develop console applications.

Possibilities:

  • Displays the title and footer of the application at startup and shutdown. In the center of the console.

  • Display of name, description, copyright, site address in your application.

  • Launch the default browser from the console to go to the specified URL, or to your site.

  • Storing meta information about your application in one place.

  • Request for action from the user with an instant response to his input without confirmation, consent, refusal, exit from the application (yes/no/exit).

  • Various input methods, including non-display input for passwords.

  • Operation status output (Ok!/Error!).

  • Different ways of displaying information (normal, in the center of the console with filling with characters, in a pager).

  • Top-level ready-made classes containing the necessary tools.

  • Factory for creating objects.

  • Use Informer to display meta information.

  • Use ClickMan as a toolbox (Printer, InputMan, StatusMan, ActionMan, Launcher).

  • Use Factory to create objects individually.


Help:

Install:

  • pip install smartcliapp

Use:

from smartcliapp import Informer, CliManager

class CliMan(Informer):
    tools = CliManager()
    name = 'App Name'
    title = 'App title'
    description = 'App Description'
    copyright = 'App copyright'
    url = 'app url'
    msg = ''
    version = '0.0.0'

Disclaimer of liability:

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Copyright:

--------------------------------------------------------
Licensed under the terms of the BSD 3-Clause License
(see LICENSE for details).
Copyright © 2018-2025, A.A. Suvorov
All rights reserved.
--------------------------------------------------------

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

smartcliapp-0.4.2.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

smartcliapp-0.4.2-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file smartcliapp-0.4.2.tar.gz.

File metadata

  • Download URL: smartcliapp-0.4.2.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for smartcliapp-0.4.2.tar.gz
Algorithm Hash digest
SHA256 cb72a8e55c87c0f65ccbacd429295fb6bc81d2679448ed3a4adb9c10226a7406
MD5 c3e5076235d2a61a844f8fd394f94b18
BLAKE2b-256 bb17b9df7f494701b23c0fb30483d330fc4b4d19758dc123f7ed01435da3d6e1

See more details on using hashes here.

File details

Details for the file smartcliapp-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: smartcliapp-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for smartcliapp-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a96910c228468aa492c7831d930a0d9841776c87869ac2784a6c7b444776fa83
MD5 72d638d0d5aa197b42f02c1d236dd443
BLAKE2b-256 d77737e6ca91d0014764f5241b5cf8d5b72acd5c04fe390c3f67262d41ca437f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page