vairified 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,26 @@
1
+ [tool.bumpversion]
2
+ allow_dirty = true
3
+ commit = false
4
+ message = "Bump version: {current_version} → {new_version}"
5
+ tag = false
6
+ sign_tags = false
7
+ tag_name = "v{new_version}"
8
+ tag_message = "Bump version: {current_version} → {new_version}"
9
+ current_version = "0.1.0"
10
+ parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)(\\-(?P<release>[a-z]+)\\.(?P<build>\\d+))?"
11
+ serialize = [
12
+ "{major}.{minor}.{patch}-{release}.{build}",
13
+ "{major}.{minor}.{patch}"
14
+ ]
15
+ search = "{current_version}"
16
+ replace = "{new_version}"
17
+
18
+ [tool.bumpversion.parts.release]
19
+ values = ["alpha", "beta", "rc"]
20
+ optional_value = "rc"
21
+
22
+ [[tool.bumpversion.files]]
23
+ filename = "vairified/__init__.py"
24
+
25
+ [[tool.bumpversion.files]]
26
+ filename = "pyproject.toml"
@@ -0,0 +1,19 @@
1
+ [run]
2
+ source = vairified
3
+ branch = true
4
+ omit =
5
+ tests/*
6
+ */__pycache__/*
7
+
8
+ [report]
9
+ exclude_lines =
10
+ pragma: no cover
11
+ def __repr__
12
+ raise NotImplementedError
13
+ if TYPE_CHECKING:
14
+ @overload
15
+ show_missing = true
16
+ precision = 2
17
+
18
+ [html]
19
+ directory = htmlcov
@@ -0,0 +1,21 @@
1
+ # EditorConfig helps maintain consistent coding styles
2
+ # https://editorconfig.org
3
+
4
+ root = true
5
+
6
+ [*]
7
+ indent_style = space
8
+ indent_size = 4
9
+ end_of_line = lf
10
+ charset = utf-8
11
+ trim_trailing_whitespace = true
12
+ insert_final_newline = true
13
+
14
+ [*.{yml,yaml,json,toml}]
15
+ indent_size = 2
16
+
17
+ [*.md]
18
+ trim_trailing_whitespace = false
19
+
20
+ [Makefile]
21
+ indent_style = tab
@@ -0,0 +1,62 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+ branches: [main]
8
+
9
+ jobs:
10
+ lint:
11
+ name: Lint
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v6
15
+
16
+ - name: Install uv
17
+ uses: astral-sh/setup-uv@v7
18
+ with:
19
+ enable-cache: true
20
+
21
+ - name: Set up Python
22
+ run: uv python install 3.13
23
+
24
+ - name: Install dependencies
25
+ run: uv sync --frozen --extra dev
26
+
27
+ - name: Lint with ruff
28
+ run: |
29
+ uv run ruff check --output-format=github vairified tests
30
+ uv run ruff format --check vairified tests
31
+
32
+ test:
33
+ name: Test (Python ${{ matrix.python-version }})
34
+ runs-on: ubuntu-latest
35
+ strategy:
36
+ fail-fast: false
37
+ matrix:
38
+ python-version: ['3.12', '3.13', '3.14']
39
+
40
+ steps:
41
+ - uses: actions/checkout@v6
42
+
43
+ - name: Install uv
44
+ uses: astral-sh/setup-uv@v7
45
+ with:
46
+ enable-cache: true
47
+
48
+ - name: Set up Python ${{ matrix.python-version }}
49
+ run: uv python install ${{ matrix.python-version }}
50
+
51
+ - name: Install dependencies
52
+ run: uv sync --frozen --extra dev
53
+
54
+ - name: Run tests with coverage
55
+ run: uv run pytest --cov=vairified --cov-report=xml --cov-report=term-missing
56
+
57
+ - name: Upload coverage
58
+ if: matrix.python-version == '3.13'
59
+ uses: codecov/codecov-action@v5
60
+ with:
61
+ file: ./coverage.xml
62
+ fail_ci_if_error: false
@@ -0,0 +1,57 @@
1
+ name: Deploy Documentation
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ workflow_dispatch:
7
+
8
+ permissions:
9
+ contents: read
10
+ pages: write
11
+ id-token: write
12
+
13
+ concurrency:
14
+ group: pages
15
+ cancel-in-progress: false
16
+
17
+ jobs:
18
+ build:
19
+ runs-on: ubuntu-latest
20
+ steps:
21
+ - name: Checkout
22
+ uses: actions/checkout@v4
23
+
24
+ - name: Setup Python
25
+ uses: actions/setup-python@v5
26
+ with:
27
+ python-version: '3.12'
28
+
29
+ - name: Install uv
30
+ uses: astral-sh/setup-uv@v4
31
+
32
+ - name: Install dependencies
33
+ run: uv sync --frozen --extra docs
34
+
35
+ - name: Build documentation
36
+ run: uv run sphinx-build -b html docs docs/_build/html
37
+
38
+ - name: Setup Pages
39
+ uses: actions/configure-pages@v5
40
+ with:
41
+ enablement: true
42
+
43
+ - name: Upload artifact
44
+ uses: actions/upload-pages-artifact@v3
45
+ with:
46
+ path: docs/_build/html
47
+
48
+ deploy:
49
+ environment:
50
+ name: github-pages
51
+ url: ${{ steps.deployment.outputs.page_url }}
52
+ runs-on: ubuntu-latest
53
+ needs: build
54
+ steps:
55
+ - name: Deploy to GitHub Pages
56
+ id: deployment
57
+ uses: actions/deploy-pages@v4
@@ -0,0 +1,113 @@
1
+ name: Release
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - 'v*'
7
+
8
+ jobs:
9
+ lint:
10
+ name: Lint
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v6
14
+
15
+ - name: Install uv
16
+ uses: astral-sh/setup-uv@v7
17
+ with:
18
+ enable-cache: true
19
+
20
+ - name: Set up Python
21
+ run: uv python install 3.13
22
+
23
+ - name: Install dependencies
24
+ run: uv sync --frozen --extra dev
25
+
26
+ - name: Lint with ruff
27
+ run: |
28
+ uv run ruff check --output-format=github vairified tests
29
+ uv run ruff format --check vairified tests
30
+
31
+ test:
32
+ name: Test (Python ${{ matrix.python-version }})
33
+ runs-on: ubuntu-latest
34
+ strategy:
35
+ fail-fast: false
36
+ matrix:
37
+ python-version: ['3.12', '3.13', '3.14']
38
+
39
+ steps:
40
+ - uses: actions/checkout@v6
41
+
42
+ - name: Install uv
43
+ uses: astral-sh/setup-uv@v7
44
+ with:
45
+ enable-cache: true
46
+
47
+ - name: Set up Python ${{ matrix.python-version }}
48
+ run: uv python install ${{ matrix.python-version }}
49
+
50
+ - name: Install dependencies
51
+ run: uv sync --frozen --extra dev
52
+
53
+ - name: Run tests
54
+ run: uv run pytest
55
+
56
+ build:
57
+ name: Build Package
58
+ needs: [lint, test]
59
+ runs-on: ubuntu-latest
60
+ steps:
61
+ - uses: actions/checkout@v6
62
+
63
+ - name: Install uv
64
+ uses: astral-sh/setup-uv@v7
65
+ with:
66
+ enable-cache: true
67
+
68
+ - name: Build package
69
+ run: uv build
70
+
71
+ - name: Upload dist artifacts
72
+ uses: actions/upload-artifact@v6
73
+ with:
74
+ name: dist
75
+ path: dist/
76
+
77
+ publish-pypi:
78
+ name: Publish to PyPI
79
+ needs: build
80
+ runs-on: ubuntu-latest
81
+ environment: pypi
82
+ permissions:
83
+ id-token: write
84
+ steps:
85
+ - name: Download dist artifacts
86
+ uses: actions/download-artifact@v6
87
+ with:
88
+ name: dist
89
+ path: dist/
90
+
91
+ - name: Publish to PyPI
92
+ uses: pypa/gh-action-pypi-publish@release/v1
93
+
94
+ publish-github:
95
+ name: Create GitHub Release
96
+ needs: build
97
+ runs-on: ubuntu-latest
98
+ permissions:
99
+ contents: write
100
+ steps:
101
+ - uses: actions/checkout@v6
102
+
103
+ - name: Download dist artifacts
104
+ uses: actions/download-artifact@v6
105
+ with:
106
+ name: dist
107
+ path: dist/
108
+
109
+ - name: Create GitHub Release
110
+ uses: softprops/action-gh-release@v2
111
+ with:
112
+ files: dist/*
113
+ generate_release_notes: true
@@ -0,0 +1,80 @@
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
+
27
+ # PyInstaller
28
+ *.manifest
29
+ *.spec
30
+
31
+ # Installer logs
32
+ pip-log.txt
33
+ pip-delete-this-directory.txt
34
+
35
+ # Unit test / coverage reports
36
+ htmlcov/
37
+ .tox/
38
+ .nox/
39
+ .coverage
40
+ .coverage.*
41
+ .cache
42
+ nosetests.xml
43
+ coverage.xml
44
+ *.cover
45
+ *.py,cover
46
+ .hypothesis/
47
+ .pytest_cache/
48
+
49
+ # Translations
50
+ *.mo
51
+ *.pot
52
+
53
+ # Environments
54
+ .env
55
+ .venv
56
+ env/
57
+ venv/
58
+ ENV/
59
+ env.bak/
60
+ venv.bak/
61
+
62
+ # IDE
63
+ .idea/
64
+ .vscode/
65
+ *.swp
66
+ *.swo
67
+
68
+ # UV
69
+ # uv.lock is committed for reproducible CI builds
70
+
71
+ # mypy
72
+ .mypy_cache/
73
+ .dmypy.json
74
+ dmypy.json
75
+
76
+ # Ruff
77
+ .ruff_cache/
78
+
79
+ # Sphinx documentation build
80
+ docs/_build/
@@ -0,0 +1,21 @@
1
+ # Read the Docs configuration file
2
+ # See https://docs.readthedocs.io/en/stable/config-file/v2.html
3
+
4
+ version: 2
5
+
6
+ build:
7
+ os: ubuntu-24.04
8
+ tools:
9
+ python: "3.12"
10
+
11
+ sphinx:
12
+ configuration: docs/conf.py
13
+ fail_on_warning: false
14
+
15
+ formats:
16
+ - pdf
17
+
18
+ python:
19
+ install:
20
+ - requirements: docs/requirements.txt
21
+ - path: .
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Vairified Corp
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.