aark 0.1.0__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.
@@ -0,0 +1,9 @@
1
+ FROM mcr.microsoft.com/devcontainers/python:3.14
2
+
3
+ RUN apt-get update && apt-get install -y --no-install-recommends \
4
+ unixodbc \
5
+ unixodbc-dev \
6
+ mdbtools \
7
+ odbc-mdbtools
8
+
9
+ RUN pipx install uv==0.11.*
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "aark",
3
+ "containerEnv": {
4
+ "UV_PROJECT_ENVIRONMENT": "/home/vscode/.venv"
5
+ },
6
+ "build": {
7
+ "dockerfile": "Dockerfile"
8
+ },
9
+ "postCreateCommand": "bash .devcontainer/setup.sh",
10
+ "customizations": {
11
+ "vscode": {
12
+ "extensions": [
13
+ "ms-python.python",
14
+ "ms-python.mypy-type-checker",
15
+ "charliermarsh.ruff"
16
+ ],
17
+ "settings": {
18
+ "python.defaultInterpreterPath": "/home/vscode/.venv/bin/python",
19
+ "[python]": {
20
+ "editor.codeActionsOnSave": {
21
+ "source.organizeImports": "explicit",
22
+ "source.fixAll": "explicit"
23
+ },
24
+ "editor.defaultFormatter": "charliermarsh.ruff"
25
+ },
26
+ "editor.formatOnSave": true,
27
+ "mypy-type-checker.importStrategy": "fromEnvironment",
28
+ "ruff.importStrategy": "fromEnvironment"
29
+ }
30
+ }
31
+ },
32
+ "remoteUser": "vscode"
33
+ }
@@ -0,0 +1 @@
1
+ uv sync --all-extras --all-groups
@@ -0,0 +1 @@
1
+ * text=auto eol=lf
@@ -0,0 +1,53 @@
1
+ name: Publish PyPI
2
+
3
+ on:
4
+ release:
5
+ types: published
6
+
7
+ jobs:
8
+ build:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v6
12
+ - uses: actions/setup-python@v6
13
+ with:
14
+ python-version: "3.14"
15
+ - run: |
16
+ python -m pip install build
17
+ python -m build
18
+ - uses: actions/upload-artifact@v7
19
+ with:
20
+ name: python-package-distributions
21
+ path: dist/
22
+
23
+ upload-testpypi:
24
+ needs: build
25
+ runs-on: ubuntu-latest
26
+ environment:
27
+ name: pypi
28
+ url: https://test.pypi.org/p/aark
29
+ permissions:
30
+ id-token: write
31
+ steps:
32
+ - uses: actions/download-artifact@v8
33
+ with:
34
+ name: python-package-distributions
35
+ path: dist/
36
+ - uses: pypa/gh-action-pypi-publish@release/v1
37
+ with:
38
+ repository-url: https://test.pypi.org/legacy/
39
+
40
+ upload-pypi:
41
+ needs: upload-testpypi
42
+ runs-on: ubuntu-latest
43
+ environment:
44
+ name: pypi
45
+ url: https://pypi.org/p/aark
46
+ permissions:
47
+ id-token: write
48
+ steps:
49
+ - uses: actions/download-artifact@v8
50
+ with:
51
+ name: python-package-distributions
52
+ path: dist/
53
+ - uses: pypa/gh-action-pypi-publish@release/v1
@@ -0,0 +1,36 @@
1
+ name: Test
2
+
3
+ on:
4
+ workflow_dispatch:
5
+ push:
6
+ branches: main
7
+ tags: "*"
8
+ pull_request:
9
+
10
+ concurrency:
11
+ group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
12
+ cancel-in-progress: true
13
+
14
+ jobs:
15
+ build:
16
+ runs-on: ${{ matrix.os }}
17
+ strategy:
18
+ fail-fast: false
19
+ matrix:
20
+ os: [ubuntu-latest, macos-latest, windows-latest]
21
+ python-version: ["3.14"]
22
+ steps:
23
+ - uses: actions/checkout@v6
24
+ - uses: astral-sh/setup-uv@v7
25
+ with:
26
+ version: "0.11.*"
27
+ enable-cache: true
28
+ cache-dependency-glob: uv.lock
29
+ - uses: actions/setup-python@v6
30
+ with:
31
+ python-version: ${{ matrix.python-version }}
32
+ - run: uv sync --locked --all-extras --all-groups
33
+ - run: uv run ruff format --check
34
+ - run: uv run ruff check
35
+ - run: uv run mypy
36
+ # - run: uv run pytest # TODO
aark-0.1.0/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ # mac
2
+ .DS_Store
3
+
4
+ # python
5
+ __pycache__
6
+ .vscode
7
+ .ipynb_checkpoints
8
+ .coverage
9
+ .coverage.*
aark-0.1.0/LICENSE ADDED
@@ -0,0 +1,28 @@
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2026, Cheng Cui
4
+
5
+ Redistribution and use in source and binary forms, with or without
6
+ modification, are permitted provided that the following conditions are met:
7
+
8
+ 1. Redistributions of source code must retain the above copyright notice, this
9
+ list of conditions and the following disclaimer.
10
+
11
+ 2. Redistributions in binary form must reproduce the above copyright notice,
12
+ this list of conditions and the following disclaimer in the documentation
13
+ and/or other materials provided with the distribution.
14
+
15
+ 3. Neither the name of the copyright holder nor the names of its
16
+ contributors may be used to endorse or promote products derived from
17
+ this software without specific prior written permission.
18
+
19
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
23
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
25
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.