annofabapi-3dpc-extensions 0.2.2__tar.gz → 0.3.1__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.
Files changed (43) hide show
  1. annofabapi_3dpc_extensions-0.3.1/.devcontainer/.extensions/.gitignore +2 -0
  2. annofabapi_3dpc_extensions-0.3.1/.devcontainer/Dockerfile +78 -0
  3. annofabapi_3dpc_extensions-0.3.1/.devcontainer/devcontainer.json +45 -0
  4. annofabapi_3dpc_extensions-0.3.1/.github/dependabot.yml +25 -0
  5. annofabapi_3dpc_extensions-0.3.1/.github/workflows/codeql-analysis.yml +71 -0
  6. annofabapi_3dpc_extensions-0.3.1/.github/workflows/gitleaks.yml +21 -0
  7. annofabapi_3dpc_extensions-0.3.1/.github/workflows/lint-test.yml +47 -0
  8. annofabapi_3dpc_extensions-0.3.1/.github/workflows/publish-to-pypi.yml +25 -0
  9. annofabapi_3dpc_extensions-0.3.1/.gitignore +104 -0
  10. annofabapi_3dpc_extensions-0.3.1/.gitleaks.toml +4 -0
  11. annofabapi_3dpc_extensions-0.3.1/.pre-commit-config.yaml +5 -0
  12. annofabapi_3dpc_extensions-0.3.1/.readthedocs.yaml +15 -0
  13. annofabapi_3dpc_extensions-0.3.1/.vscode/cspell.json +37 -0
  14. annofabapi_3dpc_extensions-0.3.1/.vscode/extension.json +7 -0
  15. annofabapi_3dpc_extensions-0.3.1/.vscode/settings.json +48 -0
  16. annofabapi_3dpc_extensions-0.3.1/Makefile +47 -0
  17. {annofabapi_3dpc_extensions-0.2.2 → annofabapi_3dpc_extensions-0.3.1}/PKG-INFO +11 -15
  18. {annofabapi_3dpc_extensions-0.2.2 → annofabapi_3dpc_extensions-0.3.1}/README.md +2 -2
  19. annofabapi_3dpc_extensions-0.3.1/README_for_developer.md +36 -0
  20. annofabapi_3dpc_extensions-0.3.1/annofab_3dpc/__version__.py +3 -0
  21. {annofabapi_3dpc_extensions-0.2.2 → annofabapi_3dpc_extensions-0.3.1}/annofab_3dpc/annotation.py +12 -11
  22. annofabapi_3dpc_extensions-0.3.1/docs/Makefile +19 -0
  23. annofabapi_3dpc_extensions-0.3.1/docs/_static/.gitkeep +0 -0
  24. annofabapi_3dpc_extensions-0.3.1/docs/_templates/.gitkeep +0 -0
  25. annofabapi_3dpc_extensions-0.3.1/docs/api_reference/annotation.rst +11 -0
  26. annofabapi_3dpc_extensions-0.3.1/docs/api_reference/index.rst +7 -0
  27. annofabapi_3dpc_extensions-0.3.1/docs/conf.py +64 -0
  28. annofabapi_3dpc_extensions-0.3.1/docs/index.rst +19 -0
  29. annofabapi_3dpc_extensions-0.3.1/docs/requirements.txt +3 -0
  30. annofabapi_3dpc_extensions-0.3.1/pyproject.toml +121 -0
  31. annofabapi_3dpc_extensions-0.3.1/pytest.ini +5 -0
  32. annofabapi_3dpc_extensions-0.3.1/tests/__init__.py +0 -0
  33. annofabapi_3dpc_extensions-0.3.1/tests/data/invalid_simple_annotation.json +24 -0
  34. annofabapi_3dpc_extensions-0.3.1/tests/data/simple_annotation.json +60 -0
  35. annofabapi_3dpc_extensions-0.3.1/tests/data/task1/input1/7ba51c15-f07a-4e29-8584-a4eaf3a6812a +1 -0
  36. annofabapi_3dpc_extensions-0.3.1/tests/data/task1/input1.json +35 -0
  37. annofabapi_3dpc_extensions-0.3.1/tests/test_annotation.py +152 -0
  38. annofabapi_3dpc_extensions-0.3.1/uv.lock +1411 -0
  39. annofabapi_3dpc_extensions-0.2.2/annofab_3dpc/__version__.py +0 -1
  40. annofabapi_3dpc_extensions-0.2.2/pyproject.toml +0 -125
  41. {annofabapi_3dpc_extensions-0.2.2 → annofabapi_3dpc_extensions-0.3.1}/LICENSE +0 -0
  42. {annofabapi_3dpc_extensions-0.2.2 → annofabapi_3dpc_extensions-0.3.1}/annofab_3dpc/__init__.py +0 -0
  43. {annofabapi_3dpc_extensions-0.2.2 → annofabapi_3dpc_extensions-0.3.1}/annofab_3dpc/py.typed +0 -0
