This module contains the DOM types for the majority of the web APIs used in a web browser. These can be used by an IDE to give type hinting and completion during the development using DOM apis.
Project description
webtypy
Webtypy is a library created with the aim of enhancing the capabilities of your IDE during web development. This module contains the DOM types for a majority of the web APIs commonly used in a web browser, allowing developers to gain insights about the Web API.
With webtypy, developers can receive hints from their IDE about available functions, classes, function parameters, and their associated types. These features are intended to assist in the development process and potentially improve code accuracy.
The APIs within webtypy are generated from the specifications for CSS, HTML, and JavaScript, providing developers with a resource that keeps up with current web standards.
Installation
To install webtypy, you can use the following command:
pip install webtypy
Remark: Webtypy is primarily a development-time library. It is designed to assist developers during the development process by providing insights about the Web API. As such, it is not typically required in a production environment or at runtime. Its main function is to enhance the development experience and is not needed once the application is deployed.
Usage
Webtypy is designed to enhance your IDE's capabilities and streamline your development process. It integrates directly into your development environment and can be utilized in various ways. Here are a couple of examples:
Code Completion: One way to leverage webtypy is through code completion. As you type, your IDE can suggest possible completions based on webtypy's API data. This feature can be typically invoked by pressing 'Control+Space'.
Hovering Information: Another example is the detailed information provided when you hover over an element in your code. By placing your mouse pointer over an element, you can view additional details like associated types and the definition of the element.
These are just a couple of examples, and the exact usage might vary based on the IDE you're using. Be sure to check your IDE's documentation for more specific instructions on utilizing features like code completion and hovering information.
Generation
A few details about the generation process of the .pyi (Python Interface file) can be found here.
License
webtypy uses the Mozilla Public License Version 2.0.
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
Built Distribution
File details
Details for the file webtypy-0.1.7.tar.gz
.
File metadata
- Download URL: webtypy-0.1.7.tar.gz
- Upload date:
- Size: 104.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/6.2.0 pkginfo/1.9.6 requests/2.28.2 requests-toolbelt/0.10.1 tqdm/4.65.0 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b7212719a949c802f3d60fac5f0d952eb503a92121409cf1ad9847d7c76a336 |
|
MD5 | 5eb338f920c25a213db6464425b45054 |
|
BLAKE2b-256 | 5e89c7a0311fdc73809fc2415be97767f085ff3e00c86546430034dc8465fee7 |
File details
Details for the file webtypy-0.1.7-py3-none-any.whl
.
File metadata
- Download URL: webtypy-0.1.7-py3-none-any.whl
- Upload date:
- Size: 103.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/6.2.0 pkginfo/1.9.6 requests/2.28.2 requests-toolbelt/0.10.1 tqdm/4.65.0 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f35e6d73a4e08783e23adfac271a11cda3a2bd1105499db70e4819244efed0ae |
|
MD5 | f491ba7987395da0ef82c42285735a89 |
|
BLAKE2b-256 | 6191c731bdaa605279e00b28bfd2bf0ae67f48061d16890fb1c026924bfbd242 |