Skip to content

Commit 0bad373

Browse files
authored
Initial commit
0 parents  commit 0bad373

30 files changed

+5388
-0
lines changed

.github/workflows/deploy.yml

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: Build and Deploy
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- '*'
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
- name: Setup Python
18+
uses: actions/setup-python@v5
19+
with:
20+
python-version: '3.11'
21+
- name: Install the dependencies
22+
run: |
23+
python -m pip install -r requirements.txt
24+
- name: Build the JupyterLite site
25+
run: |
26+
cp README.md content
27+
jupyter lite build --contents content --output-dir dist
28+
- name: Upload artifact
29+
uses: actions/upload-pages-artifact@v3
30+
with:
31+
path: ./dist
32+
33+
deploy:
34+
needs: build
35+
if: github.ref == 'refs/heads/main'
36+
permissions:
37+
pages: write
38+
id-token: write
39+
40+
environment:
41+
name: github-pages
42+
url: ${{ steps.deployment.outputs.page_url }}
43+
44+
runs-on: ubuntu-latest
45+
steps:
46+
- name: Deploy to GitHub Pages
47+
id: deployment
48+
uses: actions/deploy-pages@v4

.gitignore

+116
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
*.bundle.*
2+
lib/
3+
node_modules/
4+
.yarn-packages/
5+
*.egg-info/
6+
.ipynb_checkpoints
7+
*.tsbuildinfo
8+
9+
# Created by https://www.gitignore.io/api/python
10+
# Edit at https://www.gitignore.io/?templates=python
11+
12+
### Python ###
13+
# Byte-compiled / optimized / DLL files
14+
__pycache__/
15+
*.py[cod]
16+
*$py.class
17+
18+
# C extensions
19+
*.so
20+
21+
# Distribution / packaging
22+
.Python
23+
build/
24+
develop-eggs/
25+
dist/
26+
downloads/
27+
eggs/
28+
.eggs/
29+
lib/
30+
lib64/
31+
parts/
32+
sdist/
33+
var/
34+
wheels/
35+
pip-wheel-metadata/
36+
share/python-wheels/
37+
.installed.cfg
38+
*.egg
39+
MANIFEST
40+
41+
# PyInstaller
42+
# Usually these files are written by a python script from a template
43+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
44+
*.manifest
45+
*.spec
46+
47+
# Installer logs
48+
pip-log.txt
49+
pip-delete-this-directory.txt
50+
51+
# Unit test / coverage reports
52+
htmlcov/
53+
.tox/
54+
.nox/
55+
.coverage
56+
.coverage.*
57+
.cache
58+
nosetests.xml
59+
coverage.xml
60+
*.cover
61+
.hypothesis/
62+
.pytest_cache/
63+
64+
# Translations
65+
*.mo
66+
*.pot
67+
68+
# Scrapy stuff:
69+
.scrapy
70+
71+
# Sphinx documentation
72+
docs/_build/
73+
74+
# PyBuilder
75+
target/
76+
77+
# pyenv
78+
.python-version
79+
80+
# celery beat schedule file
81+
celerybeat-schedule
82+
83+
# SageMath parsed files
84+
*.sage.py
85+
86+
# Spyder project settings
87+
.spyderproject
88+
.spyproject
89+
90+
# Rope project settings
91+
.ropeproject
92+
93+
# Mr Developer
94+
.mr.developer.cfg
95+
.project
96+
.pydevproject
97+
98+
# mkdocs documentation
99+
/site
100+
101+
# mypy
102+
.mypy_cache/
103+
.dmypy.json
104+
dmypy.json
105+
106+
# Pyre type checker
107+
.pyre/
108+
109+
# OS X stuff
110+
*.DS_Store
111+
112+
# End of https://www.gitignore.io/api/python
113+
114+
# jupyterlite
115+
*.doit.db
116+
_output

.nojekyll

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

README.md

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# JupyterLite Demo
2+
3+
[![lite-badge](https://jupyterlite.rtfd.io/en/latest/_static/badge.svg)](https://jupyterlite.github.io/demo)
4+
5+
JupyterLite deployed as a static site to GitHub Pages, for demo purposes.
6+
7+
## ✨ Try it in your browser ✨
8+
9+
➡️ **https://jupyterlite.github.io/demo**
10+
11+
![github-pages](https://user-images.githubusercontent.com/591645/120649478-18258400-c47d-11eb-80e5-185e52ff2702.gif)
12+
13+
## Requirements
14+
15+
JupyterLite is being tested against modern web browsers:
16+
17+
- Firefox 90+
18+
- Chromium 89+
19+
20+
## Deploy your JupyterLite website on GitHub Pages
21+
22+
Check out the guide on the JupyterLite documentation: https://jupyterlite.readthedocs.io/en/latest/quickstart/deploy.html
23+
24+
## Further Information and Updates
25+
26+
For more info, keep an eye on the JupyterLite documentation:
27+
28+
- How-to Guides: https://jupyterlite.readthedocs.io/en/latest/howto/index.html
29+
- Reference: https://jupyterlite.readthedocs.io/en/latest/reference/index.html

content/data/Museums_in_DC.geojson

+1
Large diffs are not rendered by default.

content/data/bar.vl.json

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"data": {
3+
"values": [
4+
{
5+
"a": "A",
6+
"b": 28
7+
},
8+
{
9+
"a": "B",
10+
"b": 55
11+
},
12+
{
13+
"a": "C",
14+
"b": 43
15+
},
16+
{
17+
"a": "D",
18+
"b": 91
19+
},
20+
{
21+
"a": "E",
22+
"b": 81
23+
},
24+
{
25+
"a": "F",
26+
"b": 53
27+
},
28+
{
29+
"a": "G",
30+
"b": 19
31+
},
32+
{
33+
"a": "H",
34+
"b": 87
35+
},
36+
{
37+
"a": "I",
38+
"b": 52
39+
}
40+
]
41+
},
42+
"description": "A simple bar chart with embedded data.",
43+
"encoding": {
44+
"x": {
45+
"field": "a",
46+
"type": "ordinal"
47+
},
48+
"y": {
49+
"field": "b",
50+
"type": "quantitative"
51+
}
52+
},
53+
"mark": "bar"
54+
}

content/data/fasta-example.fasta

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
>SEQUENCE_1
2+
MTEITAAMVKELRESTGAGMMDCKNALSETNGDFDKAVQLLREKGLGKAAKKADRLAAEG
3+
LVSVKVSDDFTIAAMRPSYLSYEDLDMTFVENEYKALVAELEKENEERRRLKDPNKPEHK
4+
IPQFASRKQLSDAILKEAEEKIKEELKAQGKPEKIWDNIIPGKMNSFIADNSQLDSKLTL
5+
MGQFYVMDDKKTVEQVIAEKEKEFGGKIKIVEFICFEVGEGLEKKTEDFAAEVAAQL
6+
>SEQUENCE_2
7+
SATVSEINSETDFVAKNDQFIALTKDTTAHIQSNSLQSVEELHSSTINGVKFEEYLKSQI
8+
ATIGENLVVRRFATLKAGANGVVNGYIHTNGRVGVVIAAACDSAEVASKSRDLLRQICMH

0 commit comments

Comments
 (0)