@@ -0,0 +1,78 @@
1
+ FROM ubuntu:22.04
2
+
3
+ # Install gitleaks for local secret scanning
4
+ COPY --from=ghcr.io/gitleaks/gitleaks:v8.30.1 /usr/bin/gitleaks /usr/local/bin/gitleaks
5
+
6
+ # Install prerequisites
7
+ RUN set -x \
8
+ && export DEBIAN_FRONTEND=noninteractive \
9
+ && apt-get update \
10
+ && apt-get install -y --no-install-recommends \
11
+ gnupg2 \
12
+ software-properties-common \
13
+ language-pack-ja \
14
+ tzdata \
15
+ curl \
16
+ lsb-release \
17
+ && apt-get -y clean \
18
+ && rm -rf /var/lib/apt/lists/*
19
+
20
+ # Set locale & timezone
21
+ RUN update-locale LANG=ja_JP.UTF-8 LANGUAGE=ja_JP:ja \
22
+ && ln -sf /usr/share/zoneinfo/Asia/Tokyo /etc/localtime \
23
+ && echo "Asia/Tokyo" > /etc/timezone
24
+
25
+ ENV LANG ja_JP.UTF-8
26
+ ENV LC_ALL ja_JP.UTF-8
27
+ ENV LC_CTYPE ja_JP.UTF-8
28
+
29
+ RUN set -x \
30
+ && sed -i.bak -r 's!(deb|deb-src) \S+!\1 http://jp.archive.ubuntu.com/ubuntu/!' /etc/apt/sources.list
31
+
32
+ # Install Ubuntu packages
33
+ RUN set -x \
34
+ # Python 3.12をインストールするために、deadsnakes PPAを追加
35
+ && add-apt-repository ppa:deadsnakes/ppa \
36
+ # Install packages
37
+ && apt-get update \
38
+ && apt-get install -y --no-install-recommends \
39
+ # python
40
+ python3.12-dev \
41
+ python3-pip \
42
+ # common tools
43
+ bash-completion \
44
+ build-essential \
45
+ git \
46
+ iputils-ping \
47
+ jq \
48
+ less \
49
+ net-tools \
50
+ openssh-client \
51
+ sudo \
52
+ tar \
53
+ time \
54
+ unzip \
55
+ vim \
56
+ wget \
57
+ xz-utils \
58
+ zip \
59
+ && apt-get -y clean \
60
+ && rm -rf /var/lib/apt/lists/*
61
+
62
+
63
+ # Python / pip
64
+ RUN ln -s $(which python3.12) /usr/bin/python
65
+ ENV PYTHONDONTWRITEBYTECODE=1 \
66
+ PIP_DEFAULT_TIMEOUT=100 \
67
+ PIP_NO_CACHE_DIR=on \
68
+ PIP_DISABLE_PIP_VERSION_CHECK=on
69
+
70
+ # uv
71
+ COPY --from=ghcr.io/astral-sh/uv:0.13.5 /uv /uvx /usr/local/bin/
72
+ ENV UV_LINK_MODE=copy
73
+
74
+ # Add user / Grant sudo privileges
75
+ RUN useradd -m -s /bin/bash -u 5000 -U vscode \
76
+ && echo "vscode ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers.d/ALL
77
+
78
+ USER vscode
@@ -0,0 +1,45 @@
1
+ // For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
2
+ // https://github.com/microsoft/vscode-dev-containers/tree/v0.154.0/containers/docker-existing-dockerfile
3
+ {
4
+ "name": "Existing Dockerfile",
5
+ "build": {
6
+ "dockerfile": "Dockerfile",
7
+ "context": ".",
8
+ "args": {}
9
+ },
10
+ "containerUser": "vscode",
11
+ "remoteUser": "vscode",
12
+ "updateRemoteUserUID": true,
13
+ // マウント対象のディレクトリを事前に作成する
14
+ "initializeCommand": "mkdir -p ${localWorkspaceFolder}/.devcontainer/venv",
15
+ "mounts": [
16
+ // ホスト側のvenvとコンテン側のvenvを分類して、ホスト側でuvコマンドを利用できるようにする
17
+ "source=${localWorkspaceFolder}/.devcontainer/venv,target=${containerWorkspaceFolder}/.venv,type=bind"
18
+ ],
19
+ "forwardPorts": [],
20
+ "runArgs": [
21
+ "--init",
22
+ "--net=host"
23
+ ],
24
+ "containerEnv": {
25
+ "CONTAINER_WORKSPACE": "${containerWorkspaceFolder}",
26
+ "LOCAL_WORKSPACE": "${localWorkspaceFolder}"
27
+ },
28
+ "workspaceMount": "source=${localWorkspaceFolder},target=/workspaces,type=bind,consistency=cached",
29
+ "workspaceFolder": "/workspaces",
30
+ "postStartCommand": "uv sync --locked --python 3.12",
31
+ "customizations": {
32
+ "vscode": {
33
+ "extensions": [
34
+ "mosapride.zenkaku",
35
+ "ms-python.python",
36
+ "ms-python.vscode-pylance",
37
+ "charliermarsh.ruff",
38
+ "streetsidesoftware.code-spell-checker",
39
+ "bungcip.better-toml",
40
+ "njpwerner.autodocstring",
41
+ "lextudio.restructuredtext"
42
+ ]
43
+ }
44
+ }
45
+ }
@@ -0,0 +1,25 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: "uv"
4
+ directory: "/"
5
+ schedule:
6
+ interval: "monthly"
7
+ groups:
8
+ python-minor-patch:
9
+ patterns:
10
+ - "*"
11
+ update-types:
12
+ - "minor"
13
+ - "patch"
14
+
15
+ - package-ecosystem: "github-actions"
16
+ directory: "/"
17
+ schedule:
18
+ interval: "monthly"
19
+ groups:
20
+ actions-minor-patch:
21
+ patterns:
22
+ - "*"
23
+ update-types:
24
+ - "minor"
25
+ - "patch"
@@ -0,0 +1,71 @@
1
+ # For most projects, this workflow file will not need changing; you simply need
2
+ # to commit it to your repository.
3
+ #
4
+ # You may wish to alter this file to override the set of languages analyzed,
5
+ # or to provide custom queries or build logic.
6
+ #
7
+ # ******** NOTE ********
8
+ # We have attempted to detect the languages in your repository. Please check
9
+ # the `language` matrix defined below to confirm you have the correct set of
10
+ # supported CodeQL languages.
11
+ #
12
+ name: "CodeQL"
13
+
14
+ on:
15
+ push:
16
+ branches: [ main ]
17
+ pull_request:
18
+ # The branches below must be a subset of the branches above
19
+ branches: [ main ]
20
+ schedule:
21
+ - cron: '35 17 * * 4'
22
+
23
+ jobs:
24
+ analyze:
25
+ name: Analyze
26
+ runs-on: ubuntu-latest
27
+ permissions:
28
+ actions: read
29
+ contents: read
30
+ security-events: write
31
+
32
+ strategy:
33
+ fail-fast: false
34
+ matrix:
35
+ language: [ 'python' ]
36
+ # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
37
+ # Learn more:
38
+ # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
39
+
40
+ steps:
41
+ - name: Checkout repository
42
+ uses: actions/checkout@v7
43
+
44
+ # Initializes the CodeQL tools for scanning.
45
+ - name: Initialize CodeQL
46
+ uses: github/codeql-action/init@v1
47
+ with:
48
+ languages: ${{ matrix.language }}
49
+ # If you wish to specify custom queries, you can do so here or in a config file.
50
+ # By default, queries listed here will override any specified in a config file.
51
+ # Prefix the list here with "+" to use these queries and those in the config file.
52
+ # queries: ./path/to/local/query, your-org/your-repo/queries@main
53
+
54
+ # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
55
+ # If this step fails, then you should remove it and run the build manually (see below)
56
+ - name: Autobuild
57
+ uses: github/codeql-action/autobuild@v1
58
+
59
+ # ℹ️ Command-line programs to run using the OS shell.
60
+ # 📚 https://git.io/JvXDl
61
+
62
+ # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
63
+ # and modify them (or add more) to build your code if your project
64
+ # uses a compiled language
65
+
66
+ #- run: |
67
+ # make bootstrap
68
+ # make release
69
+
70
+ - name: Perform CodeQL Analysis
71
+ uses: github/codeql-action/analyze@v1
@@ -0,0 +1,21 @@
1
+ name: Gitleaks
2
+
3
+ on:
4
+ push:
5
+ branches: ["main"]
6
+ pull_request:
7
+ branches: ["main"]
8
+ workflow_dispatch:
9
+
10
+ permissions:
11
+ contents: read
12
+
13
+ jobs:
14
+ gitleaks:
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - uses: actions/checkout@v7
18
+ with:
19
+ fetch-depth: 0
20
+ - name: Scan Git history for secrets
21
+ run: make gitleaks
@@ -0,0 +1,47 @@
1
+ name: Python tests and lint
2
+
3
+ on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
+ branches: [ "main" ]
8
+
9
+ permissions:
10
+ contents: read
11
+
12
+ jobs:
13
+ test:
14
+ runs-on: ubuntu-latest
15
+
16
+ strategy:
17
+ matrix:
18
+ python-version: ["3.12", "3.13", "3.14", "3.15"]
19
+
20
+ steps:
21
+ - uses: actions/checkout@v7
22
+ - name: Set up Python ${{ matrix.python-version }}
23
+ uses: astral-sh/setup-uv@v7
24
+ with:
25
+ python-version: ${{ matrix.python-version }}
26
+ version: "latest"
27
+ - name: Install dependencies
28
+ run: uv sync --locked --no-default-groups --group test
29
+ - name: Test
30
+ run: |
31
+ uv run --locked --no-default-groups --group test pytest -n auto tests
32
+
33
+ lint:
34
+ runs-on: ubuntu-latest
35
+ steps:
36
+ - uses: actions/checkout@v7
37
+ - name: Set up Python 3.12
38
+ uses: astral-sh/setup-uv@v7
39
+ with:
40
+ python-version: "3.12"
41
+ version: "latest"
42
+ - name: Install dependencies
43
+ run: uv sync --locked --no-default-groups --group linter
44
+ - name: Lint
45
+ run: |
46
+ make lint
47
+
@@ -0,0 +1,25 @@
1
+ name: Publish Python 🐍 distributions 📦 to PyPI
2
+
3
+ on:
4
+ release:
5
+ types: [published]
6
+
7
+ jobs:
8
+ build-n-publish:
9
+ name: Build and publish Python 🐍 distributions 📦 to PyPI
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v7
13
+ with:
14
+ fetch-depth: 0
15
+ - name: Install uv
16
+ uses: astral-sh/setup-uv@v7
17
+ with:
18
+ python-version: "3.12"
19
+ version: "latest"
20
+ - name: Build and publish
21
+ env:
22
+ UV_PUBLISH_TOKEN: ${{ secrets.PYPI_TOKEN }}
23
+ run: |
24
+ uv build
25
+ uv publish
@@ -0,0 +1,104 @@
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
+ *.egg-info/
24
+ .installed.cfg
25
+ *.egg
26
+ MANIFEST
27
+
28
+ # PyInstaller
29
+ # Usually these files are written by a python script from a template
30
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
31
+ *.manifest
32
+ *.spec
33
+
34
+ # Installer logs
35
+ pip-log.txt
36
+ pip-delete-this-directory.txt
37
+
38
+ # Unit test / coverage reports
39
+ htmlcov/
40
+ .tox/
41
+ .coverage
42
+ .coverage.*
43
+ .cache
44
+ nosetests.xml
45
+ coverage.xml
46
+ *.cover
47
+ .hypothesis/
48
+ .pytest_cache/
49
+
50
+ # Translations
51
+ *.mo
52
+ *.pot
53
+
54
+ # Django stuff:
55
+ *.log
56
+ local_settings.py
57
+ db.sqlite3
58
+
59
+ # Flask stuff:
60
+ instance/
61
+ .webassets-cache
62
+
63
+ # Scrapy stuff:
64
+ .scrapy
65
+
66
+ # Sphinx documentation
67
+ docs/_build/
68
+
69
+ # PyBuilder
70
+ target/
71
+
72
+ # Jupyter Notebook
73
+ .ipynb_checkpoints
74
+
75
+ # pyenv
76
+ .python-version
77
+
78
+ # celery beat schedule file
79
+ celerybeat-schedule
80
+
81
+ # SageMath parsed files
82
+ *.sage.py
83
+
84
+ # Environments
85
+ .env
86
+ .venv
87
+ env/
88
+ venv/
89
+ ENV/
90
+ env.bak/
91
+ venv.bak/
92
+
93
+ # Spyder project settings
94
+ .spyderproject
95
+ .spyproject
96
+
97
+ # Rope project settings
98
+ .ropeproject
99
+
100
+ # mkdocs documentation
101
+ /site
102
+
103
+ # mypy
104
+ .mypy_cache/
@@ -0,0 +1,4 @@
1
+ title = "annofabapi-3dpc-extensions gitleaks config"
2
+
3
+ [extend]
4
+ useDefault = true
@@ -0,0 +1,5 @@
1
+ repos:
2
+ - repo: https://github.com/gitleaks/gitleaks
3
+ rev: v8.30.1
4
+ hooks:
5
+ - id: gitleaks
@@ -0,0 +1,15 @@
1
+ version: 2
2
+
3
+ build:
4
+ os: ubuntu-lts-latest
5
+ tools:
6
+ python: "3.14"
7
+
8
+ sphinx:
9
+ configuration: docs/conf.py
10
+
11
+ python:
12
+ install:
13
+ - requirements: docs/requirements.txt
14
+ - method: pip
15
+ path: .
@@ -0,0 +1,37 @@
1
+ {
2
+ "version": "0.1",
3
+ "ignorePaths": [
4
+ "**/.git/objects/**",
5
+ ".devcontainer/",
6
+ ".vscode/",
7
+ "LICENSE",
8
+ "tests/",
9
+ "docs/"
10
+ ],
11
+ "enabledLanguageIds": [
12
+ "python",
13
+ "reStructuredText"
14
+ ],
15
+ "words": [
16
+ "annofab",
17
+ "astimezone",
18
+ "astype",
19
+ "asyncio",
20
+ "dateutil",
21
+ "dtypes",
22
+ "getrgb",
23
+ "giveup",
24
+ "groupby",
25
+ "inplace",
26
+ "itertools",
27
+ "nargs",
28
+ "ndarray",
29
+ "noqa",
30
+ "normalise",
31
+ "popen",
32
+ "pylint",
33
+ "tzlocal",
34
+ "unsubscriptable",
35
+ "wxyz"
36
+ ]
37
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "recommendations": [
3
+ "ms-vscode-remote.remote-containers"
4
+ ],
5
+ "unwantedRecommendations": [
6
+ ]
7
+ }
@@ -0,0 +1,48 @@
1
+ {
2
+ "terminal.integrated.allowChords": false, // terminal上でEmacsキーバインドを使うための設定
3
+ "files.exclude": {
4
+ "**/.devcontainer/.extensions": true,
5
+ },
6
+ "files.watcherExclude": {
7
+ "**/.devcontainer/.extensions": true,
8
+ },
9
+ "search.exclude": {
10
+ "**/.devcontainer/.extensions": true,
11
+ },
12
+ "files.autoSave": "afterDelay",
13
+ "files.autoSaveDelay": 1000,
14
+ "python.pythonPath": ".venv/bin/python",
15
+ "python.languageServer": "Pylance",
16
+ "python.autoComplete.addBrackets": true,
17
+ "python.autoComplete.extraPaths": [
18
+ ".venv/lib/python3.12/site-packages/"
19
+ ],
20
+ // "uv run"コマンドで実行することを想定しているので、venv環境を自動的にactivateしないようにする
21
+ "python.terminal.activateEnvironment":false,
22
+
23
+ "python.linting.enabled": true,
24
+ "python.linting.lintOnSave": true,
25
+ "python.linting.mypyEnabled": true,
26
+ "python.linting.mypyPath": ".venv/bin/mypy",
27
+ "python.linting.mypyArgs": [],
28
+ "python.linting.banditEnabled": false,
29
+ "python.linting.pylamaEnabled": false,
30
+ "python.linting.prospectorEnabled": false,
31
+ "python.linting.pydocstyleEnabled": false,
32
+ "python.linting.pycodestyleEnabled": false,
33
+ "python.linting.ignorePatterns": [
34
+ ".vscode/*.py",
35
+ "**/site-packages/**/*.py",
36
+ "docs/**/*.py"
37
+ ],
38
+ "python.analysis.extraPaths": [
39
+ ".venv/lib/python3.12/site-packages/"
40
+ ],
41
+ "python.analysis.completeFunctionParens": true,
42
+ "[python]": {
43
+ "editor.defaultFormatter": "charliermarsh.ruff",
44
+ "editor.formatOnSave": false,
45
+ },
46
+ "python.testing.autoTestDiscoverOnSaveEnabled": false,
47
+
48
+ }
@@ -0,0 +1,47 @@
1
+ GITLEAKS_VERSION := v8.30.1
2
+ GITLEAKS_DOCKER_CONFIG ?=
3
+
4
+ ifndef SOURCE_FILES
5
+ export SOURCE_FILES:=annofab_3dpc
6
+ endif
7
+ ifndef TEST_FILES
8
+ export TEST_FILES:=tests
9
+ endif
10
+
11
+ .PHONY: format lint test docs
12
+
13
+ format:
14
+ uv run ruff format ${SOURCE_FILES} ${TEST_FILES}
15
+ uv run ruff check ${SOURCE_FILES} ${TEST_FILES} --fix-only --exit-zero
16
+
17
+ lint:
18
+ uv run ruff check ${SOURCE_FILES}
19
+ uv run mypy ${SOURCE_FILES}
20
+
21
+
22
+ test:
23
+ # 並列実行してレポートも出力する
24
+ uv run pytest -n auto tests
25
+
26
+ docs:
27
+ cd docs && uv run make html
28
+
29
+
30
+ .PHONY: gitleaks
31
+
32
+ gitleaks:
33
+ @if command -v gitleaks >/dev/null 2>&1; then \
34
+ gitleaks git --redact=100 --verbose --log-opts="-m HEAD" .; \
35
+ elif command -v docker >/dev/null 2>&1; then \
36
+ if [ -n "${GITLEAKS_DOCKER_CONFIG}" ]; then \
37
+ mkdir -p "${GITLEAKS_DOCKER_CONFIG}"; \
38
+ export DOCKER_CONFIG="${GITLEAKS_DOCKER_CONFIG}"; \
39
+ fi; \
40
+ docker run --rm \
41
+ -v "$$(pwd):$$(pwd):ro" \
42
+ -v "$$(git rev-parse --path-format=absolute --git-common-dir):$$(git rev-parse --path-format=absolute --git-common-dir):ro" \
43
+ -w "$$(pwd)" ghcr.io/gitleaks/gitleaks:${GITLEAKS_VERSION} git --redact=100 --verbose --log-opts="-m HEAD" .; \
44
+ else \
45
+ echo "gitleaksまたはdockerをインストールしてください。" >&2; \
46
+ exit 127; \
47
+ fi
@@ -1,28 +1,25 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.5
2
2
  Name: annofabapi-3dpc-extensions
