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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file wsadmin_type_hints-0.3.0.tar.gz.

File metadata

  • Download URL: wsadmin_type_hints-0.3.0.tar.gz
  • Upload date:
  • Size: 75.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.2

File hashes

Hashes for wsadmin_type_hints-0.3.0.tar.gz
Algorithm Hash digest
SHA256 f051dc3d1572a991ece56772d7df05afe1f7bf60bf7f3505526dbb4147593dda
MD5 006f71eb9513d850a59e2d3cdecdf08e
BLAKE2b-256 d1210c670d7b69d940cb439831b5113dca772e6893539921689510526ff2223d

See more details on using hashes here.

File details

Details for the file wsadmin_type_hints-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for wsadmin_type_hints-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d10df8caf86e90aaade59df2a8272f3e42a9ea9b58aa6e0ed469f810902329b7
MD5 54b82e2e937c9900048b65699928d410
BLAKE2b-256 908295e8cc87618b5d49a37525c29649fb7259319c40b2ff1c68bf59bafe1ae4

See more details on using hashes here.

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