Skip to content

Commit 072a3e3

Browse files
committed
init
0 parents  commit 072a3e3

139 files changed

Lines changed: 32901 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/dependabot.yml‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
version: 2
2+
3+
# Dependabot alerts and security updates are repository settings rather than
4+
# configuration, and are enabled separately. This file covers version updates,
5+
# which are what keep a pinned floor from drifting years behind.
6+
updates:
7+
# Declared in pyproject.toml: the two core dependencies and every optional
8+
# extra.
9+
- package-ecosystem: pip
10+
directory: /
11+
schedule:
12+
interval: weekly
13+
14+
# The actions used by the CodeQL workflow. Without this they stay at whatever
15+
# major tag was written and never pick up a fix.
16+
- package-ecosystem: github-actions
17+
directory: /
18+
schedule:
19+
interval: weekly

‎.github/workflows/codeql.yml‎

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: CodeQL
2+
3+
# Static analysis on every change to the default branch, on pull requests
4+
# targeting it, and once a week so that newly published queries reach code
5+
# that has not changed.
6+
on:
7+
push:
8+
branches: [main]
9+
pull_request:
10+
branches: [main]
11+
schedule:
12+
# Monday 04:32 UTC. An off-the-hour minute keeps the job out of the
13+
# scheduling spike that lands on every :00.
14+
- cron: "32 4 * * 1"
15+
16+
jobs:
17+
analyze:
18+
name: Analyze Python
19+
runs-on: ubuntu-latest
20+
timeout-minutes: 60
21+
permissions:
22+
# Uploading results to the Security tab is what security-events grants.
23+
security-events: write
24+
contents: read
25+
actions: read
26+
27+
steps:
28+
- name: Check out the repository
29+
uses: actions/checkout@v4
30+
31+
- name: Initialize CodeQL
32+
uses: github/codeql-action/init@v3
33+
with:
34+
languages: python
35+
# Python is interpreted, so CodeQL reads the sources directly and
36+
# the package's heavy optional extras never have to be installed.
37+
build-mode: none
38+
39+
- name: Analyze
40+
uses: github/codeql-action/analyze@v3
41+
with:
42+
category: "/language:python"

