wsadmin-type-hints


Namewsadmin-type-hints JSON
Version 0.3.0 PyPI version JSON
download
home_pagehttps://lukesavefrogs.github.io/wsadmin-type-hints/
SummaryProvide type hints for `wsadmin` object methods
upload_time2023-03-30 02:17:32
maintainer
docs_urlNone
authorLuca Salvarani
requires_python>=3.8,<=3.11
licenseMIT
keywords wsadmin ibm stubs types jython autocompletion intellisense
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![Documentation](https://github.com/LukeSavefrogs/wsadmin-type-hints/actions/workflows/documentation.yml/badge.svg)](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:

	![List module commands](https://raw.githubusercontent.com/LukeSavefrogs/wsadmin-type-hints/main/docs/images/60817fad50b7491f2d03e29e93568bfb74dd0ce265319675f2fb83cad67a46fa.png "List all module commands")

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

	![Parameters](https://raw.githubusercontent.com/LukeSavefrogs/wsadmin-type-hints/main/docs/images/e84d4763b6a93d5950af4b85e9b43d04f8fda9b35a9c4d16ed0f52084dd27195.png "Parameter and return types")  

## 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.


            

Raw data

            {
    "_id": null,
    "home_page": "https://lukesavefrogs.github.io/wsadmin-type-hints/",
    "name": "wsadmin-type-hints",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8,<=3.11",
    "maintainer_email": "",
    "keywords": "wsadmin,ibm,stubs,types,jython,autocompletion,intellisense",
    "author": "Luca Salvarani",
    "author_email": "lucasalvarani99@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/d1/21/0c670d7b69d940cb439831b5113dca772e6893539921689510526ff2223d/wsadmin_type_hints-0.3.0.tar.gz",
    "platform": null,
    "description": "[![Documentation](https://github.com/LukeSavefrogs/wsadmin-type-hints/actions/workflows/documentation.yml/badge.svg)](https://lukesavefrogs.github.io/wsadmin-type-hints/)\n\n# `wsadmin-type-hints`\nPython package providing **type hints** for `wsadmin` **Jython** commands.\n\nThis **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`:\n- `AdminControl`\n- `AdminConfig`\n- `AdminApp`\n- `AdminTask`\n- `Help`\n\n[\ud83d\udcda **Read the full documentation**](https://lukesavefrogs.github.io/wsadmin-type-hints/)\n\n## Features\n- **List all module commands** through intellisense:\n\n\t![List module commands](https://raw.githubusercontent.com/LukeSavefrogs/wsadmin-type-hints/main/docs/images/60817fad50b7491f2d03e29e93568bfb74dd0ce265319675f2fb83cad67a46fa.png \"List all module commands\")\n\n- 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)):\n\n\t![Parameters](https://raw.githubusercontent.com/LukeSavefrogs/wsadmin-type-hints/main/docs/images/e84d4763b6a93d5950af4b85e9b43d04f8fda9b35a9c4d16ed0f52084dd27195.png \"Parameter and return types\")  \n\n## Quick start\n### Download\n- Using `pip`:\n\t```\n\tpip install wsadmin-type-hints\n\t```\n\n- Using `poetry`:\n\t```\n\tpoetry add wsadmin-type-hints --group dev \n\t```\n\n### Usage\nUse it like this:\n```python\ntry:\n    (AdminControl, AdminConfig, AdminApp, AdminTask, Help)\nexcept NameError:\n    from wsadmin_type_hints import AdminControl, AdminConfig, AdminApp, AdminTask, Help\nelse:\n    print(\"AdminControl is already defined, i'm not needed here \ud83d\ude03\")\n```\nThe `try..except` block is used to differentiate between the development and production environment.\n\n\n\n# Disclaimer\nThis is an unofficial package created for speeding up the development process and is not in any way affiliated with IBM\u00ae. All trademarks and registered trademarks are the property of their respective company owners.\n\nThe 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\u00ae documentation.\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Provide type hints for `wsadmin` object methods",
    "version": "0.3.0",
    "split_keywords": [
        "wsadmin",
        "ibm",
        "stubs",
        "types",
        "jython",
        "autocompletion",
        "intellisense"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "908295e8cc87618b5d49a37525c29649fb7259319c40b2ff1c68bf59bafe1ae4",
                "md5": "54b82e2e937c9900048b65699928d410",
                "sha256": "d10df8caf86e90aaade59df2a8272f3e42a9ea9b58aa6e0ed469f810902329b7"
            },
            "downloads": -1,
            "filename": "wsadmin_type_hints-0.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "54b82e2e937c9900048b65699928d410",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<=3.11",
            "size": 84739,
            "upload_time": "2023-03-30T02:17:30",
            "upload_time_iso_8601": "2023-03-30T02:17:30.722429Z",
            "url": "https://files.pythonhosted.org/packages/90/82/95e8cc87618b5d49a37525c29649fb7259319c40b2ff1c68bf59bafe1ae4/wsadmin_type_hints-0.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d1210c670d7b69d940cb439831b5113dca772e6893539921689510526ff2223d",
                "md5": "006f71eb9513d850a59e2d3cdecdf08e",
                "sha256": "f051dc3d1572a991ece56772d7df05afe1f7bf60bf7f3505526dbb4147593dda"
            },
            "downloads": -1,
            "filename": "wsadmin_type_hints-0.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "006f71eb9513d850a59e2d3cdecdf08e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<=3.11",
            "size": 75893,
            "upload_time": "2023-03-30T02:17:32",
            "upload_time_iso_8601": "2023-03-30T02:17:32.643532Z",
            "url": "https://files.pythonhosted.org/packages/d1/21/0c670d7b69d940cb439831b5113dca772e6893539921689510526ff2223d/wsadmin_type_hints-0.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-03-30 02:17:32",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "wsadmin-type-hints"
}
        
Elapsed time: 0.06472s