Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/frigus02/pytype-playground
Run pytype in the browser as a quick and dirty playground
https://github.com/frigus02/pytype-playground
Last synced: 25 days ago
JSON representation
Run pytype in the browser as a quick and dirty playground
- Host: GitHub
- URL: https://github.com/frigus02/pytype-playground
- Owner: frigus02
- License: mit
- Created: 2024-07-20T20:38:46.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-18T18:50:07.000Z (2 months ago)
- Last Synced: 2024-10-06T09:43:47.282Z (about 2 months ago)
- Language: JavaScript
- Homepage: https://frigus02.github.io/pytype-playground/
- Size: 11.2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pytype Playground
Run [pytype](https://github.com/google/pytype) in the browser (in [Pyodide](https://pyodide.org)) as a quick and dirty playground.
## Development
### Python dependencies
- Pytype wheel created manually using [update_wheels.sh](./update_wheels.sh) and submitted.
- Pytype dependencies downloaded using `pip download` and submitted. Loading those wheels locally seemed faster than installing them using micropip.
- Not all packages mentioned in pytype deps are required to run pytype itself. Some are only used by pytype tools (e.g. debugger). The ones in [wheels](./wheels) seems to be enough.
- The `msgpack` dependency has native code, but is luckily built-in to Pyodide.### Run locally
```
npm install
node ./build.js # run again after change
python3 -m http.server --directory dist/
```