pyrate-ta 0.1.260814.dev1__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 (89) hide show
  1. pyrate_ta-0.1.260814.dev1/.github/workflows/python-publish.yml +54 -0
  2. pyrate_ta-0.1.260814.dev1/.gitignore +80 -0
  3. pyrate_ta-0.1.260814.dev1/LICENSE +660 -0
  4. pyrate_ta-0.1.260814.dev1/PKG-INFO +983 -0
  5. pyrate_ta-0.1.260814.dev1/README.md +298 -0
  6. pyrate_ta-0.1.260814.dev1/TESTING.md +246 -0
  7. pyrate_ta-0.1.260814.dev1/docs/.gitignore +8 -0
  8. pyrate_ta-0.1.260814.dev1/docs/boundary.tex +77 -0
  9. pyrate_ta-0.1.260814.dev1/docs/extending.tex +88 -0
  10. pyrate_ta-0.1.260814.dev1/docs/fitting.tex +388 -0
  11. pyrate_ta-0.1.260814.dev1/docs/gui.tex +211 -0
  12. pyrate_ta-0.1.260814.dev1/docs/installation.tex +121 -0
  13. pyrate_ta-0.1.260814.dev1/docs/main.pdf +0 -0
  14. pyrate_ta-0.1.260814.dev1/docs/main.tex +148 -0
  15. pyrate_ta-0.1.260814.dev1/docs/models.tex +206 -0
  16. pyrate_ta-0.1.260814.dev1/docs/settings.tex +201 -0
  17. pyrate_ta-0.1.260814.dev1/examples/lda_fit.py +97 -0
  18. pyrate_ta-0.1.260814.dev1/examples/quick_fit.py +164 -0
  19. pyrate_ta-0.1.260814.dev1/pyproject.toml +75 -0
  20. pyrate_ta-0.1.260814.dev1/scripts/bump_version.py +121 -0
  21. pyrate_ta-0.1.260814.dev1/scripts/run_changed_tests.py +125 -0
  22. pyrate_ta-0.1.260814.dev1/scripts/run_checks.py +233 -0
  23. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/__about__.py +5 -0
  24. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/__init__.py +281 -0
  25. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/cite.py +206 -0
  26. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/fit/__init__.py +80 -0
  27. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/fit/constrained.py +122 -0
  28. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/fit/cost.py +281 -0
  29. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/fit/driver.py +329 -0
  30. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/fit/engines.py +581 -0
  31. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/fit/groundstate.py +135 -0
  32. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/fit/lda.py +321 -0
  33. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/fit/prepare.py +176 -0
  34. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/fit/varpro.py +165 -0
  35. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/gui/__init__.py +20 -0
  36. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/gui/__main__.py +5 -0
  37. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/gui/app.py +153 -0
  38. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/gui/crosshair.py +251 -0
  39. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/gui/designer.py +29 -0
  40. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/gui/icons/pirate_ship.png +0 -0
  41. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/gui/main_window.py +402 -0
  42. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/gui/main_window.ui +2058 -0
  43. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/gui/monitor.py +155 -0
  44. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/gui/mw_common.py +357 -0
  45. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/gui/scheme_dialog.py +223 -0
  46. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/gui/scheme_dialog.ui +63 -0
  47. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/gui/settings_app.py +82 -0
  48. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/gui/settings_panel.py +168 -0
  49. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/gui/tabs/__init__.py +15 -0
  50. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/gui/tabs/data.py +797 -0
  51. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/gui/tabs/fitting.py +758 -0
  52. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/gui/tabs/lda.py +332 -0
  53. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/gui/tabs/model.py +248 -0
  54. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/helpers.py +114 -0
  55. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/io/__init__.py +32 -0
  56. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/io/session.py +255 -0
  57. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/log.py +95 -0
  58. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/models/__init__.py +105 -0
  59. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/models/base.py +362 -0
  60. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/models/irf.py +232 -0
  61. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/models/propagator.py +260 -0
  62. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/models/scheme_text.py +310 -0
  63. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/models/schemes.py +298 -0
  64. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/plot/__init__.py +68 -0
  65. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/plot/concentrations.py +243 -0
  66. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/plot/lda.py +237 -0
  67. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/plot/matrix.py +217 -0
  68. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/plot/monitor.py +167 -0
  69. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/plot/scheme.py +497 -0
  70. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/plot/style.py +95 -0
  71. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/plot/traces.py +441 -0
  72. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/results/__init__.py +44 -0
  73. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/results/fits.py +280 -0
  74. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/results/lda_result.py +178 -0
  75. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/settings.default.toml +171 -0
  76. pyrate_ta-0.1.260814.dev1/src/pyrate_ta/settings.py +797 -0
  77. pyrate_ta-0.1.260814.dev1/tests/conftest.py +75 -0
  78. pyrate_ta-0.1.260814.dev1/tests/test_cite.py +111 -0
  79. pyrate_ta-0.1.260814.dev1/tests/test_engines.py +1012 -0
  80. pyrate_ta-0.1.260814.dev1/tests/test_fit.py +383 -0
  81. pyrate_ta-0.1.260814.dev1/tests/test_groundstate.py +49 -0
  82. pyrate_ta-0.1.260814.dev1/tests/test_gui_ui.py +535 -0
  83. pyrate_ta-0.1.260814.dev1/tests/test_lda.py +93 -0
  84. pyrate_ta-0.1.260814.dev1/tests/test_models.py +324 -0
  85. pyrate_ta-0.1.260814.dev1/tests/test_plot_traces.py +187 -0
  86. pyrate_ta-0.1.260814.dev1/tests/test_scaffold.py +159 -0
  87. pyrate_ta-0.1.260814.dev1/tests/test_scheme_text.py +157 -0
  88. pyrate_ta-0.1.260814.dev1/tests/test_session.py +130 -0
  89. pyrate_ta-0.1.260814.dev1/uv.lock +1395 -0
