Skip to content

Commit

Permalink
chore: add source code
Browse files Browse the repository at this point in the history
  • Loading branch information
orangekame3 committed Dec 4, 2024
1 parent 8a38e26 commit f585e6a
Show file tree
Hide file tree
Showing 324 changed files with 45,073 additions and 1 deletion.
42 changes: 42 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
FROM python:3.10.14-slim-bookworm

RUN apt-get update && apt-get install -y \
sudo \
vim \
git \
curl \
wget \
gcc \
g++ \
libpq-dev \
make \
cmake \
libcairo2-dev \
libgirepository1.0-dev \
python3-dev \
gir1.2-gtk-3.0\
pkg-config \
libhdf5-dev \
jq \
&& rm -rf /var/lib/apt/lists/*


RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python get-pip.py && rm get-pip.py

WORKDIR /workspace/qdash

COPY ./.devcontainer/requirements.txt .
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
RUN uv pip install --system --no-cache -r requirements.txt

RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash -
RUN apt-get install -y nodejs

# COPY ./client/package*.json ./client/pnpm-lock.yaml ./
# RUN npm install -g pnpm
# RUN pnpm install
COPY ./client/package*.json ./
# pnpm をインストール
#RUN npm install -g pnpm
RUN npm install
RUN npm install -g @go-task/cli
25 changes: 25 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"name": "qdash",
"dockerComposeFile": ["../compose.dev.yaml"],
"service": "devcontainer",
"workspaceFolder": "/workspace/qdash",
"customizations": {
"vscode": {
"extensions": [
"MS-CEINTL.vscode-language-pack-ja",
"esbenp.prettier-vscode",
"charliermarsh.ruff",
"ms-python.python",
"markdownlint.markdownlint",
"ms-azuretools.vscode-docker",
"EditorConfig.EditorConfig",
"dbaeumer.vscode-eslint",
"ms-python.mypy-type-checker"
],
"settings": {
"python.defaultInterpreterPath": ".venv/bin/python"
}
}
},
"remoteUser": "root"
}
187 changes: 187 additions & 0 deletions .devcontainer/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,187 @@
annotated-types==0.7.0 ; python_version >= "3.10" and python_version < "3.13"
anyio==4.6.2.post1 ; python_version >= "3.10" and python_version < "3.13"
asgi-lifespan==2.1.0 ; python_version >= "3.10" and python_version < "3.13"
asteval==1.0.5 ; python_version >= "3.10" and python_version < "3.13"
asttokens==3.0.0 ; python_version >= "3.10" and python_version < "3.13"
attrs==24.2.0 ; python_version >= "3.10" and python_version < "3.13"
automat==24.8.1 ; python_version >= "3.10" and python_version < "3.13"
bcrypt==4.2.1 ; python_version >= "3.10" and python_version < "3.13"
bunnet==1.3.0 ; python_version >= "3.10" and python_version < "3.13"
cachetools==5.5.0 ; python_version >= "3.10" and python_version < "3.13"
certifi==2024.8.30 ; python_version >= "3.10" and python_version < "3.13"
cffi==1.17.1 ; python_version >= "3.10" and python_version < "3.13"
charset-normalizer==3.4.0 ; python_version >= "3.10" and python_version < "3.13"
cirq-aqt==1.4.1 ; python_version >= "3.10" and python_version < "3.13"
cirq-core==1.4.1 ; python_version >= "3.10" and python_version < "3.13"
cirq-google==1.4.1 ; python_version >= "3.10" and python_version < "3.13"
cirq-ionq==1.4.1 ; python_version >= "3.10" and python_version < "3.13"
cirq-pasqal==1.4.1 ; python_version >= "3.10" and python_version < "3.13"
cirq-rigetti==1.4.1 ; python_version >= "3.10" and python_version < "3.13"
cirq-web==1.4.1 ; python_version >= "3.10" and python_version < "3.13"
cirq==1.4.1 ; python_version >= "3.10" and python_version < "3.13"
click==8.1.7 ; python_version >= "3.10" and python_version < "3.13"
cloudpickle==3.1.0 ; python_version >= "3.10" and python_version < "3.13"
colorama==0.4.6 ; python_version >= "3.10" and python_version < "3.13"
constantly==23.10.4 ; python_version >= "3.10" and python_version < "3.13"
contourpy==1.3.1 ; python_version >= "3.10" and python_version < "3.13"
coolname==2.2.0 ; python_version >= "3.10" and python_version < "3.13"
coverage[toml]==7.6.8 ; python_version >= "3.10" and python_version < "3.13"
croniter==2.0.7 ; python_version >= "3.10" and python_version < "3.13"
cryptography==44.0.0 ; python_version >= "3.10" and python_version < "3.13"
cycler==0.12.1 ; python_version >= "3.10" and python_version < "3.13"
decorator==5.1.1 ; python_version >= "3.10" and python_version < "3.13"
deprecated==1.2.15 ; python_version >= "3.10" and python_version < "3.13"
dill==0.3.9 ; python_version >= "3.10" and python_version < "3.13"
dnspython==2.7.0 ; python_version >= "3.10" and python_version < "3.13"
duet==0.2.9 ; python_version >= "3.10" and python_version < "3.13"
email-validator==2.2.0 ; python_version >= "3.10" and python_version < "3.13"
exceptiongroup==1.2.2 ; python_version >= "3.10" and python_version < "3.13"
executing==2.1.0 ; python_version >= "3.10" and python_version < "3.13"
fastapi-cli==0.0.5 ; python_version >= "3.10" and python_version < "3.13"
fastapi==0.111.1 ; python_version >= "3.10" and python_version < "3.13"
filelock==3.16.1 ; python_version >= "3.10" and python_version < "3.13"
fonttools==4.55.1 ; python_version >= "3.10" and python_version < "3.13"
fsspec==2024.10.0 ; python_version >= "3.10" and python_version < "3.13"
google-api-core[grpc]==2.23.0 ; python_version >= "3.10" and python_version < "3.13"
google-auth==2.36.0 ; python_version >= "3.10" and python_version < "3.13"
googleapis-common-protos==1.66.0 ; python_version >= "3.10" and python_version < "3.13"
graphviz==0.20.3 ; python_version >= "3.10" and python_version < "3.13"
griffe==1.5.1 ; python_version >= "3.10" and python_version < "3.13"
grpc-interceptor==0.15.4 ; python_version >= "3.10" and python_version < "3.13"
grpcio-status==1.62.3 ; python_version >= "3.10" and python_version < "3.13"
grpcio==1.68.1 ; python_version >= "3.10" and python_version < "3.13"
gunicorn==22.0.0 ; python_version >= "3.10" and python_version < "3.13"
h11==0.14.0 ; python_version >= "3.10" and python_version < "3.13"
h2==4.1.0 ; python_version >= "3.10" and python_version < "3.13"
h5py==3.12.1 ; python_version >= "3.10" and python_version < "3.13"
hpack==4.0.0 ; python_version >= "3.10" and python_version < "3.13"
httpcore==1.0.7 ; python_version >= "3.10" and python_version < "3.13"
httptools==0.6.4 ; python_version >= "3.10" and python_version < "3.13"
httpx==0.28.0 ; python_version >= "3.10" and python_version < "3.13"
httpx[http2]==0.28.0 ; python_version >= "3.10" and python_version < "3.13"
hyperframe==6.0.1 ; python_version >= "3.10" and python_version < "3.13"
hyperlink==21.0.0 ; python_version >= "3.10" and python_version < "3.13"
idna==3.10 ; python_version >= "3.10" and python_version < "3.13"
importlib-resources==6.4.5 ; python_version >= "3.10" and python_version < "3.13"
incremental==24.7.2 ; python_version >= "3.10" and python_version < "3.13"
iniconfig==2.0.0 ; python_version >= "3.10" and python_version < "3.13"
ipython==8.30.0 ; python_version >= "3.10" and python_version < "3.13"
itsdangerous==2.2.0 ; python_version >= "3.10" and python_version < "3.13"
jedi==0.19.2 ; python_version >= "3.10" and python_version < "3.13"
jinja2==3.1.4 ; python_version >= "3.10" and python_version < "3.13"
joblib==1.4.2 ; python_version >= "3.10" and python_version < "3.13"
jsonpatch==1.33 ; python_version >= "3.10" and python_version < "3.13"
jsonpointer==3.0.0 ; python_version >= "3.10" and python_version < "3.13"
jsonschema-specifications==2024.10.1 ; python_version >= "3.10" and python_version < "3.13"
jsonschema==4.23.0 ; python_version >= "3.10" and python_version < "3.13"
kiwisolver==1.4.7 ; python_version >= "3.10" and python_version < "3.13"
lazy-model==0.2.0 ; python_version >= "3.10" and python_version < "3.13"
lmfit==1.3.2 ; python_version >= "3.10" and python_version < "3.13"
markdown-it-py==3.0.0 ; python_version >= "3.10" and python_version < "3.13"
markupsafe==3.0.2 ; python_version >= "3.10" and python_version < "3.13"
matplotlib-inline==0.1.7 ; python_version >= "3.10" and python_version < "3.13"
matplotlib==3.9.3 ; python_version >= "3.10" and python_version < "3.13"
mdurl==0.1.2 ; python_version >= "3.10" and python_version < "3.13"
mpmath==1.3.0 ; python_version >= "3.10" and python_version < "3.13"
msgpack==1.1.0 ; python_version >= "3.10" and python_version < "3.13"
mypy-extensions==1.0.0 ; python_version >= "3.10" and python_version < "3.13"
mypy==1.13.0 ; python_version >= "3.10" and python_version < "3.13"
networkx==2.8.8 ; python_version >= "3.10" and python_version < "3.13"
numpy==1.26.4 ; python_version >= "3.10" and python_version < "3.13"
orjson==3.10.12 ; python_version >= "3.10" and python_version < "3.13"
packaging==23.2 ; python_version >= "3.10" and python_version < "3.13"
pandas==2.2.3 ; python_version >= "3.10" and python_version < "3.13"
paramiko==3.5.0 ; python_version >= "3.10" and python_version < "3.13"
parso==0.8.4 ; python_version >= "3.10" and python_version < "3.13"
pathspec==0.12.1 ; python_version >= "3.10" and python_version < "3.13"
pendulum==2.1.2 ; python_version >= "3.10" and python_version < "3.12"
pendulum==3.0.0 ; python_version >= "3.12" and python_version < "3.13"
pexpect==4.9.0 ; python_version >= "3.10" and python_version < "3.13" and (sys_platform != "win32" and sys_platform != "emscripten")
pillow==11.0.0 ; python_version >= "3.10" and python_version < "3.13"
pluggy==1.5.0 ; python_version >= "3.10" and python_version < "3.13"
prefect-client==2.20.10 ; python_version >= "3.10" and python_version < "3.13"
prompt-toolkit==3.0.48 ; python_version >= "3.10" and python_version < "3.13"
proto-plus==1.25.0 ; python_version >= "3.10" and python_version < "3.13"
protobuf==4.25.5 ; python_version >= "3.10" and python_version < "3.13"
ptyprocess==0.7.0 ; python_version >= "3.10" and python_version < "3.13" and (sys_platform != "win32" and sys_platform != "emscripten")
pure-eval==0.2.3 ; python_version >= "3.10" and python_version < "3.13"
pyasn1-modules==0.4.1 ; python_version >= "3.10" and python_version < "3.13"
pyasn1==0.6.1 ; python_version >= "3.10" and python_version < "3.13"
pycparser==2.22 ; python_version >= "3.10" and python_version < "3.13"
pydantic-core==2.27.1 ; python_version >= "3.10" and python_version < "3.13"
pydantic-settings==2.6.1 ; python_version >= "3.10" and python_version < "3.13"
pydantic==2.10.2 ; python_version >= "3.10" and python_version < "3.13"
pydantic[email]==2.10.2 ; python_version >= "3.10" and python_version < "3.13"
pygments==2.18.0 ; python_version >= "3.10" and python_version < "3.13"
pylabrad==0.98.3 ; python_version >= "3.10" and python_version < "3.13"
pymongo==4.10.1 ; python_version >= "3.10" and python_version < "3.13"
pynacl==1.5.0 ; python_version >= "3.10" and python_version < "3.13"
pyopenssl==24.3.0 ; python_version >= "3.10" and python_version < "3.13"
pyparsing==3.2.0 ; python_version >= "3.10" and python_version < "3.13"
pyquil==4.14.3 ; python_version >= "3.10" and python_version < "3.13"
pytest-cov==5.0.0 ; python_version >= "3.10" and python_version < "3.13"
pytest-env==1.1.5 ; python_version >= "3.10" and python_version < "3.13"
pytest-mypy==0.10.3 ; python_version >= "3.10" and python_version < "3.13"
pytest==8.3.4 ; python_version >= "3.10" and python_version < "3.13"
python-dateutil==2.9.0.post0 ; python_version >= "3.10" and python_version < "3.13"
python-dotenv==1.0.1 ; python_version >= "3.10" and python_version < "3.13"
python-multipart==0.0.19 ; python_version >= "3.10" and python_version < "3.13"
python-rapidjson==1.20 ; python_version >= "3.10" and python_version < "3.13"
python-slugify==8.0.4 ; python_version >= "3.10" and python_version < "3.13"
pytz==2024.2 ; python_version >= "3.10" and python_version < "3.13"
pytzdata==2020.1 ; python_version >= "3.10" and python_version < "3.12"
pyyaml==6.0.2 ; python_version >= "3.10" and python_version < "3.13"
pyzmq==26.2.0 ; python_version >= "3.10" and python_version < "3.13"
qcs-api-client-common==0.10.0 ; python_version >= "3.10" and python_version < "3.13"
qcs-sdk-python==0.21.4 ; python_version >= "3.10" and python_version < "3.13"
quil==0.13.2 ; python_version >= "3.10" and python_version < "3.13"
qupy==1.1.1 ; python_version >= "3.10" and python_version < "3.13"
qutip==5.0.4 ; python_version >= "3.10" and python_version < "3.13"
referencing==0.35.1 ; python_version >= "3.10" and python_version < "3.13"
requests==2.32.3 ; python_version >= "3.10" and python_version < "3.13"
rfc3339-validator==0.1.4 ; python_version >= "3.10" and python_version < "3.13"
rich==13.9.4 ; python_version >= "3.10" and python_version < "3.13"
rpcq==3.11.0 ; python_version >= "3.10" and python_version < "3.13"
rpds-py==0.22.0 ; python_version >= "3.10" and python_version < "3.13"
rsa==4.9 ; python_version >= "3.10" and python_version < "3.13"
ruamel-yaml-clib==0.2.12 ; platform_python_implementation == "CPython" and python_version < "3.13" and python_version >= "3.10"
ruamel-yaml==0.18.6 ; python_version >= "3.10" and python_version < "3.13"
ruff==0.5.7 ; python_version >= "3.10" and python_version < "3.13"
scikit-learn==1.5.0 ; python_version >= "3.10" and python_version < "3.13"
scipy==1.14.1 ; python_version >= "3.10" and python_version < "3.13"
sentry-sdk==2.19.0 ; python_version >= "3.10" and python_version < "3.13"
service-identity==24.2.0 ; python_version >= "3.10" and python_version < "3.13"
setuptools==75.6.0 ; python_version >= "3.10" and python_version < "3.13"
shellingham==1.5.4 ; python_version >= "3.10" and python_version < "3.13"
six==1.16.0 ; python_version >= "3.10" and python_version < "3.13"
slack-sdk==3.33.4 ; python_version >= "3.10" and python_version < "3.13"
sniffio==1.3.1 ; python_version >= "3.10" and python_version < "3.13"
sortedcontainers==2.4.0 ; python_version >= "3.10" and python_version < "3.13"
sqe-fitting @ git+https://github.com/orangekame3/sqe_fitting@3106ac41b120cd1ff27077a02a6befac5d41636f ; python_version >= "3.10" and python_version < "3.13"
stack-data==0.6.3 ; python_version >= "3.10" and python_version < "3.13"
starlette==0.37.2 ; python_version >= "3.10" and python_version < "3.13"
sympy==1.13.3 ; python_version >= "3.10" and python_version < "3.13"
text-unidecode==1.3 ; python_version >= "3.10" and python_version < "3.13"
threadpoolctl==3.5.0 ; python_version >= "3.10" and python_version < "3.13"
toml==0.10.2 ; python_version >= "3.10" and python_version < "3.13"
tomli==2.2.1 ; python_version >= "3.10" and python_full_version <= "3.11.0a6"
tqdm==4.67.1 ; python_version >= "3.10" and python_version < "3.13"
traitlets==5.14.3 ; python_version >= "3.10" and python_version < "3.13"
twisted==24.11.0 ; python_version >= "3.10" and python_version < "3.13"
typer==0.14.0 ; python_version >= "3.10" and python_version < "3.13"
types-deprecated==1.2.15.20241117 ; python_version >= "3.10" and python_version < "3.13"
types-paramiko==3.5.0.20240928 ; python_version >= "3.10" and python_version < "3.13"
types-python-dateutil==2.9.0.20241003 ; python_version >= "3.10" and python_version < "3.13"
typing-extensions==4.12.2 ; python_version >= "3.10" and python_version < "3.13"
tzdata==2024.2 ; python_version >= "3.10" and python_version < "3.13"
ujson==5.10.0 ; python_version >= "3.10" and python_version < "3.13"
uncertainties==3.2.2 ; python_version >= "3.10" and python_version < "3.13"
urllib3==2.2.3 ; python_version >= "3.10" and python_version < "3.13"
uvicorn==0.30.6 ; python_version >= "3.10" and python_version < "3.13"
uvicorn[standard]==0.30.6 ; python_version >= "3.10" and python_version < "3.13"
uvloop==0.21.0 ; (sys_platform != "win32" and sys_platform != "cygwin") and platform_python_implementation != "PyPy" and python_version >= "3.10" and python_version < "3.13"
watchfiles==1.0.0 ; python_version >= "3.10" and python_version < "3.13"
wcwidth==0.2.13 ; python_version >= "3.10" and python_version < "3.13"
websockets==13.1 ; python_version >= "3.10" and python_version < "3.13"
wrapt==1.17.0 ; python_version >= "3.10" and python_version < "3.13"
zope-interface==7.2 ; python_version >= "3.10" and python_version < "3.13"
5 changes: 5 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.venv
node_modules
calib_data
mongo_data
postgres_data
26 changes: 26 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true


[*.{js,json}]
indent_size = 2

[*.{tf,tftfvars}]
indent_size = 2
indent_style = space

[*.md]
max_line_length = 0
trim_trailing_whitespace = false

[{Makefile,**.mk}]
indent_style = tab
[*.py]
indent_size = 4
55 changes: 55 additions & 0 deletions .github/workflows/deploy-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Sample workflow for building and deploying a VitePress site to GitHub Pages
#
name: Deploy VitePress site to Pages

on:
push:
branches: [main]
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: pages
cancel-in-progress: false

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
cache-dependency-path: ./docs/package-lock.json
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Install dependencies
run: npm ci
working-directory: docs # 作業ディレクトリを指定
- name: Build with VitePress
run: npm run docs:build
working-directory: docs # 作業ディレクトリを指定
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/.vitepress/dist

deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: build
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
Loading

0 comments on commit f585e6a

Please sign in to comment.