https://github.com/lukesavefrogs/wsadmin-type-hints
Python package providing type hints for wsadmin Jython commands.
https://github.com/lukesavefrogs/wsadmin-type-hints
ibm jython stubs websphere websphere-application-server wsadmin
Last synced: 6 months ago
JSON representation
Python package providing type hints for wsadmin Jython commands.
- Host: GitHub
- URL: https://github.com/lukesavefrogs/wsadmin-type-hints
- Owner: LukeSavefrogs
- License: mit
- Created: 2023-02-09T22:51:49.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-10T18:40:00.000Z (about 1 year ago)
- Last Synced: 2025-01-21T10:16:28.029Z (about 1 year ago)
- Topics: ibm, jython, stubs, websphere, websphere-application-server, wsadmin
- Language: Python
- Homepage: https://lukesavefrogs.github.io/wsadmin-type-hints/
- Size: 5.48 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://lukesavefrogs.github.io/wsadmin-type-hints/)
# `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**](https://lukesavefrogs.github.io/wsadmin-type-hints/)
## Features
- **List all module commands** through intellisense:

- Check **parameter and return types**, as well as a brief description of the command (using [Google syntax](https://google.github.io/styleguide/pyguide.html#38-comments-and-docstrings)):

## Quick start
### Download
- Using `pip`:
```
pip install wsadmin-type-hints
```
- Using `poetry`:
```
poetry add wsadmin-type-hints --group dev
```
### Usage
Use it like this:
```python
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.