-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add projects' interactive documentation #19
Comments
As a quick update:
|
Also related: a fair amount of work is going into making binary wheels smaller (e.g. the machinery to strip off tests and data with a single build flag), reducing the number of build variants in compiled code, etc. Small binaries will be quite important to make the user experience good, because downloading many MBs of packages yields high latency and can be costly when a user doesn't have a connection with unlimited bandwidth. |
@agriyakhetarpal it may be useful to have a Status table in the issue description here (just like in gh-18), linking to deployed interactive docs and/or open PRs. Would you be able to create one? |
Yes, I'll do this in a moment, @rgommers. I expect that my interactive docs work will increase in magnitude in the coming months. |
With respect to installing nightly wheels when running jupyter-lite:
Alternatives to a patch in pyodide-kernel are:
See also |
I've been working on a similar problem and am now using the following solution (not quite for micropip installs since I need locked environments):
|
📝 Summary
Expand the availability of interactive documentation examples and tutorials to at least five projects.
🚀 Tasks / Deliverables
See the "Status" section below
📅 Estimated completion
24 months milestone
📋 Additional information
Status
Interactive documentation websites for projects: insights
This table is best complemented by the one in #18 which contains further linked PRs about out-of-tree Pyodide/WASM CI builds (first column here) and around PRs linked towards the availability of nightly wheels (third column here). The nightly wheels for projects have been hosted on the Anaconda.org PyPI index at https://anaconda.org/scientific-python-nightly-wheels. For the lack of CORS headers around the installation of nightly wheels, please refer to pyodide/pyodide#4898. For discussions predating this choice where thoughts pertaining to an ideal location for nightly wheels were being exchanged, please refer to pyodide/pyodide#3049.
awkward
andawkward-cpp
jupyterlite-sphinx
yetscikit-learn
scikit-image
cibuildwheel
to support it via pypa/cibuildwheel#2117statsmodels
numcodecs
numcodecs
is not particularly user-facing and is not a major dependency for Zarr's codecsflang
via LLVM 19 via pyodide/pyodide#5030 to cross-compile F77/F90 code to WASM directly instead off2c
, needs experimentationscipy.stats
notebooks were deployed for a start in in scipy/scipy#20303 and scipy/scipy#21042 in a similar fashion to PyWavelets's above – via Jupytext for documentation build-time conversion from reST to MyST Markdown notebooksjupyterlite-sphinx
's style applied via sympy/sympy#27419, awaiting merge. Additional context: interactive doctest-based examples used to exist with a server-side Google App Engine deployment and a Sphinx extension, but have been long deprecated.h5py
and libhdf5Miscellaneous items of note
Installation of nightly wheels for projects' "dev"/"latest" docs websites
--index-urls
CLI command forpiplite
is in progress at Add a--index-urls
CLI flag for pip-install magics jupyterlite/pyodide-kernel#166Communication and adoption
See #17 for interactive docs SPEC – first draft in progress by @agriyakhetarpal as of 21/02/2025
Notebook styling improvements for docs
See #142 for the major round-up around design decisions for the docs.
Gist: DOC: Add interactive notebooks to pages in the "Usage Examples" section PyWavelets/pywt#741 added better notebook input/output styling, with upstreaming and standardisation to take place in the PyData Sphinx Theme and notebook collaborators.
Super compact error for docs tracebacks ipython/ipython#14591 addressed via Create a new xmode "Docs" ipython/ipython#14752, brings as small a traceback as possible for docs; awaits Python 9.0 release for usage.
The text was updated successfully, but these errors were encountered: