arcanus 0.0.2__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 (53) hide show
  1. arcanus-0.0.2/.github/workflows/publish.yml +115 -0
  2. arcanus-0.0.2/.github/workflows/tests.yml +110 -0
  3. arcanus-0.0.2/.gitignore +219 -0
  4. arcanus-0.0.2/.vscode/launch.json +40 -0
  5. arcanus-0.0.2/.vscode/settings.json +36 -0
  6. arcanus-0.0.2/.vscode/tasks.json +111 -0
  7. arcanus-0.0.2/LICENSE +21 -0
  8. arcanus-0.0.2/PKG-INFO +496 -0
  9. arcanus-0.0.2/README.md +444 -0
  10. arcanus-0.0.2/arcanus/__init__.py +18 -0
  11. arcanus-0.0.2/arcanus/association.py +673 -0
  12. arcanus-0.0.2/arcanus/base.py +554 -0
  13. arcanus-0.0.2/arcanus/materia/README.md +297 -0
  14. arcanus-0.0.2/arcanus/materia/__init__.py +6 -0
  15. arcanus-0.0.2/arcanus/materia/base.py +184 -0
  16. arcanus-0.0.2/arcanus/materia/sqlalchemy/__init__.py +8 -0
  17. arcanus-0.0.2/arcanus/materia/sqlalchemy/base.py +121 -0
  18. arcanus-0.0.2/arcanus/materia/sqlalchemy/database.py +934 -0
  19. arcanus-0.0.2/arcanus/materia/sqlalchemy/result.py +1110 -0
  20. arcanus-0.0.2/arcanus/utils.py +10 -0
  21. arcanus-0.0.2/benchmark/conftest.py +400 -0
  22. arcanus-0.0.2/benchmark/noop/test_noop_materia.py +477 -0
  23. arcanus-0.0.2/benchmark/sqlalchemy/conftest.py +250 -0
  24. arcanus-0.0.2/benchmark/sqlalchemy/test_sqlalchemy_materia.py +880 -0
  25. arcanus-0.0.2/pyproject.toml +90 -0
  26. arcanus-0.0.2/tests/__init__.py +1 -0
  27. arcanus-0.0.2/tests/conftest.py +17 -0
  28. arcanus-0.0.2/tests/models.py +488 -0
  29. arcanus-0.0.2/tests/noop/__init__.py +0 -0
  30. arcanus-0.0.2/tests/noop/conftest.py +5 -0
  31. arcanus-0.0.2/tests/noop/test_associations.py +688 -0
  32. arcanus-0.0.2/tests/noop/test_model_construct.py +247 -0
  33. arcanus-0.0.2/tests/noop/test_pydantic_features.py +1595 -0
  34. arcanus-0.0.2/tests/noop/test_transmuter_features.py +276 -0
  35. arcanus-0.0.2/tests/schemas.py +282 -0
  36. arcanus-0.0.2/tests/sqlalchemy/__init__.py +0 -0
  37. arcanus-0.0.2/tests/sqlalchemy/async/__init__.py +0 -0
  38. arcanus-0.0.2/tests/sqlalchemy/async/conftest.py +2 -0
  39. arcanus-0.0.2/tests/sqlalchemy/async/test_async_operations.py +852 -0
  40. arcanus-0.0.2/tests/sqlalchemy/conftest.py +253 -0
  41. arcanus-0.0.2/tests/sqlalchemy/sync/__init__.py +0 -0
  42. arcanus-0.0.2/tests/sqlalchemy/sync/conftest.py +2 -0
  43. arcanus-0.0.2/tests/sqlalchemy/sync/test_model_construct.py +390 -0
  44. arcanus-0.0.2/tests/sqlalchemy/sync/test_recursive.py +810 -0
  45. arcanus-0.0.2/tests/sqlalchemy/sync/test_relationships.py +1464 -0
  46. arcanus-0.0.2/tests/sqlalchemy/sync/test_result.py +459 -0
  47. arcanus-0.0.2/tests/sqlalchemy/sync/test_session.py +1244 -0
  48. arcanus-0.0.2/tests/sqlalchemy/sync/test_sql_operations.py +628 -0
  49. arcanus-0.0.2/tests/sqlalchemy/sync/test_transmuter_orm_integration.py +231 -0
  50. arcanus-0.0.2/tests/sqlalchemy/sync/test_validate_flag.py +35 -0
  51. arcanus-0.0.2/tests/sqlalchemy/sync/test_validation_context.py +356 -0
  52. arcanus-0.0.2/tests/transmuters.py +261 -0
  53. arcanus-0.0.2/uv.lock +1074 -0
