pyscript
An open source platform for Python in the browser. https://pyscript.net Docs: https://docs.pyscript.net/ Try it: https://pyscript.com/ Community: https://discord.gg/HxvBtukrg2
File Explorer
Download Latest Version (.zip)- bug-report.yml
- config.yml
- prepare-release.yml
- publish-release.yml
- publish-snapshot.yml
- publish-unstable.yml
- test.yml
- dependabot.yml
- PULL_REQUEST_TEMPLATE.md
- release.yml
- index.html
- index.html
- sys_version.py
- test.js
- test.py
- index.js
- package.json
- README.md
- 3rd-party.cjs
- build_test_index.cjs
- core.config.js
- flatted.cjs
- offline.cjs
- plugins.cjs
- stdlib.cjs
- codemirror.js
- codemirror_commands.js
- codemirror_lang-python.js
- codemirror_language.js
- codemirror_state.js
- codemirror_view.js
- README.md
- toml.js
- xterm-readline.js
- xterm.css
- xterm.js
- xterm_addon-fit.js
- xterm_addon-web-links.js
- codemirror.license.txt
- codemirror_commands.license.txt
- codemirror_lang-python.license.txt
- codemirror_language.license.txt
- codemirror_state.license.txt
- codemirror_view.license.txt
- toml.license.txt
- xterm-readline.license.txt
- xterm.license.txt
- xterm_addon-fit.license.txt
- xterm_addon-web-links.lixense.txt
- mpy.js
- py.js
- codemirror.js
- deprecations-manager.js
- donkey.js
- error.js
- py-editor.js
- py-game.js
- py-terminal.js
- __init__.py
- context.py
- display.py
- events.py
- fetch.py
- ffi.py
- flatted.py
- fs.py
- media.py
- storage.py
- util.py
- web.py
- websocket.py
- workers.py
- pyscript.js
- all-done.js
- config.js
- core.css
- core.js
- exceptions.js
- fetch.js
- fs.js
- hooks.js
- plugins-helper.js
- plugins.js
- service-worker.js
- stdlib.js
- storage.js
- sync.js
- types.js
- zero-redirect.js
- file.py
- index.html
- test.py
- config.json
- a.py
- config.json
- index.html
- error.js
- index.html
- index.html
- cached.toml
- index.html
- index.py
- never.toml
- index.html
- config.json
- index.html
- worker.py
- index.html
- index.html
- index.html
- config.toml
- test.py
- worker.py
- index.html
- index.js
- index.spec.js
- async-listener.html
- config-url.html
- config_type.html
- ffi.html
- hooks.html
- js-storage.html
- js_modules.html
- js_modules.js
- media.html
- mpy-error.html
- mpy-no-error.html
- mpy-no-error.toml
- mpy.html
- py-terminal-main.html
- py-terminal-worker.html
- py-terminal.html
- py-terminals.html
- storage.html
- terminal.py
- worker-symbols.html
- ambiguous-config.html
- index.html
- parser.html
- same-config.html
- toml.js
- too-many-config.html
- too-many-py-config.html
- index.html
- index.js
- index.html
- pyscript.toml
- index.html
- index.py
- index.toml
- index.html
- index.py
- aliens.css
- aliens.py
- config.toml
- index.html
- index.html
- index.html
- main.py
- genuary25-18.m4a
- multipyjs.py
- perlin-0.0.0-cp312-cp312-pyodide_2024_0_wasm32.whl
- index.html
- libfft.py
- libthree.py
- main.py
- perlin_py.py
- pyscript.toml
- worker.py
- index.html
- main.py
- pyscript.toml
- config.toml
- index.html
- main.py
- index.html
- worker.py
- index.html
- piratical.py
- piratical.toml
- config.toml
- index.html
- issue-2056.html
- service-worker.html
- sw.js
- task1.py
- index.html
- no-repl.html
- repl.html
- index.html
- package.toml
- index.html
- mini-coi.js
- sabayon.js
- a.py
- all-done.html
- async.html
- bad.toml
- camera.html
- camera.py
- click.html
- code-a-part.html
- combo.html
- config.html
- create-element.html
- dialog.html
- display.html
- emoji.html
- emoji.py
- error.html
- html-decode.html
- index.html
- input.html
- interpreter.html
- multi.html
- multiple-editors.html
- no-error.html
- py-editor-failure.html
- py-editor.html
- py_modules.html
- shenanigans.py
- split-config.html
- submit.html
- submit.py
- t-strings.html
- t-strings.py
- target.html
- test_display_HTML.html
- test_when.html
- worker.html
- worker.py
- test_config.py
- test_context.py
- test_current_target.py
- test_display.py
- test_document.py
- test_events.py
- test_fetch.py
- test_ffi.py
- test_fs.py
- test_media.py
- test_running_in_worker.py
- test_storage.py
- test_util.py
- test_web.py
- test_websocket.py
- test_window.py
- test_workers.py
- example_js_module.js
- example_js_worker_module.js
- helper.js
- index.html
- main.py
- settings_mpy.json
- settings_py.json
- worker_functions.py
- index.html
- js_tests.spec.js
- py_tests.main.spec.js
- py_tests.worker.spec.js
- README.md
- codemirror.d.ts
- codemirror_commands.d.ts
- codemirror_lang-python.d.ts
- codemirror_language.d.ts
- codemirror_state.d.ts
- codemirror_view.d.ts
- toml.d.ts
- xterm-readline.d.ts
- xterm.d.ts
- xterm_addon-fit.d.ts
- xterm_addon-web-links.d.ts
- mpy.d.ts
- py.d.ts
- codemirror.d.ts
- deprecations-manager.d.ts
- donkey.d.ts
- error.d.ts
- py-editor.d.ts
- py-game.d.ts
- py-terminal.d.ts
- pyscript.d.ts
- all-done.d.ts
- config.d.ts
- core.d.ts
- exceptions.d.ts
- fetch.d.ts
- fs.d.ts
- hooks.d.ts
- plugins-helper.d.ts
- plugins.d.ts
- stdlib.d.ts
- sync.d.ts
- types.d.ts
- zero-redirect.d.ts
- .oxlintrc.json
- dev.cjs
- index.js
- jsdelivr.js
- LICENSE
- package-lock.json
- package.json
- pyodide.sh
- README.md
- tsconfig.json
- index.html
- README.md
- .gitignore
- .pre-commit-config.yaml
- .prettierignore
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- GOVERNANCE.md
- LICENSE
- MAINTAINERS.md
- Makefile
- pyproject.toml
- README.md
- requirements.txt
# Installation Guide
1. Get the code
git clone https://github.com/pyscript/pyscript
Downloads the entire project code from GitHub to your computer.
cd pyscript
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
cd bridge
This project's files live in a subfolder, so move into it first.
npm install
Downloads and installs the libraries listed in package.json.
npm start
Starts the development/run server.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
3. Python
EasyPrerequisites
pip install -r requirements.txt
Installs the Python libraries listed in requirements.txt (or similar).
python <์คํํ ํ์ผ๋ช
>.py # README์์ ์ ํํ ์คํ ํ์ผ๋ช
์ ํ์ธํ์ธ์
Runs the Python script (or module).
If it runs without errors and prints output in the terminal, it worked.
4. Make
MediumPrerequisites
- Git Needed to download the project code from GitHub.
- Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
make
Compiles the code based on the generated build configuration to produce an executable.
If it finishes without errors, it worked. Try running the generated executable directly.
// repository documentation
Was this content helpful?
(0 ratings)