3
- Version: 0.2.2
3
+ Version: 0.3.1
4
4
  Summary: annofabapiの3DPC Editor用の拡張機能です。
5
- Home-page: https://github.com/kurusugawa-computer/annofabapi-3dpc-extensions
5
+ Project-URL: Repository, https://github.com/kurusugawa-computer/annofabapi-3dpc-extensions
6
6
  Author: Kurusugawa Computer Inc.
7
- Requires-Python: >=3.8,<4.0
7
+ License-File: LICENSE
8
8
  Classifier: Development Status :: 4 - Beta
9
9
  Classifier: Intended Audience :: Developers
10
10
  Classifier: Operating System :: OS Independent
11
- Classifier: Programming Language :: Python :: 3
12
- Classifier: Programming Language :: Python :: 3.8
13
- Classifier: Programming Language :: Python :: 3.9
14
- Classifier: Programming Language :: Python :: 3.10
15
- Classifier: Programming Language :: Python :: 3.11
16
11
  Classifier: Programming Language :: Python :: 3.12
12
+ Classifier: Programming Language :: Python :: 3.13
13
+ Classifier: Programming Language :: Python :: 3.14
14
+ Classifier: Programming Language :: Python :: 3.15
17
15
  Classifier: Topic :: Utilities
16
+ Requires-Python: <4,>=3.12
18
17
  Requires-Dist: dataclasses-json