@@ -0,0 +1,54 @@
1
+ name: Upload Python Package
2
+
3
+ on:
4
+ release:
5
+ types: [published]
6
+ workflow_dispatch: # This adds a "Run workflow" button in the Actions tab
7
+
8
+ permissions:
9
+ contents: read
10
+
11
+ jobs:
12
+ release-build:
13
+ runs-on: ubuntu-latest
14
+
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+
18
+ - uses: actions/setup-python@v5
19
+ with:
20
+ python-version: "3.x"
21
+
22
+ - name: Build release distributions
23
+ run: |
24
+ python -m pip install build
25
+ python -m build
26
+
27
+ - name: Upload distributions
28
+ uses: actions/upload-artifact@v4
29
+ with:
30
+ name: release-dists
31
+ path: dist/
32
+
33
+ pypi-publish:
34
+ runs-on: ubuntu-latest
35
+ needs:
36
+ - release-build
37
+ permissions:
38
+ id-token: write
39
+
40
+ environment:
41
+ name: pypi
42
+ url: https://pypi.org/p/pyrate-ta
43
+
44
+ steps:
45
+ - name: Retrieve release distributions
46
+ uses: actions/download-artifact@v4
47
+ with:
48
+ name: release-dists
49
+ path: dist/
50
+
51
+ - name: Publish release distributions to PyPI
52
+ uses: pypa/gh-action-pypi-publish@release/v1
53
+ with:
54
+ packages-dir: dist/
@@ -0,0 +1,80 @@
1
+ # --- Python -----------------------------------------------------------------
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+ *.so
6
+ .Python
7
+ build/
8
+ develop-eggs/
9
+ dist/
10
+ downloads/
11
+ eggs/
12
+ .eggs/
13
+ lib/
14
+ lib64/
15
+ parts/
16
+ sdist/
17
+ var/
18
+ wheels/
19
+ share/python-wheels/
20
+ *.egg-info/
21
+ .installed.cfg
22
+ *.egg
23
+ MANIFEST
24
+
25
+ # --- Environments -----------------------------------------------------------
26
+ .env
27
+ .venv
28
+ env/
29
+ venv/
30
+ ENV/
31
+ env.bak/
32
+ venv.bak/
33
+
34
+ # --- Tooling ----------------------------------------------------------------
35
+ .pytest_cache/
36
+ .ruff_cache/
37
+ .mypy_cache/
38
+ .dmypy.json
39
+ dmypy.json
40
+ htmlcov/
41
+ .tox/
42
+ .nox/
43
+ .coverage
44
+ .coverage.*
45
+ .cache
46
+ coverage.xml
47
+ *.cover
48
+ .hypothesis/
49
+
50
+ # --- Editors / OS -----------------------------------------------------------
51
+ .idea/
52
+ .vscode/
53
+ *.swp
54
+ .DS_Store
55
+ Thumbs.db
56
+ desktop.ini
57
+
58
+ # --- Project ----------------------------------------------------------------
59
+ # Archived code, kept on disk for reference but never shipped or linted.
60
+ old_code/
61
+ /old_code/
62
+
63
+ # Scratch space for local experiments.
64
+ /local/
65
+ # User settings; the defaults live in the Settings dataclass.
66
+ settings.toml
67
+ /settings.toml
68
+ # Test data lives outside the repo.
69
+ /testData/
70
+ # --- Agent guidance & Roadmap -----------------------------------------------
71
+ CLAUDE.md
72
+ ANTIGRAVITY.md
73
+ .agents/
74
+ .gemini/
75
+ .claude/
76
+ walkthrough.md
77
+ implementation_plan.md
78
+ TODO.md
79
+ todo_*.md
80
+ gui_redesign_prompt.md