opweb
opweb is a Python package for distributing web development assets including JavaScript, TypeScript, CSS, HTML, and Node.js modules.
Installation
pip install opweb
Usage
from opweb import get_asset_path, list_assets
# Get path to a JavaScript asset
js_path = get_asset_path("js", "app.js")
# Get path to a TypeScript asset
ts_path = get_asset_path("ts", "index.ts")
# Get path to a CSS asset
css_path = get_asset_path("css", "styles.css")
# Get path to an HTML asset
html_path = get_asset_path("html", "index.html")
# Get path to a Node.js asset
node_path = get_asset_path("node", "server.js")
# List all available assets
assets = list_assets()
print(assets)
# List assets in a specific subfolder
js_assets = list_assets("js")
Asset Structure
opweb/assets/
├── js/ # JavaScript files
├── ts/ # TypeScript files
├── css/ # CSS stylesheets
├── html/ # HTML templates
└── node/ # Node.js modules
License
MIT
Metadata
Release files for opweb 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| opweb-1.0.0.tar.gz | 2.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| opweb-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.4 kB
Release files / opweb-1.0.0.tar.gz
| Download URL | opweb-1.0.0.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a8e22bb64a9902b26c996a1714662fb27d3d1792ab9c5a26d61b548124e485a9
|
|
BLAKE2b-256 checksum How to use checksums |
c3f3089e3c3b43a5895643f93b5ac21611a803b4ff06dffff5f4b59cf8b125b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.9
|
Release files / opweb-1.0.0-py3-none-any.whl
| Download URL | opweb-1.0.0-py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1cad410b1661cd2a3760e437ba29cbc51cb1dc8ed15e6840e18cb975518f4651
|
|
BLAKE2b-256 checksum How to use checksums |
9b2fb1a923c0ce9776e326ee43b7f144fed3db57fca101cabaaecdeb9daa227f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.9
|
Security for opweb 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.