Skip to main content

Provide type hints for `wsadmin` object methods

Project description

Documentation

wsadmin-type-hints

Python package providing type hints for wsadmin Jython commands.

This speeds up the development of wsadmin Jython scripts inside an IDE since it provides intellisense on every method of the 5 main objects provided at runtime by the wsadmin:

  • AdminControl
  • AdminConfig
  • AdminApp
  • AdminTask
  • Help

📚 Read the full documentation

Features

  • List all module commands through intellisense:

    List module commands

  • Check parameter and return types, as well as a brief description of the command (using Google syntax):

    Parameters

Quick start

Download

  • Using pip:

     pip install wsadmin-type-hints
    
  • Using poetry:

     poetry add wsadmin-type-hints --group dev 
    

Usage

Use it like this:

try:
    (AdminControl, AdminConfig, AdminApp, AdminTask, Help)
except NameError:
    from wsadmin_type_hints import AdminControl, AdminConfig, AdminApp, AdminTask, Help
else:
    print("AdminControl is already defined, i'm not needed here 😃")

The try..except block is used to differentiate between the development and production environment.

Disclaimer

This is an unofficial package created for speeding up the development process and is not in any way affiliated with IBM®. All trademarks and registered trademarks are the property of their respective company owners.

The code does not include any implementation detail, and includes only the informations (such as parameter numbers, types and descriptions) publicly available on the official Websphere Application Server® documentation.

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

wsadmin_type_hints-0.3.0.tar.gz (75.9 kB view hashes)

Uploaded Source

Built Distribution

wsadmin_type_hints-0.3.0-py3-none-any.whl (84.7 kB view hashes)

Uploaded Python 3

Supported by

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