19
- Requires-Dist: numpy (<1.25) ; python_version == "3.8"
20
- Requires-Dist: numpy (>=1.26) ; python_version >= "3.9"
21
- Project-URL: Repository, https://github.com/kurusugawa-computer/annofabapi-3dpc-extensions
18
+ Requires-Dist: numpy
22
19
  Description-Content-Type: text/markdown
23
20
 
24
21
  # annofabapi-3dpc-extensions
25
- [![Build Status](https://app.travis-ci.com/kurusugawa-computer/annofabapi-3dpc-extensions.svg?branch=main)](https://app.travis-ci.com/kurusugawa-computer/annofabapi-3dpc-extensions)
22
+ [![Build Status](https://github.com/kurusugawa-computer/annofabapi-3dpc-extensions/actions/workflows/lint-test.yml/badge.svg)](https://github.com/kurusugawa-computer/annofabapi-3dpc-extensions/actions)
26
23
  [![PyPI version](https://badge.fury.io/py/annofabapi-3dpc-extensions.svg)](https://badge.fury.io/py/annofabapi-3dpc-extensions)
27
24
  [![Python Versions](https://img.shields.io/pypi/pyversions/annofabapi-3dpc-extensions.svg)](https://pypi.org/project/annofabapi-3dpc-extensions/)
28
25
  [![Documentation Status](https://readthedocs.org/projects/annofabapi-3dpc-extensions/badge/?version=latest)](https://annofabapi-3dpc-extensions.readthedocs.io/en/latest/?badge=latest)
@@ -33,7 +30,7 @@ Description-Content-Type: text/markdown
33
30
 
34
31
  # Install
35
32
 
36
- * Python 3.8+
33
+ * Python 3.12+
37
34
 
38
35
  # Install
39
36
 
@@ -99,4 +96,3 @@ with parser.open_outer_file(Path(segment_annotation_data.data_uri).name) as f:
99
96
  # 開発者向けドキュメント
100
97
 
101
98
  https://github.com/kurusugawa-computer/annofabapi-3dpc-extensions/blob/main/README_for_developer.md 参照
102
-
@@ -1,5 +1,5 @@
1
1
  # annofabapi-3dpc-extensions
2
- [![Build Status](https://app.travis-ci.com/kurusugawa-computer/annofabapi-3dpc-extensions.svg?branch=main)](https://app.travis-ci.com/kurusugawa-computer/annofabapi-3dpc-extensions)
2
+ [![Build Status](https://github.com/kurusugawa-computer/annofabapi-3dpc-extensions/actions/workflows/lint-test.yml/badge.svg)](https://github.com/kurusugawa-computer/annofabapi-3dpc-extensions/actions)
3
3
  [![PyPI version](https://badge.fury.io/py/annofabapi-3dpc-extensions.svg)](https://badge.fury.io/py/annofabapi-3dpc-extensions)
4
4
  [![Python Versions](https://img.shields.io/pypi/pyversions/annofabapi-3dpc-extensions.svg)](https://pypi.org/project/annofabapi-3dpc-extensions/)
5
5
  [![Documentation Status](https://readthedocs.org/projects/annofabapi-3dpc-extensions/badge/?version=latest)](https://annofabapi-3dpc-extensions.readthedocs.io/en/latest/?badge=latest)
@@ -10,7 +10,7 @@
10
10
 
11
11
  # Install
12
12
 
13
- * Python 3.8+
13
+ * Python 3.12+
14
14
 
15
15
  # Install
16
16