Giter Site home page Giter Site logo

saeedrz96 / pyscript Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pyscript/pyscript

2.0 0.0 0.0 7.49 MB

Home Page: https://pyscript.net Examples: https://pyscript.net/examples

Home Page: https://community.anaconda.cloud/c/tech-topics/pyscript

License: Apache License 2.0

Shell 0.06% JavaScript 30.91% Python 15.42% TypeScript 19.64% CSS 0.64% Makefile 0.57% HTML 32.39% Svelte 0.37%

pyscript's Introduction

PyScript

What is PyScript

Summary

PyScript is a Pythonic alternative to Scratch, JSFiddle, and other "easy to use" programming frameworks, with the goal of making the web a friendly, hackable place where anyone can author interesting and interactive applications.

To get started see the getting started tutorial.

For examples see the pyscript folder.

Longer Version

PyScript is a meta project that aims to combine multiple open technologies into a framework that allows users to create sophisticated browser applications with Python. It integrates seamlessly with the way the DOM works in the browser and allows users to add Python logic in a way that feels natural both to web and Python developers.

Try PyScript

To try PyScript, import the appropriate pyscript files to your html page with:

<link rel="stylesheet" href="https://pyscript.net/alpha/pyscript.css" />
<script defer src="https://pyscript.net/alpha/pyscript.js"></script>

You can then use PyScript components in your html page. PyScript currently implements the following elements:

  • <py-script>: can be used to define python code that is executable within the web page. The element itself is not rendered to the page and is only used to add logic
  • <py-repl>: creates a REPL component that is rendered to the page as a code editor and allows users to write executable code

Check out the pyscriptjs/examples folder for more examples on how to use it, all you need to do is open them in Chrome.

How to Contribute

To contribute see the CONTRIBUTING document.

Resources

Notes

  • This is an extremely experimental project, so expect things to break!
  • PyScript has been only tested on Chrome at the moment.

Governance

The PyScript organization governance is documented in a separate repository.

pyscript's People

Contributors

alago1 avatar albertdefusco avatar antocuni avatar brettcannon avatar cclauss avatar fpliger avatar freakboy3742 avatar goodnessuc avatar ic-768 avatar jezdez avatar kevingoldsmith avatar ma7dev avatar mattkram avatar mattpap avatar mng-dev-ai avatar msaroufim avatar papotte avatar philippjfr avatar princiya avatar pww217 avatar raulcd avatar rmyers avatar rth avatar ruibin-liu avatar santiago-paz avatar sophiamyang avatar sr2echa avatar sugatoray avatar verhulstm avatar woxtu avatar

Stargazers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.