‎.github/workflows/pages.yml‎

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Deploy demos to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [main]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: pages
15+
cancel-in-progress: false
16+
17+
jobs:
18+
build:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: actions/checkout@v4
22+
- uses: actions/setup-node@v4
23+
with:
24+
node-version: 20
25+
cache: npm
26+
- run: npm ci
27+
- run: npm run build
28+
- run: npm run site:build
29+
- name: Compose site
30+
run: |
31+
mkdir -p _site
32+
cp -R site/dist/* _site/
33+
- uses: actions/upload-pages-artifact@v3
34+
with:
35+
path: _site
36+
37+
deploy:
38+
needs: build
39+
runs-on: ubuntu-latest
40+
environment:
41+
name: github-pages
42+
url: ${{ steps.deployment.outputs.page_url }}
43+
steps:
44+
- id: deployment
45+
uses: actions/deploy-pages@v4

‎.gitignore‎

Lines changed: 231 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,231 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[codz]
4+
*$py.class
5+
6+
# C extensions
7+
*.so
8+
9+
# Distribution / packaging
10+
.Python
11+
build/
12+
develop-eggs/
13+
dist/
14+
downloads/
15+
eggs/
16+
.eggs/
17+
lib/
18+
lib64/
19+
parts/
20+
sdist/
21+
var/
22+
wheels/
23+
share/python-wheels/
24+
*.egg-info/
25+
.installed.cfg
26+
*.egg
27+
MANIFEST
28+
29+
# JavaScript / TypeScript
30+
node_modules/
31+
*.tsbuildinfo
32+
33+
# PyInstaller
34+
# Usually these files are written by a python script from a template
35+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
36+
*.manifest
37+
*.spec
38+
39+
# Installer logs
40+
pip-log.txt
41+
pip-delete-this-directory.txt
42+
43+
# Unit test / coverage reports
44+
htmlcov/
45+
.tox/
46+
.nox/
47+
.coverage
48+
.coverage.*
49+
.cache
50+
nosetests.xml
51+
coverage.xml
52+
*.cover
53+
*.py.cover
54+
.hypothesis/
55+
.pytest_cache/
56+
cover/
57+
58+
# Translations
59+
*.mo
60+
*.pot
61+
62+
# Django stuff:
63+
*.log
64+
local_settings.py
65+
db.sqlite3
66+
db.sqlite3-journal
67+
68+
# Flask stuff:
69+
instance/
70+
.webassets-cache
71+
72+
# Scrapy stuff:
73+
.scrapy
74+
75+
# Sphinx documentation
76+
docs/_build/
77+
78+
# PyBuilder
79+
.pybuilder/
80+
target/
81+
82+
# Jupyter Notebook
83+
.ipynb_checkpoints
84+
85+
# IPython
86+
profile_default/
87+
ipython_config.py
88+
89+
# pyenv
90+
# For a library or package, you might want to ignore these files since the code is
91+
# intended to run in multiple environments; otherwise, check them in:
92+
# .python-version
93+
94+
# pipenv
95+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
96+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
97+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
98+
# install all needed dependencies.
99+
# Pipfile.lock
100+
101+
# UV
102+
# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
103+
# This is especially recommended for binary packages to ensure reproducibility, and is more
104+
# commonly ignored for libraries.
105+
# uv.lock
106+
107+
# poetry
108+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
109+
# This is especially recommended for binary packages to ensure reproducibility, and is more
110+
# commonly ignored for libraries.
111+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
112+
# poetry.lock
113+
# poetry.toml
114+
115+
# pdm
116+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
117+
# pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
118+
# https://pdm-project.org/en/latest/usage/project/#working-with-version-control
119+
# pdm.lock
120+
# pdm.toml
121+
.pdm-python
122+
.pdm-build/
123+
124+
# pixi
125+
# Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
126+
# pixi.lock
127+
# Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
128+
# in the .venv directory. It is recommended not to include this directory in version control.
129+
.pixi
130+
131+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
132+
__pypackages__/
133+
134+
# Celery stuff
135+
celerybeat-schedule
136+
celerybeat.pid
137+
138+
# Redis
139+
*.rdb
140+
*.aof
141+
*.pid
142+
143+
# RabbitMQ
144+
mnesia/
145+
rabbitmq/
146+
rabbitmq-data/
147+
148+
# ActiveMQ
149+
activemq-data/
150+
151+
# SageMath parsed files
152+
*.sage.py
153+
154+
# Environments
155+
.env
156+
.envrc
157+
.venv
158+
env/
159+
venv/
160+
ENV/
161+
env.bak/
162+
venv.bak/
163+
164+
# Spyder project settings
165+
.spyderproject
166+
.spyproject
167+
168+
# Rope project settings
169+
.ropeproject
170+
171+
# mkdocs documentation
172+
173+
# mypy
174+
.mypy_cache/
175+
.dmypy.json
176+
dmypy.json
177+
178+
# Pyre type checker
179+
.pyre/
180+
181+
# pytype static type analyzer
182+
.pytype/
183+
184+
# Cython debug symbols
185+
cython_debug/
186+
187+
# PyCharm
188+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
189+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
190+
# and can be added to the global gitignore or merged into this file. For a more nuclear
191+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
192+
# .idea/
193+
194+
# Abstra
195+
# Abstra is an AI-powered process automation framework.
196+
# Ignore directories containing user credentials, local state, and settings.
197+
# Learn more at https://abstra.io/docs
198+
.abstra/
199+
200+
# Visual Studio Code
201+
# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
202+
# that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
203+
# and can be added to the global gitignore or merged into this file. However, if you prefer,
204+
# you could uncomment the following to ignore the entire vscode folder
205+
# .vscode/
206+
# Temporary file for partial code execution
207+
tempCodeRunnerFile.py
208+
209+
# Ruff stuff:
210+
.ruff_cache/
211+
212+
# PyPI configuration file
213+
.pypirc
214+
215+
# Marimo
216+
marimo/_static/
217+
marimo/_lsp/
218+
__marimo__/
219+
220+
# Streamlit
221+
.streamlit/secrets.toml
222+
223+
# Run artifacts. Hydra writes a dated directory per launch and ms-swift writes
224+
# checkpoints; both carry the absolute paths of the machine that ran them.
225+
outputs/
226+
output/
227+
wandb/
228+
229+
# Stale bytecode of deleted modules survives a checkout and makes setuptools
230+
# discover packages whose sources are gone.
231+
__pycache__/

‎LICENSE‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) Microsoft Corporation.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)