Skip to content

DOC Update project subtitle to be more general#1246

Merged
rth merged 3 commits intopyodide:masterfrom
rth:update-subtitle
Feb 15, 2021
Merged

DOC Update project subtitle to be more general#1246
rth merged 3 commits intopyodide:masterfrom
rth:update-subtitle

Conversation

@rth
Copy link
Copy Markdown
Member

@rth rth commented Feb 12, 2021

Closes #553

Changes the project subtitle to be more general.

From

The Python scientific stack, compiled to WebAssembly.

to

Python and the scientific stack, compiled to WebAssembly.

Or maybe

Python, and the scientific Python stack, compiled to WebAssembly.

(not sure if we need a comma after Python).

The vast majority of users don't use the scientific stack and just use Python with Pyodide (e.g. for teaching). Also a number of included packages are not scientific packages, so maybe we should go with a more general

Python, compiled to WebAssembly

as suggested in #553

WDYT?

## What is Pyodide?

**Pyodide** brings the Python 3.8 runtime to the browser via WebAssembly, along with the Python scientific stack including NumPy, Pandas, Matplotlib, parts of SciPy, and NetworkX. The [`packages` directory](https://github.com/iodide-project/pyodide/tree/master/packages) lists over 35 packages which are currently available.
**Pyodide** brings the Python 3.8 runtime to the browser via WebAssembly, along with the Python scientific stack including NumPy, Pandas, Matplotlib, SciPy, and scikit-learn. The [`packages` directory](https://github.com/iodide-project/pyodide/tree/master/packages) lists over 75 packages which are currently available. In addition it's possible to install pure Python wheels from PyPi.
Copy link
Copy Markdown
Member Author

@rth rth Feb 12, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

scikit-learn probably has a larger user base than networkx, and my personal goal is to make scikit-learn work well in pyodide :) It was mostly blocked by scipy previously, which should be resolved now.

docs/index.rst Outdated
Pyodide may be used in several ways: directly from JavaScript, or to execute
Python scripts asynchronously in a web worker. Although still experimental,
additional packages may be installed from PyPI to be used with Pyodide.
Python scripts asynchronously in a web worker. Additional packages may be
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

micropip is as experimental as everything else in pyodiode, I'm not sure we need to highlight it specifically.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This version sounds much better. Maybe we could also name it

Additional pure Python packages may be installed from PyPI to be used with Pyodide.

@hoodmane
Copy link
Copy Markdown
Member

Like the commenter in #593, I mostly have no interest in most of the Python scientific stack. (I care about mathematical computing, but I don't do anything with floating point arithmetic, instead most of what I do is arithmetic in finite fields.)
However, when evaluating various web python implementations, what I was looking for was maximum compatibility with the real python ecosystem. So reading "Python scientific stack" I think (1) it has a bunch of stuff I don't use (2) they can use Python packages written in C. The latter is a big selling point for me, I don't think any of the alternatives offer anything like it.

From a pedagogical perspective, the high degree of compatibility with native CPython is desirable because if you teach students in Pyodide, any difference between the behavior of Pyodide and the behavior of CPython is likely to end up confusing them. The fact that our primary goal is maximizing the compatibility (because you want a large number of packages to work) ends up making Pyodide a relatively good tool for teaching.

Anyways "Python and the scientific stack, compiled to WebAssembly" sounds good to me.

README.md Outdated
[![Documentation Status](https://readthedocs.org/projects/pyodide/badge/?version=latest)](https://pyodide.readthedocs.io/?badge=latest)

The Python scientific stack, compiled to WebAssembly.
Python and the scientific stack, compiled to WebAssembly.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about

Python, including the scientific stack, compiled to WebAssembly.

? Or

Python in WebAssembly - And no compromises!

okay latter one is a little joke maybe. For me, your original draft is also just fine.

@rth
Copy link
Copy Markdown
Member Author

rth commented Feb 15, 2021

Python, including the scientific stack, compiled to WebAssembly.

Including might be a bit too long in the title, also I'm not sure what's the correct name for this grammatical construction but the two commas make it a bit harder to read IMO. How about,

Python with the scientific stack, compiled to WebAssembly

It might be a bit better than "and"

@phorward
Copy link
Copy Markdown
Member

Including might be a bit too long in the title, also I'm not sure what's the correct name for this grammatical construction but the two commas make it a bit harder to read IMO. How about,

Python with the scientific stack, compiled to WebAssembly

It might be a bit better than "and"

That is nice. What about this comment?

@rth
Copy link
Copy Markdown
Member Author

rth commented Feb 15, 2021

That is nice. What about this comment?

Thanks done!

@rth rth merged commit a79e289 into pyodide:master Feb 15, 2021
@rth rth deleted the update-subtitle branch February 15, 2021 20:27
Pyodide may be used in several ways: directly from JavaScript, or to execute
Python scripts asynchronously in a web worker. Additional packages may be
installed from PyPI to be used with Pyodide.
Python scripts asynchronously in a web worker. Additional Pure python packages
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably should be "pure" with a lower case p and "Python" with an upper case P.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, probably. I'll have to do another PR to improve the documentation now...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Thinking Big

3 participants