taxtrace 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.
Files changed (108) hide show
  1. taxtrace-0.1.0/.githooks/pre-push +5 -0
  2. taxtrace-0.1.0/.github/FUNDING.yml +1 -0
  3. taxtrace-0.1.0/.github/workflows/ci.yml +26 -0
  4. taxtrace-0.1.0/.github/workflows/registry.yml +30 -0
  5. taxtrace-0.1.0/.github/workflows/release.yml +87 -0
  6. taxtrace-0.1.0/.gitignore +25 -0
  7. taxtrace-0.1.0/LICENSE +21 -0
  8. taxtrace-0.1.0/PKG-INFO +804 -0
  9. taxtrace-0.1.0/README.md +772 -0
  10. taxtrace-0.1.0/glama.json +4 -0
  11. taxtrace-0.1.0/pyproject.toml +52 -0
  12. taxtrace-0.1.0/scripts/build_vocab.py +73 -0
  13. taxtrace-0.1.0/scripts/check +34 -0
  14. taxtrace-0.1.0/scripts/make_icons.py +38 -0
  15. taxtrace-0.1.0/scripts/mcp_smoke.py +181 -0
  16. taxtrace-0.1.0/server.json +45 -0
  17. taxtrace-0.1.0/skills/taxtrace/LICENSE +21 -0
  18. taxtrace-0.1.0/skills/taxtrace/SKILL.md +80 -0
  19. taxtrace-0.1.0/taxtrace/__init__.py +3 -0
  20. taxtrace-0.1.0/taxtrace/answers.py +49 -0
  21. taxtrace-0.1.0/taxtrace/carryover.py +110 -0
  22. taxtrace-0.1.0/taxtrace/certificate.py +105 -0
  23. taxtrace-0.1.0/taxtrace/chat.py +344 -0
  24. taxtrace-0.1.0/taxtrace/cli.py +1910 -0
  25. taxtrace-0.1.0/taxtrace/data/vocab.txt +8052 -0
  26. taxtrace-0.1.0/taxtrace/data/vocab_extra.txt +64 -0
  27. taxtrace-0.1.0/taxtrace/estimates.py +192 -0
  28. taxtrace-0.1.0/taxtrace/f1040.py +95 -0
  29. taxtrace-0.1.0/taxtrace/f1098.py +245 -0
  30. taxtrace-0.1.0/taxtrace/f1099.py +204 -0
  31. taxtrace-0.1.0/taxtrace/f1116b.py +209 -0
  32. taxtrace-0.1.0/taxtrace/f8582.py +150 -0
  33. taxtrace-0.1.0/taxtrace/f8995.py +115 -0
  34. taxtrace-0.1.0/taxtrace/fbar.py +127 -0
  35. taxtrace-0.1.0/taxtrace/foreign.py +720 -0
  36. taxtrace-0.1.0/taxtrace/fx.py +153 -0
  37. taxtrace-0.1.0/taxtrace/gate.py +226 -0
  38. taxtrace-0.1.0/taxtrace/importer.py +146 -0
  39. taxtrace-0.1.0/taxtrace/ira.py +120 -0
  40. taxtrace-0.1.0/taxtrace/itr.py +279 -0
  41. taxtrace-0.1.0/taxtrace/k1.py +570 -0
  42. taxtrace-0.1.0/taxtrace/k3.py +261 -0
  43. taxtrace-0.1.0/taxtrace/macos/approval_check.swift +52 -0
  44. taxtrace-0.1.0/taxtrace/macos/keychain_gate.swift +152 -0
  45. taxtrace-0.1.0/taxtrace/mcp_server.py +128 -0
  46. taxtrace-0.1.0/taxtrace/nck1.py +191 -0
  47. taxtrace-0.1.0/taxtrace/passive.py +262 -0
  48. taxtrace-0.1.0/taxtrace/paystub.py +322 -0
  49. taxtrace-0.1.0/taxtrace/policy.py +75 -0
  50. taxtrace-0.1.0/taxtrace/prior.py +749 -0
  51. taxtrace-0.1.0/taxtrace/qbi.py +268 -0
  52. taxtrace-0.1.0/taxtrace/redact.py +103 -0
  53. taxtrace-0.1.0/taxtrace/review.py +196 -0
  54. taxtrace-0.1.0/taxtrace/schedule_e.py +341 -0
  55. taxtrace-0.1.0/taxtrace/service.py +130 -0
  56. taxtrace-0.1.0/taxtrace/statement.py +525 -0
  57. taxtrace-0.1.0/taxtrace/static/apple-touch-icon.png +0 -0
  58. taxtrace-0.1.0/taxtrace/static/icon-192.png +0 -0
  59. taxtrace-0.1.0/taxtrace/static/icon-512.png +0 -0
  60. taxtrace-0.1.0/taxtrace/static/icon-app.svg +33 -0
  61. taxtrace-0.1.0/taxtrace/static/icon-maskable-512.png +0 -0
  62. taxtrace-0.1.0/taxtrace/static/icon-maskable.svg +24 -0
  63. taxtrace-0.1.0/taxtrace/static/icon.svg +18 -0
  64. taxtrace-0.1.0/taxtrace/static/index.html +573 -0
  65. taxtrace-0.1.0/taxtrace/static/manifest.webmanifest +17 -0
  66. taxtrace-0.1.0/taxtrace/tds.py +134 -0
  67. taxtrace-0.1.0/taxtrace/text.py +285 -0
  68. taxtrace-0.1.0/taxtrace/todo.py +171 -0
  69. taxtrace-0.1.0/taxtrace/vul.py +115 -0
  70. taxtrace-0.1.0/taxtrace/web.py +180 -0
  71. taxtrace-0.1.0/taxtrace/workspace.py +136 -0
  72. taxtrace-0.1.0/tests/conftest.py +79 -0
  73. taxtrace-0.1.0/tests/test_carryover.py +96 -0
  74. taxtrace-0.1.0/tests/test_certificate.py +69 -0
  75. taxtrace-0.1.0/tests/test_chat.py +178 -0
  76. taxtrace-0.1.0/tests/test_estimates.py +85 -0
  77. taxtrace-0.1.0/tests/test_f1040.py +72 -0
  78. taxtrace-0.1.0/tests/test_f1098.py +105 -0
  79. taxtrace-0.1.0/tests/test_f1099.py +104 -0
  80. taxtrace-0.1.0/tests/test_f1116b.py +143 -0
  81. taxtrace-0.1.0/tests/test_f8582.py +76 -0
  82. taxtrace-0.1.0/tests/test_f8995.py +113 -0
  83. taxtrace-0.1.0/tests/test_fbar.py +99 -0
  84. taxtrace-0.1.0/tests/test_foreign.py +372 -0
  85. taxtrace-0.1.0/tests/test_gate.py +297 -0
  86. taxtrace-0.1.0/tests/test_import.py +144 -0
  87. taxtrace-0.1.0/tests/test_ira.py +60 -0
  88. taxtrace-0.1.0/tests/test_itr.py +112 -0
  89. taxtrace-0.1.0/tests/test_k1.py +417 -0
  90. taxtrace-0.1.0/tests/test_k3.py +105 -0
  91. taxtrace-0.1.0/tests/test_locked.py +200 -0
  92. taxtrace-0.1.0/tests/test_mcp_smoke.py +71 -0
  93. taxtrace-0.1.0/tests/test_mcp_tools.py +228 -0
  94. taxtrace-0.1.0/tests/test_nck1.py +104 -0
  95. taxtrace-0.1.0/tests/test_ocr.py +143 -0
  96. taxtrace-0.1.0/tests/test_office.py +73 -0
  97. taxtrace-0.1.0/tests/test_passive.py +143 -0
  98. taxtrace-0.1.0/tests/test_paystub.py +132 -0
  99. taxtrace-0.1.0/tests/test_prior.py +350 -0
  100. taxtrace-0.1.0/tests/test_qbi.py +142 -0
  101. taxtrace-0.1.0/tests/test_redact.py +87 -0
  102. taxtrace-0.1.0/tests/test_schedule_e.py +188 -0
  103. taxtrace-0.1.0/tests/test_service.py +101 -0
  104. taxtrace-0.1.0/tests/test_statement.py +320 -0
  105. taxtrace-0.1.0/tests/test_tds.py +114 -0
  106. taxtrace-0.1.0/tests/test_todo.py +193 -0
  107. taxtrace-0.1.0/tests/test_vul.py +67 -0
  108. taxtrace-0.1.0/uv.lock +2345 -0
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env bash
2
+ # Run CI's checks (and the privacy audit, if PRE_PUSH_AUDIT is set) before a push.
3
+ # Enable with: git config core.hooksPath .githooks
4
+ # Skip once with: git push --no-verify
5
+ exec "$(git rev-parse --show-toplevel)/scripts/check"
@@ -0,0 +1 @@
1
+ ko_fi: vinayvobbili
@@ -0,0 +1,26 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+
8
+ permissions:
9
+ contents: read
10
+
11
+ jobs:
12
+ test:
13
+ name: Test (py${{ matrix.python-version }})
14
+ runs-on: ubuntu-latest
15
+ strategy:
16
+ matrix:
17
+ python-version: ["3.10", "3.13"]
18
+ steps:
19
+ - uses: actions/checkout@v7
20
+ - uses: actions/setup-python@v7
21
+ with:
22
+ python-version: ${{ matrix.python-version }}
23
+ - run: python -m pip install --upgrade pip
24
+ - run: pip install -e ".[dev,mcp]"
25
+ - run: ruff check .
26
+ - run: python -m pytest -q
@@ -0,0 +1,30 @@
1
+ name: MCP Registry
2
+
3
+ # Lists the release in the MCP Registry (registry.modelcontextprotocol.io) once
4
+ # it's on PyPI: the registry checks that the package's README names the server.
5
+ # Signs in with GitHub OIDC, so no token is stored anywhere.
6
+ on:
7
+ workflow_run:
8
+ workflows: [Release]
9
+ types: [completed]
10
+ workflow_dispatch:
11
+
12
+ permissions:
13
+ contents: read
14
+
15
+ jobs:
16
+ publish:
17
+ if: github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success'
18
+ runs-on: ubuntu-latest
19
+ permissions:
20
+ id-token: write # required for OIDC
21
+ steps:
22
+ - uses: actions/checkout@v7
23
+ with:
24
+ ref: ${{ github.event.workflow_run.head_sha || github.sha }}
25
+ - name: Install mcp-publisher
26
+ run: |
27
+ curl -fsSL https://github.com/modelcontextprotocol/registry/releases/download/v1.8.1/mcp-publisher_linux_amd64.tar.gz \
28
+ | tar xz mcp-publisher
29
+ - run: ./mcp-publisher login github-oidc
30
+ - run: ./mcp-publisher publish
@@ -0,0 +1,87 @@
1
+ name: Release
2
+
3
+ # Publishes to PyPI, then makes a GitHub Release, when a version tag (e.g. v0.1.0) is pushed.
4
+ # Uses PyPI Trusted Publishing (OIDC) — no API token is stored anywhere.
5
+ on:
6
+ push:
7
+ tags:
8
+ - "v*"
9
+
10
+ permissions:
11
+ contents: read
12
+
13
+ jobs:
14
+ test:
15
+ name: Test (py${{ matrix.python-version }})
16
+ runs-on: ubuntu-latest
17
+ strategy:
18
+ matrix:
19
+ # Floor and ceiling of the supported range, so a tag can't publish
20
+ # something that breaks on the requires-python lower bound.
21
+ python-version: ["3.10", "3.13"]
22
+ steps:
23
+ - uses: actions/checkout@v7
24
+ - uses: actions/setup-python@v7
25
+ with:
26
+ python-version: ${{ matrix.python-version }}
27
+ - run: python -m pip install --upgrade pip
28
+ - run: pip install -e ".[dev,mcp]"
29
+ - run: ruff check .
30
+ - run: python -m pytest -q
31
+
32
+ build:
33
+ name: Build distribution
34
+ needs: test
35
+ runs-on: ubuntu-latest
36
+ steps:
37
+ - uses: actions/checkout@v7
38
+ - uses: actions/setup-python@v7
39
+ with:
40
+ python-version: "3.x"
41
+ - name: Tag matches the package version
42
+ run: |
43
+ version=$(python -c "import tomllib; print(tomllib.load(open('pyproject.toml','rb'))['project']['version'])")
44
+ test "v$version" = "$GITHUB_REF_NAME" || { echo "tag $GITHUB_REF_NAME != version $version"; exit 1; }
45
+ - run: python -m pip install --upgrade build
46
+ - run: python -m build
47
+ - run: python -m pip install --upgrade twine && python -m twine check dist/*
48
+ - uses: actions/upload-artifact@v7
49
+ with:
50
+ name: dist
51
+ path: dist/
52
+
53
+ publish:
54
+ name: Publish to PyPI
55
+ needs: build
56
+ runs-on: ubuntu-latest
57
+ environment:
58
+ name: pypi
59
+ url: https://pypi.org/project/taxtrace/
60
+ permissions:
61
+ id-token: write # required for trusted publishing (OIDC)
62
+ steps:
63
+ - uses: actions/download-artifact@v8
64
+ with:
65
+ name: dist
66
+ path: dist/
67
+ - uses: pypa/gh-action-pypi-publish@release/v1
68
+
69
+ github-release:
70
+ # A GitHub Release for the tag, with the built files and notes from the commits since the last one.
71
+ # Directories that watch releases (Glama rebuilds the MCP server from it) pick the new version up from here.
72
+ name: GitHub Release
73
+ needs: publish
74
+ runs-on: ubuntu-latest
75
+ permissions:
76
+ contents: write
77
+ steps:
78
+ - uses: actions/download-artifact@v8
79
+ with:
80
+ name: dist
81
+ path: dist/
82
+ - name: Create the release
83
+ env:
84
+ GH_TOKEN: ${{ github.token }}
85
+ run: >-
86
+ gh release create "$GITHUB_REF_NAME" dist/* --repo "$GITHUB_REPOSITORY" --verify-tag
87
+ --title "taxtrace ${GITHUB_REF_NAME#v}" --generate-notes
@@ -0,0 +1,25 @@
1
+ .venv/
2
+ .venv-py*/
3
+ __pycache__/
4
+ *.egg-info/
5
+ dist/
6
+ build/
7
+ .pytest_cache/
8
+ .ruff_cache/
9
+ # Your own watchlist and state stay out of the repo.
10
+ *.db
11
+
12
+ # Tax documents and anything derived from them never belong here.
13
+ *.pdf
14
+ *.xlsx
15
+ *.xls
16
+ *.docx
17
+ *.jpg
18
+ *.jpeg
19
+ *.png
20
+ *.heic
21
+ TaxData/
22
+ redacted/
23
+ # except the app's own icons, rendered from the SVGs beside them by scripts/make_icons.py
24
+ !taxtrace/static/icon-*.png
25
+ !taxtrace/static/apple-touch-icon.png
taxtrace-0.1.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 taxtrace contributors
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.