DoWeb 1.7.3
KLayout Web Viewer based on canvas2canvas
This app contains the logic to render .gds files, including in VSCode.
Install & Run
Through pypi
From a python virtual environment run:
python -m pip install doweb
export DOWEB_FILESLOCATION="/path/to/gds/folder" # or the windows equivalent with set
uvicorn --reload doweb.default:app
Advanced Usage
DoWeb offers two basic apps:
-
Browser:
A version that provides a version with a file browser for a folder and the doweb viewer for viewing the gds file in that folder. This can be used by importing the function
doweb.browser.get_appand settings theDOWEB_FILESLOCATIONenv variable of passingfileslocation=<Path object for target folder>to the function. Alternatively there is a default one indoweb.default.appthat will only look for the env variable. -
Viewer:
Only enables the
/gds/<filename>endpoints, no root path, i.e. no file browser. Available atdoweb.viewer.get_app. This version doesn't provide a listener for the env variable. Use thefileslocationparameter in the function instead.
Development
Clone & Install
git clone https://github.com/doplaydo/doweb.git
cd /doweb
python -m pip install -e .[dev]
make clean # to remove the build files
Set a folder for doweb to use when looking for gds files
export DOWEB_FILESLOCATION=/path/to/folder/with/gdsfiles
Run
cd src/doweb
uvicorn --reload default:app
Copy the link http://localhost:8000/gds/file.gds to your browser to open the waveguide example
Contributing
Please make sure you have also installed pre-commit before committing:
python -m pip install pre-commit
pre-commit install
Metadata
Release files for doweb 1.7.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 28.0 MB
Release files / doweb-1.7.3-cp314-cp314t-win_amd64.whl
| Download URL | doweb-1.7.3-cp314-cp314t-win_amd64.whl |
|---|---|
| Size | 633.2 kB |
| Tags | CPython 3.14 CPython 3.14 free-threading Windows x86-64 |
|
SHA-256 checksum How to use checksums |
cf36a0bbea35e3c1a89272f1fcf97b5860ba9c6e45c466cabfd4a2327486f0ea
|
|
BLAKE2b-256 checksum How to use checksums |
f16ed9b7981a81c19499ae351a5af9972ddeb17111c186efe9f4d3638d41cdf1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / doweb-1.7.3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
| Download URL | doweb-1.7.3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
6e386cdd66bc76e06e2b4ef75b1e72327e094c9c373be1b7b172fb9cb365636f
|
|
BLAKE2b-256 checksum How to use checksums |
69b241cb073551eba000ff3aca70d788c0735aff3da870a98197cf26dbf04194
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / doweb-1.7.3-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
| Download URL | doweb-1.7.3-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
9ab7424f0a400fe3b9421c4c36f5994aab2fd3c3b1c5ad4109e8e45af5b9a62f
|
|
BLAKE2b-256 checksum How to use checksums |
ef322ec0b4e4e9797a5b73915882f9f6da45b0f6a3cb18e6c95ce6ab651763a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / doweb-1.7.3-cp314-cp314t-macosx_11_0_arm64.whl
| Download URL | doweb-1.7.3-cp314-cp314t-macosx_11_0_arm64.whl |
|---|---|
| Size | 635.9 kB |
| Tags | CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
1b48797c180b44d21b27df9f95d35d900e808828a7d1a4b2eced0fa7c558a31b
|
|
BLAKE2b-256 checksum How to use checksums |
dcbe8b9c9a0ae93a2097077ee42a346aaa2439f2f75f52a260b1486f392236d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / doweb-1.7.3-cp314-cp314-win_amd64.whl
| Download URL | doweb-1.7.3-cp314-cp314-win_amd64.whl |
|---|---|
| Size | 590.3 kB |
| Tags | CPython 3.14 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
09196f29e2464b74c3002ed89994c2a6b6203ff73209171fdaa06ef41a52181d
|
|
BLAKE2b-256 checksum How to use checksums |
36de21e682d79b0172f174e08f0d39ea7d7923f1f4fce41378736a0b3c2392d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / doweb-1.7.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
| Download URL | doweb-1.7.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 2.1 MB |
| Tags | CPython 3.14 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
fe1fcefa1790c41a4fe4ae3c69d0f4f9722147ce189360dce3ec2e2061ea6ad6
|
|
BLAKE2b-256 checksum How to use checksums |
075a14aead7ada84297d6a916876294a22ac4a38c39d80398584d9dc0855bc48
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / doweb-1.7.3-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
| Download URL | doweb-1.7.3-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl |
|---|---|
| Size | 2.2 MB |
| Tags | CPython 3.14 Linux glibc 2.28+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
d8bfe752a2f8e70f483441afa70eecf7e0bc62b721bed5c01b79915996ad0d11
|
|
BLAKE2b-256 checksum How to use checksums |
d73855d7caa610052f983042c0c346c76ca77179a2305d38fd07c0b8c9341bf5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / doweb-1.7.3-cp314-cp314-macosx_11_0_arm64.whl
| Download URL | doweb-1.7.3-cp314-cp314-macosx_11_0_arm64.whl |
|---|---|
| Size | 607.3 kB |
| Tags | CPython 3.14 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
605c8e621d4752f06904e8df60e8d9c6602e2bddcff5fc52b03fce1c747a50da
|
|
BLAKE2b-256 checksum How to use checksums |
c33b71443a8a2ca7d782bb5ff125d50c99b7b774617c70fd157b159f5e68fa11
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / doweb-1.7.3-cp313-cp313-win_amd64.whl
| Download URL | doweb-1.7.3-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 585.6 kB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
87194a272fdc0b52f82c3edcdcccdad74387c902217ab28faf5ffe2c88531109
|
|
BLAKE2b-256 checksum How to use checksums |
0f21640dc5f687f41b7325cef7f84470f4c2a372713c29155f0c7749948569a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / doweb-1.7.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
| Download URL | doweb-1.7.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 2.1 MB |
| Tags | CPython 3.13 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
6273d0316a8c68b7a2fd000d6b95569693a8dac4d1f1facc3c8f5148632e30dc
|
|
BLAKE2b-256 checksum How to use checksums |
cc0a1df0e02640862a74f78e4f8ea7e0167178f1fb909d891ddbd43515f3efe0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / doweb-1.7.3-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
| Download URL | doweb-1.7.3-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl |
|---|---|
| Size | 2.2 MB |
| Tags | CPython 3.13 Linux glibc 2.28+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
021c02e026c1b6d470d1b2c06b061c98dc354b56c33db21f2fdc67ed143f544b
|
|
BLAKE2b-256 checksum How to use checksums |
862e7caa09554e0e431035547ad90661d1f4d7ee4e0eba76025e789c6952df9c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / doweb-1.7.3-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | doweb-1.7.3-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 605.8 kB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
29dd62600724dfecafbd519ea6642b16b9bebd3dfe1aab3699811fd9a002ee0c
|
|
BLAKE2b-256 checksum How to use checksums |
236f0b234d89ab4abc0ecc937c0d5462c253b85c6d5e640b6fd5506b536dd655
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / doweb-1.7.3-cp312-cp312-win_amd64.whl
| Download URL | doweb-1.7.3-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 585.8 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
07ecefcf92234e968b75c5ed2808e21a6f6130e89bfacda85acc83e9c4d80f8e
|
|
BLAKE2b-256 checksum How to use checksums |
15c4186fb0f5a8bc27fe27586ace4a206a177c800cdba3a74985c03dde3ecf98
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / doweb-1.7.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
| Download URL | doweb-1.7.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 2.1 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
486d2123925235bbb071e76dfaec4a817ee378f65bb54d91cc164b30f74aff81
|
|
BLAKE2b-256 checksum How to use checksums |
b8b17926dd673754ea3a8cb4cfdbd05885cb0835dbe0b7903cd91a7e02d784eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / doweb-1.7.3-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
| Download URL | doweb-1.7.3-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl |
|---|---|
| Size | 2.2 MB |
| Tags | CPython 3.12 Linux glibc 2.28+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
35cdbd4b5b09e6bb85b7c939c3621f8025a653bd6a061ea73ee26703bdf2e221
|
|
BLAKE2b-256 checksum How to use checksums |
d3b6e104f1933447bc88680436e6e405d306fde25a7276f7cf8420be61fc9f6e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / doweb-1.7.3-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | doweb-1.7.3-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 606.9 kB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
1aa9f2765cf1cd4a4b35504e2a724ff67269d0b77d570ba282f761ff078df11b
|
|
BLAKE2b-256 checksum How to use checksums |
a856e1187721fff27054ddd0870b939869f9c4732fd1bf5a130b0d643588ca05
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / doweb-1.7.3-cp311-cp311-win_amd64.whl
| Download URL | doweb-1.7.3-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 598.6 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
7f2fee6b95c42d68782a0c7f215577bea89d5ffdcba05f6639749537fec3d1de
|
|
BLAKE2b-256 checksum How to use checksums |
079f1dff0bbd8583b3f2f5318462ca476343ab0f2112f5608f60631b2348f3a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / doweb-1.7.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
| Download URL | doweb-1.7.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 2.2 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
a65d973f4cc23e76f8d27eec685b03d122018a1c070743afae1ac03f74ed09b1
|
|
BLAKE2b-256 checksum How to use checksums |
ed51eb57187f841a549da379663af7affcc9189844144786113179e165c4458d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / doweb-1.7.3-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
| Download URL | doweb-1.7.3-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl |
|---|---|
| Size | 2.2 MB |
| Tags | CPython 3.11 Linux glibc 2.28+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
eb76bf1a61f6501c5b3f378966f0eae23d9c4ebb9de71d4de8c558515bcd2b69
|
|
BLAKE2b-256 checksum How to use checksums |
a10a238a1df528063e6e1a7dbd5c610d58eb67fa779b2ee623e5c9e3025eccae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / doweb-1.7.3-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | doweb-1.7.3-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 612.1 kB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
fa37fed75855bf5064e72b4b6387a35ad092c5b8e06310ae5f7d662a6fcd6852
|
|
BLAKE2b-256 checksum How to use checksums |
05f9bedbeb652a987680506ab293f1af21d728ede93121b9cf5c0621f0a3b348
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Security for doweb 1.7.3
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.