You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* First pass. A real PyScript terminal, typing code, updated copy.
* Outgoing links target=_blank
* Fixed character bleeding.
* Firefox on mobile fixes.
* Minor Pythonic update.
* Check on SAB.
* Minor fixes.
<pclass="line3"> <py-script><spanstyle="color: #aaa;"><spanstyle="color:#FFD580;">print</span>(<spanstyle="color:#BAE67E;">'Now you can!'</span>)</span></py-script><spanclass="cursor3">|</span></p>
<pstyle="font-size:1.15rem;padding-bottom: 0;">Just kidding, you don't need to install anything. 😃 </p>
141
-
142
-
<p>To use PyScript you can either <ahref="https://github.com/pyscript/pyscript/archive/refs/heads/main.zip">download</a> it and follow the instructions, or add the following lines to your page.</p>
<p>Click <ahref="https://pyscript.github.io/docs/latest/beginning-pyscript/" target="_blank">here</a> for more info on how to use PyScript.</p>
153
+
<pstyle="font-size:1.15rem;padding-bottom: 0;">Just kidding, you don't need to install anything. ;-) </p>
154
+
<p><ahref="https://docs.pyscript.net/" target="_blank">Read our docs</a> to learn how to use PyScript.</p>
148
155
</div>
149
156
</div>
150
157
</div>
@@ -176,24 +183,36 @@ <h5>pyscript_dev</h5>
176
183
<divclass="readme">
177
184
<h1id="pyscript">Say Hello to PyScript</h1>
178
185
179
-
<p>
180
-
PyScript is a framework that allows users to create rich Python applications in the browser using HTML's interface and the power of <ahref="https://pyodide.org/en/stable/" target="_blank">Pyodide</a>, <ahref="https://webassembly.org/" target="_blank">WASM</a>, and modern web technologies. The PyScript framework provides users at every experience level with access to an expressive, easy-to-learn programming language with countless applications.</p>
186
+
<p><strong>PyScript</strong> is a platform for <ahref="https://python.org" target="_blank">Python</a> in the
<h2>What is PyScript? Well, here are some of the core components:</h2>
183
-
<!-- new copy from Fabio -->
189
+
<p>PyScript brings together two of the most vibrant technical ecosystems on the
190
+
planet. If <ahref="https://en.wikipedia.org/wiki/World_Wide_Web" target="_blank">the web</a> and Python
191
+
had a baby, you'd get PyScript.</p>
192
+
193
+
<p>At the core of PyScript is a <em>philosophy of digital empowerment</em>. The web is
194
+
the world's most ubiquitous computing platform, mature and familiar to billions
195
+
of people. Python is one of the
196
+
<ahref="https://spectrum.ieee.org/the-top-programming-languages-2023" target="_blank">world's most popular programming languages</a>.</p>
197
+
<p>With PyScript, <em>Python runs anywhere there's a
198
+
browser (<u>which is everywhere</u>)</em>.</p>
199
+
200
+
<h2>PyScript is...</h2>
184
201
<ul>
185
-
<li><strong>Python in the browser:</strong> Enable drop-in content, external file hosting, and application hosting without the reliance on server-side configuration</li>
186
-
<li><strong>Python ecosystem:</strong> Run many popular packages of Python and the scientific stack (such as numpy, pandas, scikit-learn, and more)</li>
187
-
<li><strong>Python with JavaScript:</strong> Bi-directional communication between Python and Javascript objects and namespaces </li>
188
-
<li><strong>Environment management:</strong> Allow users to define what packages and files to include for the page code to run</li>
189
-
<li><strong>Visual application development:</strong> Use readily available curated UI components, such as buttons, containers, text boxes, and more</li>
190
-
<li><strong>Flexible framework:</strong> A flexible framework that can be leveraged to create and share new pluggable and extensible components directly in Python</li>
191
-
</ul>
192
-
193
-
<p>All that to say… PyScript is just HTML, only a bit (okay, maybe a lot) more powerful, thanks to the rich and accessible ecosystem of Python libraries. </p>
194
-
195
-
<p>In short, our mission is to bring programming for the 99%. </p>
196
-
<!-- end copy -->
202
+
<li><strong>Easy</strong>: your apps run in the browser with no complicated installation
203
+
required.</li>
204
+
<li><strong>Expressive</strong>: create apps with a powerful, popular and easy to learn
205
+
language like Python.</li>
206
+
<li><strong>Scalable</strong>: no need for expensive infrastructure ~ your code runs in
207
+
your user's browser.</li>
208
+
<li><strong>Shareable</strong>: applications are just a URL on the web. That's it!</li>
209
+
<li><strong>Universal</strong>: your code runs anywhere a browser runs... which is
210
+
<em>everywhere</em>!</li>
211
+
<li><strong>Secure</strong>: PyScript runs in the world's most battle-tested computing
212
+
platform, the browser!</li>
213
+
<li><strong>Powerful</strong>: the best of the web and Python, together at last.</li>
214
+
</ul>
215
+
197
216
</div>
198
217
<!-- end readme content -->
199
218
@@ -296,5 +315,16 @@ <h2>What is PyScript? Well, here are some of the core components:</h2>
0 commit comments