@@ -0,0 +1,115 @@
1
+ name: Publish to PyPI
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - "v*.*.*" # Trigger on semantic version tags like v0.0.1, v1.2.3
7
+
8
+ workflow_dispatch:
9
+ inputs:
10
+ dry_run:
11
+ description: "Dry run (build but don't publish)"
12
+ required: false
13
+ default: false
14
+ type: boolean
15
+
16
+ permissions:
17
+ contents: read
18
+ id-token: write # Required for trusted publishing to PyPI
19
+
20
+ jobs:
21
+ build:
22
+ name: Build Distribution
23
+ runs-on: ubuntu-latest
24
+
25
+ steps:
26
+ - uses: actions/checkout@v4
27
+
28
+ - name: Install uv
29
+ uses: astral-sh/setup-uv@v4
30
+ with:
31
+ version: "latest"
32
+ enable-cache: true
33
+ cache-dependency-glob: "pyproject.toml"
34
+
35
+ - name: Set up Python
36
+ run: uv python install 3.11
37
+
38
+ - name: Build package
39
+ run: uv build
40
+
41
+ - name: Store distribution packages
42
+ uses: actions/upload-artifact@v4
43
+ with:
44
+ name: python-package-distributions
45
+ path: dist/
46
+
47
+ publish-to-pypi:
48
+ name: Publish to PyPI
49
+ if: startsWith(github.ref, 'refs/tags/v') && github.event.inputs.dry_run != 'true'
50
+ needs: build
51
+ runs-on: ubuntu-latest
52
+ environment:
53
+ name: pypi
54
+ url: https://pypi.org/p/arcanus
55
+
56
+ steps:
57
+ - name: Download distribution packages
58
+ uses: actions/download-artifact@v4
59
+ with:
60
+ name: python-package-distributions
61
+ path: dist/
62
+
63
+ - name: Publish to PyPI
64
+ uses: pypa/gh-action-pypi-publish@release/v1
65
+ # Uses trusted publishing - no API token needed
66
+ # Requires configuring trusted publisher on PyPI
67
+
68
+ # publish-to-testpypi:
69
+ # name: Publish to TestPyPI
70
+ # if: startsWith(github.ref, 'refs/tags/v') && github.event.inputs.dry_run != 'true'
71
+ # needs: build
72
+ # runs-on: ubuntu-latest
73
+ # environment:
74
+ # name: testpypi
75
+ # url: https://test.pypi.org/p/arcanus
76
+
77
+ # steps:
78
+ # - name: Download distribution packages
79
+ # uses: actions/download-artifact@v4
80
+ # with:
81
+ # name: python-package-distributions
82
+ # path: dist/
83
+
84
+ # - name: Publish to TestPyPI
85
+ # uses: pypa/gh-action-pypi-publish@release/v1
86
+ # with:
87
+ # repository-url: https://test.pypi.org/legacy/
88
+ # # Uses trusted publishing - no API token needed
89
+ # # Requires configuring trusted publisher on TestPyPI
90
+
91
+ # github-release:
92
+ # name: Create GitHub Release
93
+ # if: startsWith(github.ref, 'refs/tags/v') && github.event.inputs.dry_run != 'true'
94
+ # needs: publish-to-pypi
95
+ # runs-on: ubuntu-latest
96
+ # permissions:
97
+ # contents: write
98
+
99
+ # steps:
100
+ # - uses: actions/checkout@v4
101
+
102
+ # - name: Download distribution packages
103
+ # uses: actions/download-artifact@v4
104
+ # with:
105
+ # name: python-package-distributions
106
+ # path: dist/
107
+
108
+ # - name: Create GitHub Release
109
+ # env:
110
+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
111
+ # run: |
112
+ # gh release create "${{ github.ref_name }}" \
113
+ # --title "${{ github.ref_name }}" \
114
+ # --generate-notes \
115
+ # dist/*
@@ -0,0 +1,110 @@
1
+ name: Tests
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+ branches: [main]
8
+ types: [opened, synchronize, reopened, ready_for_review]
9
+ workflow_dispatch:
10
+
11
+ permissions:
12
+ contents: read
13
+ id-token: write
14
+
15
+ concurrency:
16
+ group: ${{ github.workflow }}-${{ github.ref }}
17
+ cancel-in-progress: true
18
+
19
+ jobs:
20
+ lint:
21
+ name: Ruff Lint & Format
22
+ runs-on: ubuntu-latest
23
+ steps:
24
+ - uses: actions/checkout@v4
25
+
26
+ - name: Install uv
27
+ uses: astral-sh/setup-uv@v4
28
+ with:
29
+ version: "latest"
30
+ enable-cache: true
31
+ cache-dependency-glob: "pyproject.toml"
32
+ continue-on-error: true # Don't fail if cache save has transient issues
33
+
34
+ - name: Set up Python
35
+ run: uv python install 3.11
36
+
37
+ - name: Install ruff
38
+ run: uv tool install ruff
39
+
40
+ - name: Run Ruff linter
41
+ run: ruff check .
42
+
43
+ - name: Run Ruff formatter check
44
+ run: ruff format --check .
45
+
46
+ unit_tests:
47
+ name: Unit Tests
48
+ runs-on: ubuntu-latest
49
+ needs: lint
50
+
51
+ steps:
52
+ - uses: actions/checkout@v4
53
+
54
+ - name: Install uv
55
+ uses: astral-sh/setup-uv@v4
56
+ with:
57
+ version: "latest"
58
+ enable-cache: true
59
+ cache-dependency-glob: "pyproject.toml"
60
+ continue-on-error: true # Don't fail if cache save has transient issues
61
+
62
+ - name: Set up Python
63
+ run: uv python install 3.11
64
+
65
+ - name: Install dependencies
66
+ run: uv sync --dev
67
+
68
+ - name: Run unit tests with coverage
69
+ run: uv run pytest tests/ -v --tb=short --cov=arcanus --cov-report=xml --cov-report=term
70
+
71
+ - name: Upload coverage to Codecov
72
+ uses: codecov/codecov-action@v4
73
+ with:
74
+ file: ./coverage.xml
75
+ flags: unittests
76
+ name: codecov-arcanus
77
+ fail_ci_if_error: false
78
+ env:
79
+ CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
80
+
81
+ benchmarks:
82
+ name: Run benchmarks
83
+ runs-on: ubuntu-latest
84
+ needs: unit_tests
85
+
86
+ steps:
87
+ - uses: actions/checkout@v4
88
+
89
+ - name: Install uv
90
+ uses: astral-sh/setup-uv@v4
91
+ with:
92
+ version: "latest"
93
+ enable-cache: true
94
+ cache-dependency-glob: "pyproject.toml"
95
+
96
+ - name: Set up Python
97
+ uses: actions/setup-python@v5
98
+ with:
99
+ python-version: "3.12"
100
+
101
+ - name: Install dependencies
102
+ run: uv sync --dev
103
+
104
+ - name: Run benchmarks
105
+ uses: CodSpeedHQ/action@v4
106
+ with:
107
+ mode: simulation
108
+ # Enable trace generation for flame graphs (requires Python 3.12+)
109
+ # Exclude baseline tests (pure sqlalchemy/pydantic) from regression tracking
110
+ run: uv run pytest benchmark/ --codspeed --benchmark-warmup-iterations=5 -m "not baseline"
@@ -0,0 +1,219 @@
1
+ # Project
2
+ profile*
3
+
4
+ # Byte-compiled / optimized / DLL files
5
+ __pycache__/
6
+ *.py[codz]
7
+ *$py.class
8
+
9
+ # C extensions
10
+ *.so
11
+
12
+ # Distribution / packaging
13
+ .Python
14
+ build/
15
+ develop-eggs/
16
+ dist/
17
+ downloads/
18
+ eggs/
19
+ .eggs/
20
+ lib/
21
+ lib64/
22
+ parts/
23
+ sdist/
24
+ var/
25
+ wheels/
26
+ share/python-wheels/
27
+ *.egg-info/
28
+ .installed.cfg
29
+ *.egg
30
+ MANIFEST
31
+
32
+ # PyInstaller
33
+ # Usually these files are written by a python script from a template
34
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
35
+ *.manifest
36
+ *.spec
37
+
38
+ # Installer logs
39
+ pip-log.txt
40
+ pip-delete-this-directory.txt
41
+
42
+ # Unit test / coverage reports
43
+ htmlcov/
44
+ .tox/
45
+ .nox/
46
+ .coverage
47
+ .coverage.*
48
+ .cache
49
+ nosetests.xml
50
+ coverage.xml
51
+ *.cover
52
+ *.py.cover
53
+ .hypothesis/
54
+ .pytest_cache/
55
+ cover/
56
+
57
+ # Translations
58
+ *.mo
59
+ *.pot
60
+
61
+ # Django stuff:
62
+ *.log
63
+ local_settings.py
64
+ db.sqlite3
65
+ db.sqlite3-journal
66
+
67
+ # Flask stuff:
68
+ instance/
69
+ .webassets-cache
70
+
71
+ # Scrapy stuff:
72
+ .scrapy
73
+
74
+ # Sphinx documentation
75
+ docs/_build/
76
+
77
+ # PyBuilder
78
+ .pybuilder/
79
+ target/
80
+
81
+ # Jupyter Notebook
82
+ .ipynb_checkpoints
83
+
84
+ # IPython
85
+ profile_default/
86
+ ipython_config.py
87
+
88
+ # pyenv
89
+ # For a library or package, you might want to ignore these files since the code is
90
+ # intended to run in multiple environments; otherwise, check them in:
91
+ # .python-version
92
+
93
+ # pipenv
94
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
95
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
96
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
97
+ # install all needed dependencies.
98
+ #Pipfile.lock
99
+
100
+ # UV
101
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
102
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
103
+ # commonly ignored for libraries.
104
+ #uv.lock
105
+
106
+ # poetry
107
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
108
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
109
+ # commonly ignored for libraries.
110
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
111
+ #poetry.lock
112
+ #poetry.toml
113
+
114
+ # pdm
115
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
116
+ # pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
117
+ # https://pdm-project.org/en/latest/usage/project/#working-with-version-control
118
+ #pdm.lock
119
+ #pdm.toml
120
+ .pdm-python
121
+ .pdm-build/
122
+
123
+ # pixi
124
+ # Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
125
+ #pixi.lock
126
+ # Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
127
+ # in the .venv directory. It is recommended not to include this directory in version control.
128
+ .pixi
129
+
130
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
131
+ __pypackages__/
132
+
133
+ # Celery stuff
134
+ celerybeat-schedule
135
+ celerybeat.pid
136
+
137
+ # SageMath parsed files
138
+ *.sage.py
139
+
140
+ # Environments
141
+ .env
142
+ .envrc
143
+ .venv
144
+ env/
145
+ venv/
146
+ ENV/
147
+ env.bak/
148
+ venv.bak/
149
+
150
+ # Spyder project settings
151
+ .spyderproject
152
+ .spyproject
153
+
154
+ # Rope project settings
155
+ .ropeproject
156
+
157
+ # mkdocs documentation
158
+ /site
159
+
160
+ # mypy
161
+ .mypy_cache/
162
+ .dmypy.json
163
+ dmypy.json
164
+
165
+ # Pyre type checker
166
+ .pyre/
167
+
168
+ # pytype static type analyzer
169
+ .pytype/
170
+
171
+ # Cython debug symbols
172
+ cython_debug/
173
+
174
+ # PyCharm
175
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
176
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
177
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
178
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
179
+ #.idea/
180
+
181
+ # Abstra
182
+ # Abstra is an AI-powered process automation framework.
183
+ # Ignore directories containing user credentials, local state, and settings.
184
+ # Learn more at https://abstra.io/docs
185
+ .abstra/
186
+
187
+ # Visual Studio Code
188
+ # Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
189
+ # that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
190
+ # and can be added to the global gitignore or merged into this file. However, if you prefer,
191
+ # you could uncomment the following to ignore the entire vscode folder
192
+ # .vscode/
193
+
194
+ # Ruff stuff:
195
+ .ruff_cache/
196
+
197
+ # PyPI configuration file
198
+ .pypirc
199
+
200
+ # Cursor
201
+ # Cursor is an AI-powered code editor. `.cursorignore` specifies files/directories to
202
+ # exclude from AI features like autocomplete and code analysis. Recommended for sensitive data
203
+ # refer to https://docs.cursor.com/context/ignore-files
204
+ .cursorignore
205
+ .cursorindexingignore
206
+
207
+ # Marimo
208
+ marimo/_static/
209
+ marimo/_lsp/
210
+ __marimo__/
211
+
212
+ # Docker
213
+ .dockerignore
214
+ docker-compose.override.yml
215
+
216
+ # Development environment
217
+ .env.local
218
+ .env.development
219
+ .env.test
@@ -0,0 +1,40 @@
1
+ {
2
+ "version": "0.2.0",
3
+ "configurations": [
4
+ {
5
+ "name": "Python Debugger: FastAPI",
6
+ "type": "debugpy",
7
+ "request": "launch",
8
+ "module": "uvicorn",
9
+ "args": [
10
+ "app.main:app",
11
+ "--host",
12
+ "0.0.0.0",
13
+ "--port",
14
+ "5002",
15
+ "--reload"
16
+ ],
17
+ "jinja": true,
18
+ "justMyCode": false
19
+ },
20
+ {
21
+ "name": "Python Debugger: Current File",
22
+ "type": "debugpy",
23
+ "request": "launch",
24
+ "program": "${file}",
25
+ "console": "integratedTerminal",
26
+ "justMyCode": false
27
+ },
28
+ {
29
+ "name": "Python: Debug Tests",
30
+ "type": "debugpy",
31
+ "request": "launch",
32
+ "program": "${file}",
33
+ "purpose": [
34
+ "debug-test"
35
+ ],
36
+ "console": "integratedTerminal",
37
+ "justMyCode": false
38
+ }
39
+ ]
40
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "python.analysis.autoImportCompletions": true,
3
+ "python.analysis.autoFormatStrings": true,
4
+ "python.languageServer": "Pylance",
5
+ "python.analysis.typeCheckingMode": "basic",
6
+ "python.defaultInterpreterPath": "./.venv/bin/python",
7
+ "python.analysis.indexing": true,
8
+ "python.analysis.packageIndexDepths": [
9
+ {
10
+ "name": "",
11
+ "depth": 10
12
+ }
13
+ ],
14
+ "python.terminal.activateEnvironment": true,
15
+ "terminal.integrated.env.osx": {
16
+ "VIRTUAL_ENV": "${workspaceFolder}/.venv",
17
+ "PATH": "${workspaceFolder}/.venv/bin:${env:PATH}"
18
+ },
19
+ "editor.formatOnSave": true,
20
+ "editor.codeActionsOnSave": {
21
+ "source.fixAll.ruff": "explicit",
22
+ "source.organizeImports.ruff": "explicit"
23
+ },
24
+ "[python]": {
25
+ "editor.defaultFormatter": "charliermarsh.ruff",
26
+ "editor.formatOnSave": true
27
+ },
28
+ "ruff.enable": true,
29
+ "ruff.lint.enable": true,
30
+ "python.testing.pytestArgs": [
31
+ "tests",
32
+ "benchmark",
33
+ ],
34
+ "python.testing.unittestEnabled": false,
35
+ "python.testing.pytestEnabled": true
36
+ }
@@ -0,0 +1,111 @@
1
+ {
2
+ "version": "2.0.0",
3
+ "tasks": [
4
+ {
5
+ "label": "Run Unit Tests with Coverage",
6
+ "type": "shell",
7
+ "command": "${workspaceFolder}/.venv/bin/python",
8
+ "args": [
9
+ "-m",
10
+ "pytest",
11
+ "tests/",
12
+ "--cov=arcanus",
13
+ "--cov-report=html",
14
+ "--cov-report=term"
15
+ ],
16
+ "group": {
17
+ "kind": "test",
18
+ "isDefault": true
19
+ },
20
+ "presentation": {
21
+ "reveal": "always",
22
+ "panel": "dedicated"
23
+ },
24
+ "problemMatcher": []
25
+ },
26
+ {
27
+ "label": "Run All Benchmarks",
28
+ "type": "shell",
29
+ "command": "${workspaceFolder}/.venv/bin/python",
30
+ "args": [
31
+ "-m",
32
+ "pytest",
33
+ "benchmark/",
34
+ "-v",
35
+ "--benchmark-enable",
36
+ "--benchmark-disable-gc",
37
+ "--benchmark-warmup=on",
38
+ "--benchmark-warmup-iterations=5",
39
+ "--benchmark-min-rounds=5"
40
+ ],
41
+ "group": "test",
42
+ "presentation": {
43
+ "reveal": "always",
44
+ "panel": "dedicated"
45
+ },
46
+ "problemMatcher": []
47
+ },
48
+ {
49
+ "label": "Run NoOp Benchmarks",
50
+ "type": "shell",
51
+ "command": "${workspaceFolder}/.venv/bin/python",
52
+ "args": [
53
+ "-m",
54
+ "pytest",
55
+ "benchmark/noop/",
56
+ "-v",
57
+ "--benchmark-enable",
58
+ "--benchmark-disable-gc",
59
+ "--benchmark-warmup=on",
60
+ "--benchmark-warmup-iterations=5",
61
+ "--benchmark-min-rounds=5"
62
+ ],
63
+ "group": "test",
64
+ "presentation": {
65
+ "reveal": "always",
66
+ "panel": "dedicated"
67
+ },
68
+ "problemMatcher": []
69
+ },
70
+ {
71
+ "label": "Run SQLAlchemy Benchmarks",
72
+ "type": "shell",
73
+ "command": "${workspaceFolder}/.venv/bin/python",
74
+ "args": [
75
+ "-m",
76
+ "pytest",
77
+ "benchmark/sqlalchemy/",
78
+ "-v",
79
+ "--benchmark-enable",
80
+ "--benchmark-disable-gc",
81
+ "--benchmark-warmup=on",
82
+ "--benchmark-warmup-iterations=5",
83
+ "--benchmark-min-rounds=5"
84
+ ],
85
+ "group": "test",
86
+ "presentation": {
87
+ "reveal": "always",
88
+ "panel": "dedicated"
89
+ },
90
+ "problemMatcher": []
91
+ },
92
+ {
93
+ "label": "Run Benchmarks (CodSpeed)",
94
+ "type": "shell",
95
+ "command": "${workspaceFolder}/.venv/bin/python",
96
+ "args": [
97
+ "-m",
98
+ "pytest",
99
+ "benchmark/",
100
+ "-v",
101
+ "--codspeed"
102
+ ],
103
+ "group": "test",
104
+ "presentation": {
105
+ "reveal": "always",
106
+ "panel": "dedicated"
107
+ },
108
+ "problemMatcher": []
109
+ }
110
+ ]
111
+ }
arcanus-0.0.2/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Lu Hui
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.