jijzept-sdk 2025.1.16__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- jijzept_sdk-2025.1.16/.github/dependabot.yaml +10 -0
- jijzept_sdk-2025.1.16/.github/workflows/check_dependencies.yaml +32 -0
- jijzept_sdk-2025.1.16/.github/workflows/dependabot_auto_merge.yaml +15 -0
- jijzept_sdk-2025.1.16/.github/workflows/weekly_release.yaml +46 -0
- jijzept_sdk-2025.1.16/.gitignore +171 -0
- jijzept_sdk-2025.1.16/PKG-INFO +82 -0
- jijzept_sdk-2025.1.16/PyPI.md +46 -0
- jijzept_sdk-2025.1.16/README.md +26 -0
- jijzept_sdk-2025.1.16/pyproject.toml +47 -0
- jijzept_sdk-2025.1.16/setup.cfg +4 -0
- jijzept_sdk-2025.1.16/src/jijzept_sdk/__init__.py +5 -0
- jijzept_sdk-2025.1.16/src/jijzept_sdk/__main__.py +5 -0
- jijzept_sdk-2025.1.16/src/jijzept_sdk/_version.py +16 -0
- jijzept_sdk-2025.1.16/src/jijzept_sdk.egg-info/PKG-INFO +82 -0
- jijzept_sdk-2025.1.16/src/jijzept_sdk.egg-info/SOURCES.txt +17 -0
- jijzept_sdk-2025.1.16/src/jijzept_sdk.egg-info/dependency_links.txt +1 -0
- jijzept_sdk-2025.1.16/src/jijzept_sdk.egg-info/entry_points.txt +2 -0
- jijzept_sdk-2025.1.16/src/jijzept_sdk.egg-info/requires.txt +32 -0
- jijzept_sdk-2025.1.16/src/jijzept_sdk.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
name: Check Dependencies
|
|
2
|
+
on:
|
|
3
|
+
workflow_dispatch:
|
|
4
|
+
workflow_call:
|
|
5
|
+
pull_request:
|
|
6
|
+
types: [opened, synchronize, reopened]
|
|
7
|
+
jobs:
|
|
8
|
+
check:
|
|
9
|
+
strategy:
|
|
10
|
+
matrix:
|
|
11
|
+
python-version: ["3.10", "3.11"]
|
|
12
|
+
runs-on: ubuntu-latest
|
|
13
|
+
steps:
|
|
14
|
+
- uses: actions/checkout@v4
|
|
15
|
+
- uses: actions/setup-python@v5
|
|
16
|
+
with:
|
|
17
|
+
python-version: ${{ matrix.python-version }}
|
|
18
|
+
- name: Install Dependencies
|
|
19
|
+
run: pip install ".[all]"
|
|
20
|
+
# Dependabodによる更新で依存関係が壊れていた場合のみ、Slackへ通知する
|
|
21
|
+
notify:
|
|
22
|
+
runs-on: ubuntu-latest
|
|
23
|
+
needs: check
|
|
24
|
+
if: ${{ failure() && github.actor == 'dependabot[bot]' }}
|
|
25
|
+
env:
|
|
26
|
+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
|
27
|
+
steps:
|
|
28
|
+
- uses: slackapi/slack-github-action@v1.23.0
|
|
29
|
+
with:
|
|
30
|
+
payload: '{"text": "Dependabotによる依存関係の更新に失敗しました: <https://github.com/Jij-Inc/JijZeptSDK|JijZeptSDK> "}'
|
|
31
|
+
env:
|
|
32
|
+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
name: Dependabot Auto Merge
|
|
2
|
+
on: pull_request
|
|
3
|
+
jobs:
|
|
4
|
+
merge:
|
|
5
|
+
if: ${{ github.actor == 'dependabot[bot]' }}
|
|
6
|
+
runs-on: ubuntu-latest
|
|
7
|
+
permissions:
|
|
8
|
+
contents: write
|
|
9
|
+
pull-requests: write
|
|
10
|
+
env:
|
|
11
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
12
|
+
# --autoオプションにより、PR時のCIが全て通ると自動でマージされるようにしている
|
|
13
|
+
steps:
|
|
14
|
+
- uses: actions/checkout@v4
|
|
15
|
+
- run: gh pr merge "${GITHUB_HEAD_REF}" --merge --auto
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
name: Weekly Release
|
|
2
|
+
on:
|
|
3
|
+
workflow_dispatch:
|
|
4
|
+
schedule:
|
|
5
|
+
- cron: '0 0 * * 0'
|
|
6
|
+
jobs:
|
|
7
|
+
check_dependencies:
|
|
8
|
+
uses: ./.github/workflows/check_dependencies.yaml
|
|
9
|
+
# 理想を言えば、リリース作成とアップロードのGitHubActionsは分けたいところだが、
|
|
10
|
+
# gh release createでリリースした際には、リリースやタグでトリガーするワークフローが動かず、
|
|
11
|
+
# workflow_runを使ってトリガーしてもリリースで付与したタグが反映されなかったため、断念した。
|
|
12
|
+
build_and_release:
|
|
13
|
+
needs: [check_dependencies]
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
|
+
permissions:
|
|
16
|
+
id-token: write
|
|
17
|
+
contents: write
|
|
18
|
+
steps:
|
|
19
|
+
- uses: actions/checkout@v4
|
|
20
|
+
- uses: actions/setup-python@v5
|
|
21
|
+
with:
|
|
22
|
+
python-version: "3.10"
|
|
23
|
+
- name: Generate Version
|
|
24
|
+
id: generate_version
|
|
25
|
+
run: |
|
|
26
|
+
echo "VERSION=v$(date +'%Y.%m.%d')" >> "${GITHUB_OUTPUT}"
|
|
27
|
+
# Generate Release Noteはリリースに含まれるパッケージのバージョンを調べやすくするために実装している。
|
|
28
|
+
# pyproject.tomlにはJijが提供する無償パッケージのバージョンが明記されているため、これで十分という考えである。
|
|
29
|
+
- name: Generate Release Note
|
|
30
|
+
run: |
|
|
31
|
+
echo "<details><summary>pyproject.toml</summary>$(cat pyproject.toml)</details>" > release_note.txt
|
|
32
|
+
- name: Create Release
|
|
33
|
+
env:
|
|
34
|
+
VERSION: ${{ steps.generate_version.outputs.VERSION }}
|
|
35
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
36
|
+
run: |
|
|
37
|
+
gh release create "${VERSION}" --title "Release: ${VERSION}" --notes-file release_note.txt
|
|
38
|
+
# git tagで日付バージョンを付与し、setuptools-scmでバージョン取得する方針を採用している
|
|
39
|
+
- name: Build Wheel
|
|
40
|
+
env:
|
|
41
|
+
VERSION: ${{ steps.generate_version.outputs.VERSION }}
|
|
42
|
+
run: |
|
|
43
|
+
git tag "${VERSION}"
|
|
44
|
+
python -m pip install --upgrade pip build
|
|
45
|
+
python -m build --sdist --outdir ./dist .
|
|
46
|
+
- uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
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
|
+
# PyInstaller
|
|
30
|
+
# Usually these files are written by a python script from a template
|
|
31
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
32
|
+
*.manifest
|
|
33
|
+
*.spec
|
|
34
|
+
|
|
35
|
+
# Installer logs
|
|
36
|
+
pip-log.txt
|
|
37
|
+
pip-delete-this-directory.txt
|
|
38
|
+
|
|
39
|
+
# Unit test / coverage reports
|
|
40
|
+
htmlcov/
|
|
41
|
+
.tox/
|
|
42
|
+
.nox/
|
|
43
|
+
.coverage
|
|
44
|
+
.coverage.*
|
|
45
|
+
.cache
|
|
46
|
+
nosetests.xml
|
|
47
|
+
coverage.xml
|
|
48
|
+
*.cover
|
|
49
|
+
*.py,cover
|
|
50
|
+
.hypothesis/
|
|
51
|
+
.pytest_cache/
|
|
52
|
+
cover/
|
|
53
|
+
|
|
54
|
+
# Translations
|
|
55
|
+
*.mo
|
|
56
|
+
*.pot
|
|
57
|
+
|
|
58
|
+
# Django stuff:
|
|
59
|
+
*.log
|
|
60
|
+
local_settings.py
|
|
61
|
+
db.sqlite3
|
|
62
|
+
db.sqlite3-journal
|
|
63
|
+
|
|
64
|
+
# Flask stuff:
|
|
65
|
+
instance/
|
|
66
|
+
.webassets-cache
|
|
67
|
+
|
|
68
|
+
# Scrapy stuff:
|
|
69
|
+
.scrapy
|
|
70
|
+
|
|
71
|
+
# Sphinx documentation
|
|
72
|
+
docs/_build/
|
|
73
|
+
|
|
74
|
+
# PyBuilder
|
|
75
|
+
.pybuilder/
|
|
76
|
+
target/
|
|
77
|
+
|
|
78
|
+
# Jupyter Notebook
|
|
79
|
+
.ipynb_checkpoints
|
|
80
|
+
|
|
81
|
+
# IPython
|
|
82
|
+
profile_default/
|
|
83
|
+
ipython_config.py
|
|
84
|
+
|
|
85
|
+
# pyenv
|
|
86
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
87
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
88
|
+
# .python-version
|
|
89
|
+
|
|
90
|
+
# pipenv
|
|
91
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
92
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
93
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
94
|
+
# install all needed dependencies.
|
|
95
|
+
#Pipfile.lock
|
|
96
|
+
|
|
97
|
+
# UV
|
|
98
|
+
# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
|
|
99
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
100
|
+
# commonly ignored for libraries.
|
|
101
|
+
#uv.lock
|
|
102
|
+
|
|
103
|
+
# poetry
|
|
104
|
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
|
105
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
106
|
+
# commonly ignored for libraries.
|
|
107
|
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
|
108
|
+
#poetry.lock
|
|
109
|
+
|
|
110
|
+
# pdm
|
|
111
|
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
|
112
|
+
#pdm.lock
|
|
113
|
+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
|
|
114
|
+
# in version control.
|
|
115
|
+
# https://pdm.fming.dev/latest/usage/project/#working-with-version-control
|
|
116
|
+
.pdm.toml
|
|
117
|
+
.pdm-python
|
|
118
|
+
.pdm-build/
|
|
119
|
+
|
|
120
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
|
121
|
+
__pypackages__/
|
|
122
|
+
|
|
123
|
+
# Celery stuff
|
|
124
|
+
celerybeat-schedule
|
|
125
|
+
celerybeat.pid
|
|
126
|
+
|
|
127
|
+
# SageMath parsed files
|
|
128
|
+
*.sage.py
|
|
129
|
+
|
|
130
|
+
# Environments
|
|
131
|
+
.env
|
|
132
|
+
.venv
|
|
133
|
+
env/
|
|
134
|
+
venv/
|
|
135
|
+
ENV/
|
|
136
|
+
env.bak/
|
|
137
|
+
venv.bak/
|
|
138
|
+
|
|
139
|
+
# Spyder project settings
|
|
140
|
+
.spyderproject
|
|
141
|
+
.spyproject
|
|
142
|
+
|
|
143
|
+
# Rope project settings
|
|
144
|
+
.ropeproject
|
|
145
|
+
|
|
146
|
+
# mkdocs documentation
|
|
147
|
+
/site
|
|
148
|
+
|
|
149
|
+
# mypy
|
|
150
|
+
.mypy_cache/
|
|
151
|
+
.dmypy.json
|
|
152
|
+
dmypy.json
|
|
153
|
+
|
|
154
|
+
# Pyre type checker
|
|
155
|
+
.pyre/
|
|
156
|
+
|
|
157
|
+
# pytype static type analyzer
|
|
158
|
+
.pytype/
|
|
159
|
+
|
|
160
|
+
# Cython debug symbols
|
|
161
|
+
cython_debug/
|
|
162
|
+
|
|
163
|
+
# PyCharm
|
|
164
|
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
|
165
|
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
|
166
|
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
|
167
|
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
|
168
|
+
#.idea/
|
|
169
|
+
|
|
170
|
+
# PyPI configuration file
|
|
171
|
+
.pypirc
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
|
+
Name: jijzept_sdk
|
|
3
|
+
Version: 2025.1.16
|
|
4
|
+
Summary: Free development kit provided by JijZept.
|
|
5
|
+
Author-email: "Jij Inc." <info@j-ij.com>
|
|
6
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
7
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
8
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
9
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
10
|
+
Requires-Python: <3.12,>=3.10
|
|
11
|
+
Description-Content-Type: text/markdown
|
|
12
|
+
Requires-Dist: jijmodeling==1.10.1
|
|
13
|
+
Requires-Dist: ommx==1.6.0
|
|
14
|
+
Provides-Extra: all
|
|
15
|
+
Requires-Dist: jijzept_sdk[mip]; extra == "all"
|
|
16
|
+
Requires-Dist: jijzept_sdk[scip]; extra == "all"
|
|
17
|
+
Requires-Dist: jijzept_sdk[amplify]; extra == "all"
|
|
18
|
+
Requires-Dist: jijzept_sdk[openjij]; extra == "all"
|
|
19
|
+
Requires-Dist: jijzept_sdk[qamomile]; extra == "all"
|
|
20
|
+
Requires-Dist: jijzept_sdk[minto]; extra == "all"
|
|
21
|
+
Requires-Dist: jijzept_sdk[lab]; extra == "all"
|
|
22
|
+
Provides-Extra: mip
|
|
23
|
+
Requires-Dist: ommx_python_mip_adapter==1.6.0; extra == "mip"
|
|
24
|
+
Provides-Extra: scip
|
|
25
|
+
Requires-Dist: ommx_pyscipopt_adapter==1.6.0; extra == "scip"
|
|
26
|
+
Provides-Extra: amplify
|
|
27
|
+
Requires-Dist: ommx_fixstars_amplify_adapter==0.1.0; extra == "amplify"
|
|
28
|
+
Provides-Extra: openjij
|
|
29
|
+
Requires-Dist: ommx_openjij_adapter==1.6.0; extra == "openjij"
|
|
30
|
+
Provides-Extra: qamomile
|
|
31
|
+
Requires-Dist: qamomile==0.5.0; extra == "qamomile"
|
|
32
|
+
Provides-Extra: minto
|
|
33
|
+
Requires-Dist: minto==1.0.2; extra == "minto"
|
|
34
|
+
Provides-Extra: lab
|
|
35
|
+
Requires-Dist: jupyterlab; extra == "lab"
|
|
36
|
+
|
|
37
|
+
# JijZeptSDK
|
|
38
|
+
|
|
39
|
+
JijZeptSDK is a package that allows you to install all the free packages provided by JijZept. Specifically, it includes the following Python packages.
|
|
40
|
+
|
|
41
|
+
- [jijmodeling](https://pypi.org/project/jijmodeling/)
|
|
42
|
+
- [ommx](https://pypi.org/project/ommx/)
|
|
43
|
+
- [ommx-python-mip-adapter](https://pypi.org/project/ommx-python-mip-adapter/)
|
|
44
|
+
- [ommx-pyscipopt-adapter](https://pypi.org/project/ommx-pyscipopt-adapter/)
|
|
45
|
+
- [ommx-fixstars-amplify-adapter](https://pypi.org/project/ommx-fixstars-amplify-adapter/)
|
|
46
|
+
- [ommx-openjij-adapter](https://pypi.org/project/ommx-openjij-adapter/)
|
|
47
|
+
- [minto](https://pypi.org/project/minto/)
|
|
48
|
+
- [qamomile](https://pypi.org/project/qamomile/)
|
|
49
|
+
|
|
50
|
+
## Basic usage
|
|
51
|
+
|
|
52
|
+
The following command allows you to install the free packages provided by JijZept along with `jupyterlab`.
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
pip install "jijzept_sdk[all]"
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
You can also start the JupyterLab environment with the following command.
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
jijzept_sdk
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## Advanced usage
|
|
65
|
+
|
|
66
|
+
You can also install only some packages by specifying options like the following command. However, `jijmodeling` and `ommx` are always included.
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
pip install “jijzept_sdk[mip]
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
The list of options is as follows:
|
|
73
|
+
|
|
74
|
+
- `mip`: Install packages for using `ommx-python-mip-adapter`.
|
|
75
|
+
- `scip`: Install packages for using `ommx-pyscipopt-adapter`.
|
|
76
|
+
- `amplify`: Install packages for using `ommx-fixstars-amplify-adapter`.
|
|
77
|
+
- `openjij`: Install packages for using `ommx-openjij-adapter`.
|
|
78
|
+
- `qamomile`: Install packages for using `qamomile`.
|
|
79
|
+
- `minto`: Install packages for using `minto`.
|
|
80
|
+
- `lab`: Install packages for using `jupyterlab`.
|
|
81
|
+
|
|
82
|
+
Note that the `lab` option is required to run the `jijzept_sdk` command.
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# JijZeptSDK
|
|
2
|
+
|
|
3
|
+
JijZeptSDK is a package that allows you to install all the free packages provided by JijZept. Specifically, it includes the following Python packages.
|
|
4
|
+
|
|
5
|
+
- [jijmodeling](https://pypi.org/project/jijmodeling/)
|
|
6
|
+
- [ommx](https://pypi.org/project/ommx/)
|
|
7
|
+
- [ommx-python-mip-adapter](https://pypi.org/project/ommx-python-mip-adapter/)
|
|
8
|
+
- [ommx-pyscipopt-adapter](https://pypi.org/project/ommx-pyscipopt-adapter/)
|
|
9
|
+
- [ommx-fixstars-amplify-adapter](https://pypi.org/project/ommx-fixstars-amplify-adapter/)
|
|
10
|
+
- [ommx-openjij-adapter](https://pypi.org/project/ommx-openjij-adapter/)
|
|
11
|
+
- [minto](https://pypi.org/project/minto/)
|
|
12
|
+
- [qamomile](https://pypi.org/project/qamomile/)
|
|
13
|
+
|
|
14
|
+
## Basic usage
|
|
15
|
+
|
|
16
|
+
The following command allows you to install the free packages provided by JijZept along with `jupyterlab`.
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
pip install "jijzept_sdk[all]"
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
You can also start the JupyterLab environment with the following command.
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
jijzept_sdk
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Advanced usage
|
|
29
|
+
|
|
30
|
+
You can also install only some packages by specifying options like the following command. However, `jijmodeling` and `ommx` are always included.
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
pip install “jijzept_sdk[mip]
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
The list of options is as follows:
|
|
37
|
+
|
|
38
|
+
- `mip`: Install packages for using `ommx-python-mip-adapter`.
|
|
39
|
+
- `scip`: Install packages for using `ommx-pyscipopt-adapter`.
|
|
40
|
+
- `amplify`: Install packages for using `ommx-fixstars-amplify-adapter`.
|
|
41
|
+
- `openjij`: Install packages for using `ommx-openjij-adapter`.
|
|
42
|
+
- `qamomile`: Install packages for using `qamomile`.
|
|
43
|
+
- `minto`: Install packages for using `minto`.
|
|
44
|
+
- `lab`: Install packages for using `jupyterlab`.
|
|
45
|
+
|
|
46
|
+
Note that the `lab` option is required to run the `jijzept_sdk` command.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# JijZeptSDK
|
|
2
|
+
|
|
3
|
+
JijZeptSDKとは、Jijが提供する無償のパッケージ群をまとめてインストールできるPythonパッケージです。使い方は [PyPI.md](PyPI.md) を、含まれるPythonパッケージは [pyproject.toml](pyproject.toml) を参照してください。
|
|
4
|
+
|
|
5
|
+
## 依存関係の更新について
|
|
6
|
+
|
|
7
|
+
JijZeptSDKの依存関係は日次で自動更新されるようになっています。具体的には以下のようになっています。
|
|
8
|
+
|
|
9
|
+
1. 日次でDependabotが更新できる依存関係があるかを確認 ([dependabot.yaml](.github/dependabot.yaml))
|
|
10
|
+
2. 更新できるものがったらDependabotがPRを作成 ([dependabot_auto_merge.yaml](.github/workflows/dependabot_auto_merge.yaml))
|
|
11
|
+
3. 依存関係が壊れていないかを確認 ([check_dependencies.yaml](.github/workflows/check_dependencies.yaml))
|
|
12
|
+
4. 依存関係が壊れていなければmainにマージ ([dependabot_auto_merge.yaml](.github/workflows/dependabot_auto_merge.yaml))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
> [!IMPORTANT]
|
|
16
|
+
> 上記のDependabotはメジャーバージョンアップデートを対象外としています。そのため、メジャーバージョンアップデートの際は手作業で更新を行うようにしてください。
|
|
17
|
+
|
|
18
|
+
## リリースについて
|
|
19
|
+
|
|
20
|
+
JijZeptSDKのリリースは週次で自動的に行われるようになっています。詳しくは、 [weekly_release.yaml](.github/workflows/weekly_release.yaml) を確認してください。
|
|
21
|
+
|
|
22
|
+
> [!WARNING]
|
|
23
|
+
> [weekly_release.yaml](.github/workflows/weekly_release.yaml) では、リリース前に依存関係の確認を行うようにしていますが、万が一、リリース後に問題が発覚した場合は以下のように対処してください。
|
|
24
|
+
> 1. (既にその日付でリリースされている場合)リリース・タグ・PyPIの該当バージョンを削除してください
|
|
25
|
+
> 2. [weekly_release.yaml](.github/workflows//weekly_release.yaml) のWorkflowDispatchでワークフローを起動してください
|
|
26
|
+
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=64", "setuptools-scm", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "jijzept_sdk"
|
|
7
|
+
authors = [
|
|
8
|
+
{name = "Jij Inc.", email = "info@j-ij.com"},
|
|
9
|
+
]
|
|
10
|
+
description = "Free development kit provided by JijZept."
|
|
11
|
+
readme = "PyPI.md"
|
|
12
|
+
requires-python = ">=3.10, <3.12"
|
|
13
|
+
classifiers = [
|
|
14
|
+
"Operating System :: POSIX :: Linux",
|
|
15
|
+
"Programming Language :: Python :: 3 :: Only",
|
|
16
|
+
"Programming Language :: Python :: 3.10",
|
|
17
|
+
"Programming Language :: Python :: 3.11",
|
|
18
|
+
]
|
|
19
|
+
dynamic = ["version"]
|
|
20
|
+
dependencies = [
|
|
21
|
+
"jijmodeling == 1.10.1",
|
|
22
|
+
"ommx == 1.6.0",
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
[project.optional-dependencies]
|
|
26
|
+
all = [
|
|
27
|
+
"jijzept_sdk[mip]",
|
|
28
|
+
"jijzept_sdk[scip]",
|
|
29
|
+
"jijzept_sdk[amplify]",
|
|
30
|
+
"jijzept_sdk[openjij]",
|
|
31
|
+
"jijzept_sdk[qamomile]",
|
|
32
|
+
"jijzept_sdk[minto]",
|
|
33
|
+
"jijzept_sdk[lab]",
|
|
34
|
+
]
|
|
35
|
+
mip = ["ommx_python_mip_adapter == 1.6.0"]
|
|
36
|
+
scip = ["ommx_pyscipopt_adapter == 1.6.0"]
|
|
37
|
+
amplify = ["ommx_fixstars_amplify_adapter == 0.1.0"]
|
|
38
|
+
openjij = ["ommx_openjij_adapter == 1.6.0"]
|
|
39
|
+
qamomile = ["qamomile == 0.5.0"]
|
|
40
|
+
minto = ["minto == 1.0.2"]
|
|
41
|
+
lab = ["jupyterlab"]
|
|
42
|
+
|
|
43
|
+
[project.scripts]
|
|
44
|
+
jijzept_sdk = "jijzept_sdk:run"
|
|
45
|
+
|
|
46
|
+
[tool.setuptools_scm]
|
|
47
|
+
version_file = "src/jijzept_sdk/_version.py"
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# file generated by setuptools_scm
|
|
2
|
+
# don't change, don't track in version control
|
|
3
|
+
TYPE_CHECKING = False
|
|
4
|
+
if TYPE_CHECKING:
|
|
5
|
+
from typing import Tuple, Union
|
|
6
|
+
VERSION_TUPLE = Tuple[Union[int, str], ...]
|
|
7
|
+
else:
|
|
8
|
+
VERSION_TUPLE = object
|
|
9
|
+
|
|
10
|
+
version: str
|
|
11
|
+
__version__: str
|
|
12
|
+
__version_tuple__: VERSION_TUPLE
|
|
13
|
+
version_tuple: VERSION_TUPLE
|
|
14
|
+
|
|
15
|
+
__version__ = version = '2025.1.16'
|
|
16
|
+
__version_tuple__ = version_tuple = (2025, 1, 16)
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
|
+
Name: jijzept_sdk
|
|
3
|
+
Version: 2025.1.16
|
|
4
|
+
Summary: Free development kit provided by JijZept.
|
|
5
|
+
Author-email: "Jij Inc." <info@j-ij.com>
|
|
6
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
7
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
8
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
9
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
10
|
+
Requires-Python: <3.12,>=3.10
|
|
11
|
+
Description-Content-Type: text/markdown
|
|
12
|
+
Requires-Dist: jijmodeling==1.10.1
|
|
13
|
+
Requires-Dist: ommx==1.6.0
|
|
14
|
+
Provides-Extra: all
|
|
15
|
+
Requires-Dist: jijzept_sdk[mip]; extra == "all"
|
|
16
|
+
Requires-Dist: jijzept_sdk[scip]; extra == "all"
|
|
17
|
+
Requires-Dist: jijzept_sdk[amplify]; extra == "all"
|
|
18
|
+
Requires-Dist: jijzept_sdk[openjij]; extra == "all"
|
|
19
|
+
Requires-Dist: jijzept_sdk[qamomile]; extra == "all"
|
|
20
|
+
Requires-Dist: jijzept_sdk[minto]; extra == "all"
|
|
21
|
+
Requires-Dist: jijzept_sdk[lab]; extra == "all"
|
|
22
|
+
Provides-Extra: mip
|
|
23
|
+
Requires-Dist: ommx_python_mip_adapter==1.6.0; extra == "mip"
|
|
24
|
+
Provides-Extra: scip
|
|
25
|
+
Requires-Dist: ommx_pyscipopt_adapter==1.6.0; extra == "scip"
|
|
26
|
+
Provides-Extra: amplify
|
|
27
|
+
Requires-Dist: ommx_fixstars_amplify_adapter==0.1.0; extra == "amplify"
|
|
28
|
+
Provides-Extra: openjij
|
|
29
|
+
Requires-Dist: ommx_openjij_adapter==1.6.0; extra == "openjij"
|
|
30
|
+
Provides-Extra: qamomile
|
|
31
|
+
Requires-Dist: qamomile==0.5.0; extra == "qamomile"
|
|
32
|
+
Provides-Extra: minto
|
|
33
|
+
Requires-Dist: minto==1.0.2; extra == "minto"
|
|
34
|
+
Provides-Extra: lab
|
|
35
|
+
Requires-Dist: jupyterlab; extra == "lab"
|
|
36
|
+
|
|
37
|
+
# JijZeptSDK
|
|
38
|
+
|
|
39
|
+
JijZeptSDK is a package that allows you to install all the free packages provided by JijZept. Specifically, it includes the following Python packages.
|
|
40
|
+
|
|
41
|
+
- [jijmodeling](https://pypi.org/project/jijmodeling/)
|
|
42
|
+
- [ommx](https://pypi.org/project/ommx/)
|
|
43
|
+
- [ommx-python-mip-adapter](https://pypi.org/project/ommx-python-mip-adapter/)
|
|
44
|
+
- [ommx-pyscipopt-adapter](https://pypi.org/project/ommx-pyscipopt-adapter/)
|
|
45
|
+
- [ommx-fixstars-amplify-adapter](https://pypi.org/project/ommx-fixstars-amplify-adapter/)
|
|
46
|
+
- [ommx-openjij-adapter](https://pypi.org/project/ommx-openjij-adapter/)
|
|
47
|
+
- [minto](https://pypi.org/project/minto/)
|
|
48
|
+
- [qamomile](https://pypi.org/project/qamomile/)
|
|
49
|
+
|
|
50
|
+
## Basic usage
|
|
51
|
+
|
|
52
|
+
The following command allows you to install the free packages provided by JijZept along with `jupyterlab`.
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
pip install "jijzept_sdk[all]"
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
You can also start the JupyterLab environment with the following command.
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
jijzept_sdk
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## Advanced usage
|
|
65
|
+
|
|
66
|
+
You can also install only some packages by specifying options like the following command. However, `jijmodeling` and `ommx` are always included.
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
pip install “jijzept_sdk[mip]
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
The list of options is as follows:
|
|
73
|
+
|
|
74
|
+
- `mip`: Install packages for using `ommx-python-mip-adapter`.
|
|
75
|
+
- `scip`: Install packages for using `ommx-pyscipopt-adapter`.
|
|
76
|
+
- `amplify`: Install packages for using `ommx-fixstars-amplify-adapter`.
|
|
77
|
+
- `openjij`: Install packages for using `ommx-openjij-adapter`.
|
|
78
|
+
- `qamomile`: Install packages for using `qamomile`.
|
|
79
|
+
- `minto`: Install packages for using `minto`.
|
|
80
|
+
- `lab`: Install packages for using `jupyterlab`.
|
|
81
|
+
|
|
82
|
+
Note that the `lab` option is required to run the `jijzept_sdk` command.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
.gitignore
|
|
2
|
+
PyPI.md
|
|
3
|
+
README.md
|
|
4
|
+
pyproject.toml
|
|
5
|
+
.github/dependabot.yaml
|
|
6
|
+
.github/workflows/check_dependencies.yaml
|
|
7
|
+
.github/workflows/dependabot_auto_merge.yaml
|
|
8
|
+
.github/workflows/weekly_release.yaml
|
|
9
|
+
src/jijzept_sdk/__init__.py
|
|
10
|
+
src/jijzept_sdk/__main__.py
|
|
11
|
+
src/jijzept_sdk/_version.py
|
|
12
|
+
src/jijzept_sdk.egg-info/PKG-INFO
|
|
13
|
+
src/jijzept_sdk.egg-info/SOURCES.txt
|
|
14
|
+
src/jijzept_sdk.egg-info/dependency_links.txt
|
|
15
|
+
src/jijzept_sdk.egg-info/entry_points.txt
|
|
16
|
+
src/jijzept_sdk.egg-info/requires.txt
|
|
17
|
+
src/jijzept_sdk.egg-info/top_level.txt
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
jijmodeling==1.10.1
|
|
2
|
+
ommx==1.6.0
|
|
3
|
+
|
|
4
|
+
[all]
|
|
5
|
+
jijzept_sdk[mip]
|
|
6
|
+
jijzept_sdk[scip]
|
|
7
|
+
jijzept_sdk[amplify]
|
|
8
|
+
jijzept_sdk[openjij]
|
|
9
|
+
jijzept_sdk[qamomile]
|
|
10
|
+
jijzept_sdk[minto]
|
|
11
|
+
jijzept_sdk[lab]
|
|
12
|
+
|
|
13
|
+
[amplify]
|
|
14
|
+
ommx_fixstars_amplify_adapter==0.1.0
|
|
15
|
+
|
|
16
|
+
[lab]
|
|
17
|
+
jupyterlab
|
|
18
|
+
|
|
19
|
+
[minto]
|
|
20
|
+
minto==1.0.2
|
|
21
|
+
|
|
22
|
+
[mip]
|
|
23
|
+
ommx_python_mip_adapter==1.6.0
|
|
24
|
+
|
|
25
|
+
[openjij]
|
|
26
|
+
ommx_openjij_adapter==1.6.0
|
|
27
|
+
|
|
28
|
+
[qamomile]
|
|
29
|
+
qamomile==0.5.0
|
|
30
|
+
|
|
31
|
+
[scip]
|
|
32
|
+
ommx_pyscipopt_adapter==1.6.0
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
jijzept_sdk
|