Comments (6)
Even if the data was somehow chunked, so only the packages that were actually imported were downloaded, would be great.
from xeus-python-kernel.
As mentioned above, python_data.data
size goes up quickly when adding more packages. For example the command below creates a python_data.data
file which is 117MB big which only a few "reasonably standard" packages (scikit-learn,matplotlib-base,seaborn,plotly
):
jupyter lite build --XeusPythonEnv.packages=scikit-learn,matplotlib-base,seaborn,plotly
In practice it means that you can not use github pages to deploy your site, since there is a 100MB per-file limit.
I am aware you can use alternative options (e.g. Netlify) but I would guess that pushing into github pages is the simple setup and is likely to be used by a significant portion of people.
Also, for set-ups that push into a gh-pages
branch (or .github.io
repo) on each commit to main
(scikit-learn does that but I am guessing others do as well), even if we are below 100MB, it also means the github repo size may grow quickly, which makes it a bit painful to interact with (e.g. long git
commands).
from xeus-python-kernel.
I already implemented such chunking, this will be added in one of the next releases
from xeus-python-kernel.
Great to hear that, just curious (and to get a better idea of the landscape), in one of the next releases of which project? jupyterlite, emscripten-forge, jupyterlite-xeus-python, something else?
from xeus-python-kernel.
This was done in empack
, the tool that we use for "packing" the Python environment, we still need to make use of it in jupyterlite-xeus-python
.
from xeus-python-kernel.
Nice, thanks!
from xeus-python-kernel.
Related Issues (20)
- Update to the new `empack` HOT 8
- Failed to start the kernel (xeus-python 0.15.9) HOT 2
- Package conflicts when trying a build HOT 3
- When I tried to execute a simple Python code on a local standalone server, the code never succeeds forever. HOT 4
- Added the disabledExtensions option into the jupyter-lite.json to opt out two kernels in the UI but it doesn't work. HOT 2
- from jupyterlite_xeus_python import __version__ gives None
- jupyter lite build broken ? HOT 4
- Upgrade to 0.9.0 results in `package is excluded by strict repo priority` HOT 14
- Safari Support HOT 5
- Registered kernel spec name does not match the name served by jupyer-server HOT 1
- Mix using Python and Javascript in Xeus just like in Pyodide HOT 1
- build fails on Windows11/conda FileNotFoundError
- `FileNotFoundError` opening files with pandas that were previously visible HOT 1
- If pip is included in the environment.yml file as a dependency, we should automatically drop it HOT 1
- Enable ESLint for `ui-tests`
- Failed to load resource: the server responded with a status of 404 HOT 4
- Inclusion of `wasm`, `tar.gz` and other ignored files in the hatch `shared-data`
- Make `0.x` versions of `jupyterlite-xeus-python` compatible with JupyterLite 0.2.0 HOT 1
- Test critical packages on CI
- Publish 1.0.0? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xeus-python-kernel.