crisp-t 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 (98) hide show
  1. crisp_t-0.1.0/.devcontainer/devcontainer.json +29 -0
  2. crisp_t-0.1.0/.devcontainer/postCreateCommand.sh +10 -0
  3. crisp_t-0.1.0/.github/actions/setup-python-env/action.yml +38 -0
  4. crisp_t-0.1.0/.github/config.yml +25 -0
  5. crisp_t-0.1.0/.github/dependabot.yml +12 -0
  6. crisp_t-0.1.0/.github/workflows/bump.yml +30 -0
  7. crisp_t-0.1.0/.github/workflows/docs.yml +20 -0
  8. crisp_t-0.1.0/.github/workflows/github-dependents-info.yml +60 -0
  9. crisp_t-0.1.0/.github/workflows/publish.yml +26 -0
  10. crisp_t-0.1.0/.github/workflows/pytest.yml +49 -0
  11. crisp_t-0.1.0/.github/workflows/tox.yml +27 -0
  12. crisp_t-0.1.0/.github/workflows/upgrade.yml +27 -0
  13. crisp_t-0.1.0/.gitignore +211 -0
  14. crisp_t-0.1.0/.pre-commit-config.yaml +22 -0
  15. crisp_t-0.1.0/.vscode/launch.json +32 -0
  16. crisp_t-0.1.0/.vscode/mcp.json +8 -0
  17. crisp_t-0.1.0/CHANGELOG.md +34 -0
  18. crisp_t-0.1.0/CONTRIBUTING.md +70 -0
  19. crisp_t-0.1.0/Dockerfile +21 -0
  20. crisp_t-0.1.0/LICENSE +674 -0
  21. crisp_t-0.1.0/Makefile +54 -0
  22. crisp_t-0.1.0/PKG-INFO +270 -0
  23. crisp_t-0.1.0/README.md +226 -0
  24. crisp_t-0.1.0/codecov.yaml +9 -0
  25. crisp_t-0.1.0/docs/MCP_SERVER.md +411 -0
  26. crisp_t-0.1.0/docs/changelog.md +1 -0
  27. crisp_t-0.1.0/docs/contributing.md +1 -0
  28. crisp_t-0.1.0/docs/index.md +1 -0
  29. crisp_t-0.1.0/docs/modules.md +26 -0
  30. crisp_t-0.1.0/examples/mcp_workflow_example.py +65 -0
  31. crisp_t-0.1.0/mkdocs.yml +60 -0
  32. crisp_t-0.1.0/notes/DEMO.md +107 -0
  33. crisp_t-0.1.0/notes/INSTRUCTION.md +261 -0
  34. crisp_t-0.1.0/notes/arch.drawio.svg +777 -0
  35. crisp_t-0.1.0/notes/crisp-logo.jpg +0 -0
  36. crisp_t-0.1.0/notes/crisp.gif +0 -0
  37. crisp_t-0.1.0/pyproject.toml +179 -0
  38. crisp_t-0.1.0/src/crisp_t/__init__.py +16 -0
  39. crisp_t-0.1.0/src/crisp_t/__main__.py +3 -0
  40. crisp_t-0.1.0/src/crisp_t/cli.py +697 -0
  41. crisp_t-0.1.0/src/crisp_t/cluster.py +461 -0
  42. crisp_t-0.1.0/src/crisp_t/corpuscli.py +252 -0
  43. crisp_t-0.1.0/src/crisp_t/csv.py +443 -0
  44. crisp_t-0.1.0/src/crisp_t/helpers/__init__.py +0 -0
  45. crisp_t-0.1.0/src/crisp_t/helpers/analyzer.py +80 -0
  46. crisp_t-0.1.0/src/crisp_t/helpers/initializer.py +94 -0
  47. crisp_t-0.1.0/src/crisp_t/mcp/__init__.py +10 -0
  48. crisp_t-0.1.0/src/crisp_t/mcp/__main__.py +15 -0
  49. crisp_t-0.1.0/src/crisp_t/mcp/server.py +1459 -0
  50. crisp_t-0.1.0/src/crisp_t/ml.py +693 -0
  51. crisp_t-0.1.0/src/crisp_t/model/__init__.py +27 -0
  52. crisp_t-0.1.0/src/crisp_t/model/corpus.py +214 -0
  53. crisp_t-0.1.0/src/crisp_t/model/document.py +48 -0
  54. crisp_t-0.1.0/src/crisp_t/model/spacy_manager.py +38 -0
  55. crisp_t-0.1.0/src/crisp_t/network.py +65 -0
  56. crisp_t-0.1.0/src/crisp_t/read_data.py +408 -0
  57. crisp_t-0.1.0/src/crisp_t/sentiment.py +59 -0
  58. crisp_t-0.1.0/src/crisp_t/text.py +446 -0
  59. crisp_t-0.1.0/src/crisp_t/utils.py +52 -0
  60. crisp_t-0.1.0/src/crisp_t/visualize.py +718 -0
  61. crisp_t-0.1.0/src/crisp_t/vizcli.py +234 -0
  62. crisp_t-0.1.0/t_install.py +1 -0
  63. crisp_t-0.1.0/tests/__init__.py +0 -0
  64. crisp_t-0.1.0/tests/conftest.py +64 -0
  65. crisp_t-0.1.0/tests/helpers/__init__.py +0 -0
  66. crisp_t-0.1.0/tests/helpers/test_helpers.py +107 -0
  67. crisp_t-0.1.0/tests/mcp/__init__.py +0 -0
  68. crisp_t-0.1.0/tests/mcp/test_server.py +381 -0
  69. crisp_t-0.1.0/tests/mcp/test_structure.py +136 -0
  70. crisp_t-0.1.0/tests/model/__init__.py +0 -0
  71. crisp_t-0.1.0/tests/model/test_corpus.py +104 -0
  72. crisp_t-0.1.0/tests/resources/__init__.py +0 -0
  73. crisp_t-0.1.0/tests/resources/corpus.json +64 -0
  74. crisp_t-0.1.0/tests/resources/food_coded.csv +20 -0
  75. crisp_t-0.1.0/tests/resources/interview-1.txt +1 -0
  76. crisp_t-0.1.0/tests/resources/interview-2.txt +1 -0
  77. crisp_t-0.1.0/tests/resources/interview-3.txt +1 -0
  78. crisp_t-0.1.0/tests/resources/interview-4.txt +1 -0
  79. crisp_t-0.1.0/tests/resources/interview-5.txt +1 -0
  80. crisp_t-0.1.0/tests/resources/vis/df_dominant_topic.csv +12 -0
  81. crisp_t-0.1.0/tests/resources/vis/numeric.csv +20 -0
  82. crisp_t-0.1.0/tests/test_cli.py +61 -0
  83. crisp_t-0.1.0/tests/test_cli_filters.py +88 -0
  84. crisp_t-0.1.0/tests/test_cli_read_source.py +103 -0
  85. crisp_t-0.1.0/tests/test_cluster.py +67 -0
  86. crisp_t-0.1.0/tests/test_corpuscli.py +370 -0
  87. crisp_t-0.1.0/tests/test_csv.py +63 -0
  88. crisp_t-0.1.0/tests/test_ml.py +143 -0
  89. crisp_t-0.1.0/tests/test_ml_decision_tree.py +31 -0
  90. crisp_t-0.1.0/tests/test_network.py +40 -0
  91. crisp_t-0.1.0/tests/test_read_corpus_json.py +25 -0
  92. crisp_t-0.1.0/tests/test_read_data.py +87 -0
  93. crisp_t-0.1.0/tests/test_sentiment.py +19 -0
  94. crisp_t-0.1.0/tests/test_text.py +189 -0
  95. crisp_t-0.1.0/tests/test_visualize.py +96 -0
  96. crisp_t-0.1.0/tests/test_vizcli.py +96 -0
  97. crisp_t-0.1.0/tox.ini +62 -0
  98. crisp_t-0.1.0/uv.lock +3553 -0
@@ -0,0 +1,29 @@
1
+ // For format details, see https://aka.ms/devcontainer.json. For config options, see the
2
+ // README at: https://github.com/devcontainers/templates/tree/main/src/python
3
+ {
4
+ "name": "crisp-t",
5
+ // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6
+ "image": "mcr.microsoft.com/devcontainers/python:1-3.11-bullseye",
7
+ "runArgs": [
8
+ // avoid UID/GID remapping under rootless Podman
9
+ "--userns=keep-id"
10
+ ],
11
+ "features": {},
12
+
13
+ // Use 'postCreateCommand' to run commands after the container is created.
14
+ "postCreateCommand": "./.devcontainer/postCreateCommand.sh",
15
+
16
+ // Configure tool-specific properties.
17
+ "customizations": {
18
+ "vscode": {
19
+ "extensions": ["ms-python.python", "editorconfig.editorconfig"],
20
+ "settings": {
21
+ "python.testing.pytestArgs": ["tests"],
22
+ "python.testing.unittestEnabled": false,
23
+ "python.testing.pytestEnabled": true,
24
+ "python.defaultInterpreterPath": "/workspaces/crisp-t/.venv/bin/python",
25
+ "python.testing.pytestPath": "/workspaces/crisp-t/.venv/bin/pytest"
26
+ }
27
+ }
28
+ }
29
+ }
@@ -0,0 +1,10 @@
1
+ #! /usr/bin/env bash
2
+
3
+ # Install uv
4
+ curl -LsSf https://astral.sh/uv/install.sh | sh
5
+
6
+ # Install Dependencies
7
+ uv sync
8
+
9
+ # Install pre-commit hooks
10
+ uv run pre-commit install --install-hooks
@@ -0,0 +1,38 @@
1
+ name: "Setup Python Environment"
2
+ description: "Set up Python environment for the given Python version"
3
+
4
+ inputs:
5
+ python-version:
6
+ description: "Python version to use"
7
+ required: true
8
+ default: "3.11"
9
+ uv-version:
10
+ description: "uv version to use"
11
+ required: true
12
+ default: "0.8.8"
13
+
14
+ runs:
15
+ using: "composite"
16
+ steps:
17
+ - uses: actions/setup-python@v5
18
+ with:
19
+ python-version: ${{ inputs.python-version }}
20
+
21
+ - name: Install uv
22
+ uses: astral-sh/setup-uv@v6
23
+ with:
24
+ version: ${{ inputs.uv-version }}
25
+ enable-cache: 'true'
26
+ cache-suffix: ${{ inputs.python-version }}
27
+
28
+ - name: run on mac
29
+ if: runner.os == 'macOS'
30
+ shell: bash
31
+ run: |
32
+ brew install libomp
33
+
34
+ - name: Install Python dependencies
35
+ run: |
36
+ uv sync --frozen --all-extras
37
+ uv run spacy download en_core_web_sm
38
+ shell: bash
@@ -0,0 +1,25 @@
1
+ # Configurations for todo: https://probot.github.io/apps/todo/
2
+ # Automatically add issues from @todo with @body
3
+ # /**
4
+ # * @todo What needs to be done
5
+ # * @body How to do it.
6
+ # */
7
+
8
+ # https://github.com/behaviorbot/welcome
9
+ newIssueWelcomeComment: >
10
+ Thank you for raising this issue. We will try and get back to you as soon as possible.
11
+
12
+ Be sure to star ✨ the repository for a priority response!
13
+
14
+ Please make sure you have given us as much context as possible.
15
+
16
+
17
+ newPRWelcomeComment: >
18
+ Thank you for submitting a pull request.
19
+
20
+ Please make sure you have followed our contributing guidelines in CONTRIBUTING.md. We will review it as soon as possible.
21
+
22
+ Be sure to star ✨ the repository.
23
+
24
+ firstPRMergeComment: >
25
+ Congrats on merging your first pull request! 🎉🎉🎉
@@ -0,0 +1,12 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: pip
4
+ directory: "/"
5
+ schedule:
6
+ interval: "weekly"
7
+ # open-pull-requests-limit: 10
8
+
9
+ - package-ecosystem: "github-actions"
10
+ directory: "/"
11
+ schedule:
12
+ interval: "weekly"
@@ -0,0 +1,30 @@
1
+ name: Generate changelog
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - "release/**"
7
+
8
+ jobs:
9
+ build:
10
+
11
+ runs-on: ubuntu-latest
12
+ timeout-minutes: 5
13
+
14
+ steps:
15
+ - name: Checkout Latest Commit
16
+ uses: actions/checkout@v5
17
+
18
+ - name: "✏️ Generate release changelog"
19
+ uses: janheinrichmerker/action-github-changelog-generator@v2.4
20
+ with:
21
+ token: ${{ secrets.GITHUB_TOKEN }}
22
+ user: dermatologist
23
+ maxIssues: 15
24
+ httpCache: true
25
+
26
+ - name: Commit changes
27
+ uses: EndBug/add-and-commit@v9
28
+ with:
29
+ default_author: github_actions
30
+ add: '*.md'
@@ -0,0 +1,20 @@
1
+ name: Generate and publish gh-pages
2
+ # https://docs.github.com/en/actions/guides/building-and-testing-python
3
+ # https://packaging.python.org/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/
4
+ on:
5
+ release:
6
+ types: [published]
7
+
8
+ jobs:
9
+ deploy-docs:
10
+ runs-on: ubuntu-latest
11
+ timeout-minutes: 20
12
+ steps:
13
+ - name: Check out
14
+ uses: actions/checkout@v5
15
+
16
+ - name: Set up the environment
17
+ uses: ./.github/actions/setup-python-env
18
+
19
+ - name: Deploy documentation
20
+ run: uv run mkdocs gh-deploy --force
@@ -0,0 +1,60 @@
1
+ # GitHub Dependents Info workflow
2
+ # More info at https://github.com/nvuillam/github-dependents-info/
3
+ name: GitHub Dependents Info
4
+
5
+ # Let by default
6
+ on:
7
+ # On manual launch
8
+ workflow_dispatch:
9
+
10
+
11
+ permissions: read-all
12
+
13
+ concurrency:
14
+ group: ${{ github.ref }}-${{ github.workflow }}
15
+ cancel-in-progress: true
16
+
17
+ jobs:
18
+ build:
19
+ name: GitHub Dependents Info
20
+ runs-on: ubuntu-latest
21
+ permissions:
22
+ contents: write
23
+ pull-requests: write
24
+ steps:
25
+ # Git Checkout
26
+ - name: Checkout Code
27
+ uses: actions/checkout@v5
28
+
29
+
30
+ # Collect data & generate markdown
31
+ - name: GitHub Dependents Info
32
+ uses: nvuillam/github-dependents-info@v1.6.3 # If you trust me enough you can replace version by "main" :)
33
+ # See documentation for variables details: https://github.com/nvuillam/github-dependents-info?tab=readme-ov-file#%EF%B8%8F-usage
34
+ with:
35
+ repo: ${{ github.repository }}
36
+ docurl: https://github.com/dermatologist/fhiry/blob/develop/docs/github-dependents-info.md
37
+ # markdownfile: docs/github-dependents-info.md
38
+ # badgemarkdownfile: README.md
39
+ # sort: stars
40
+ # minstars: "0"
41
+ env:
42
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43
+
44
+ # Workaround for git issues
45
+ - name: Prepare commit
46
+ run: sudo chown -R $USER:$USER .
47
+
48
+ # Create pull request
49
+ - name: Create Pull Request
50
+ uses: peter-evans/create-pull-request@v7
51
+ with:
52
+ title: "[GitHub Dependents Info] Updated markdown file"
53
+ body: "_Generated with github-dependents-info"
54
+ commit-message: "[GitHub Dependents Info] Updated markdown file(s)"
55
+ branch: "auto/github-dependents-info-auto-update"
56
+ delete-branch: true
57
+ labels: |
58
+ automated pr
59
+ reviewers: |
60
+ dermatologist
@@ -0,0 +1,26 @@
1
+ name: Upload Python Package to PyPi
2
+ # https://docs.github.com/en/actions/guides/building-and-testing-python
3
+ # https://packaging.python.org/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/
4
+ on:
5
+ release:
6
+ types: [published]
7
+
8
+ jobs:
9
+ deploy:
10
+ runs-on: ubuntu-latest
11
+ timeout-minutes: 20
12
+ steps:
13
+ - uses: actions/checkout@v5
14
+
15
+ - name: Set up the environment
16
+ uses: ./.github/actions/setup-python-env
17
+
18
+ - name: Build and publish
19
+ run: |
20
+ uv build
21
+ - name: Publish distribution 📦 to PyPI
22
+ if: startsWith(github.ref, 'refs/tags')
23
+ uses: pypa/gh-action-pypi-publish@release/v1
24
+ with:
25
+ user: __token__
26
+ password: ${{ secrets.PYPI_API_TOKEN }}
@@ -0,0 +1,49 @@
1
+ name: Python Test
2
+
3
+ on:
4
+ schedule:
5
+ - cron: '1 1 2,16 * *' # every 2nd and 16th at 01:01. To flag any dependency issues.
6
+ push:
7
+ branches:
8
+ - develop
9
+ pull_request:
10
+ branches:
11
+ - master
12
+ - develop
13
+ - main
14
+
15
+ jobs:
16
+ build:
17
+
18
+ strategy:
19
+ max-parallel: 4
20
+ matrix:
21
+ os: [ubuntu-latest, macos-13, windows-latest]
22
+ python-version: ['3.11']
23
+ runs-on: ${{ matrix.os }}
24
+ timeout-minutes: 7
25
+
26
+ steps:
27
+ - uses: actions/checkout@v5
28
+
29
+ - name: Set up the environment
30
+ uses: ./.github/actions/setup-python-env
31
+
32
+ - name: Run tests
33
+ run: uv run python -m pytest tests --cov --cov-branch --cov-config=pyproject.toml --cov-report=xml
34
+
35
+ - name: Upload results to Codecov
36
+ uses: codecov/codecov-action@v5
37
+ with:
38
+ token: ${{ secrets.CODECOV_TOKEN }}
39
+ # check-docs:
40
+ # runs-on: ubuntu-latest
41
+ # steps:
42
+ # - name: Check out
43
+ # uses: actions/checkout@v5
44
+
45
+ # - name: Set up the environment
46
+ # uses: ./.github/actions/setup-python-env
47
+
48
+ # - name: Check if documentation can be built
49
+ # run: uv run mkdocs build
@@ -0,0 +1,27 @@
1
+ name: Tox Test
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - master
7
+ - main
8
+
9
+ jobs:
10
+ build:
11
+
12
+ runs-on: ubuntu-latest
13
+ timeout-minutes: 20
14
+ strategy:
15
+ max-parallel: 4
16
+ matrix:
17
+ python-version: ['3.11']
18
+
19
+ steps:
20
+ - uses: actions/checkout@v5
21
+
22
+ - name: Set up the environment
23
+ uses: ./.github/actions/setup-python-env
24
+
25
+ - name: Test with tox
26
+ run: |
27
+ uv run tox
@@ -0,0 +1,27 @@
1
+ name: Dependencies upgrade
2
+
3
+ on: workflow_dispatch
4
+
5
+ jobs:
6
+ flake-update:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v5
10
+
11
+ - uses: astral-sh/setup-uv@v6
12
+
13
+ # https://docs.astral.sh/uv/concepts/projects/#upgrading-locked-package-versions
14
+ - run: uv lock --upgrade
15
+
16
+ - name: Create Pull Request
17
+ uses: peter-evans/create-pull-request@v7
18
+ with:
19
+ title: "[Automated] Dependencies upgrade"
20
+ commit-message: "[Automated] Dependencies upgrade"
21
+ branch: "auto/uv-sync-upgrade"
22
+ add-paths: uv.lock
23
+ delete-branch: true
24
+ labels: |
25
+ automated pr
26
+ reviewers: |
27
+ dermatologist
@@ -0,0 +1,211 @@
1
+ docs/source
2
+
3
+ # From https://raw.githubusercontent.com/github/gitignore/main/Python.gitignore
4
+
5
+ # Byte-compiled / optimized / DLL files
6
+ __pycache__/
7
+ *.py[codz]
8
+ *$py.class
9
+
10
+ # C extensions
11
+ *.so
12
+
13
+ # Distribution / packaging
14
+ .Python
15
+ build/
16
+ develop-eggs/
17
+ dist/
18
+ downloads/
19
+ eggs/
20
+ .eggs/
21
+ lib/
22
+ lib64/
23
+ parts/
24
+ sdist/
25
+ var/
26
+ wheels/
27
+ share/python-wheels/
28
+ *.egg-info/
29
+ .installed.cfg
30
+ *.egg
31
+ MANIFEST
32
+
33
+ # PyInstaller
34
+ # Usually these files are written by a python script from a template
35
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
36
+ *.manifest
37
+ *.spec
38
+
39
+ # Installer logs
40
+ pip-log.txt
41
+ pip-delete-this-directory.txt
42
+
43
+ # Unit test / coverage reports
44
+ htmlcov/
45
+ .tox/
46
+ .nox/
47
+ .coverage
48
+ .coverage.*
49
+ .cache
50
+ nosetests.xml
51
+ coverage.xml
52
+ *.cover
53
+ *.py.cover
54
+ .hypothesis/
55
+ .pytest_cache/
56
+ cover/
57
+
58
+ # Translations
59
+ *.mo
60
+ *.pot
61
+
62
+ # Django stuff:
63
+ *.log
64
+ local_settings.py
65
+ db.sqlite3
66
+ db.sqlite3-journal
67
+
68
+ # Flask stuff:
69
+ instance/
70
+ .webassets-cache
71
+
72
+ # Scrapy stuff:
73
+ .scrapy
74
+
75
+ # Sphinx documentation
76
+ docs/_build/
77
+
78
+ # PyBuilder
79
+ .pybuilder/
80
+ target/
81
+
82
+ # Jupyter Notebook
83
+ .ipynb_checkpoints
84
+
85
+ # IPython
86
+ profile_default/
87
+ ipython_config.py
88
+
89
+ # pyenv
90
+ # For a library or package, you might want to ignore these files since the code is
91
+ # intended to run in multiple environments; otherwise, check them in:
92
+ # .python-version
93
+
94
+ # pipenv
95
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
96
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
97
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
98
+ # install all needed dependencies.
99
+ #Pipfile.lock
100
+
101
+ # UV
102
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
103
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
104
+ # commonly ignored for libraries.
105
+ #uv.lock
106
+
107
+ # poetry
108
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
109
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
110
+ # commonly ignored for libraries.
111
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
112
+ #poetry.lock
113
+ #poetry.toml
114
+
115
+ # pdm
116
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
117
+ # pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
118
+ # https://pdm-project.org/en/latest/usage/project/#working-with-version-control
119
+ #pdm.lock
120
+ #pdm.toml
121
+ .pdm-python
122
+ .pdm-build/
123
+
124
+ # pixi
125
+ # Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
126
+ #pixi.lock
127
+ # Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
128
+ # in the .venv directory. It is recommended not to include this directory in version control.
129
+ .pixi
130
+
131
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
132
+ __pypackages__/
133
+
134
+ # Celery stuff
135
+ celerybeat-schedule
136
+ celerybeat.pid
137
+
138
+ # SageMath parsed files
139
+ *.sage.py
140
+
141
+ # Environments
142
+ .env
143
+ .envrc
144
+ .venv
145
+ env/
146
+ venv/
147
+ ENV/
148
+ env.bak/
149
+ venv.bak/
150
+
151
+ # Spyder project settings
152
+ .spyderproject
153
+ .spyproject
154
+
155
+ # Rope project settings
156
+ .ropeproject
157
+
158
+ # mkdocs documentation
159
+ /site
160
+
161
+ # mypy
162
+ .mypy_cache/
163
+ .dmypy.json
164
+ dmypy.json
165
+
166
+ # Pyre type checker
167
+ .pyre/
168
+
169
+ # pytype static type analyzer
170
+ .pytype/
171
+
172
+ # Cython debug symbols
173
+ cython_debug/
174
+
175
+ # PyCharm
176
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
177
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
178
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
179
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
180
+ #.idea/
181
+
182
+ # Abstra
183
+ # Abstra is an AI-powered process automation framework.
184
+ # Ignore directories containing user credentials, local state, and settings.
185
+ # Learn more at https://abstra.io/docs
186
+ .abstra/
187
+
188
+ # Visual Studio Code
189
+ # Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
190
+ # that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
191
+ # and can be added to the global gitignore or merged into this file. However, if you prefer,
192
+ # you could uncomment the following to ignore the entire vscode folder
193
+ # .vscode/
194
+
195
+ # Ruff stuff:
196
+ .ruff_cache/
197
+
198
+ # PyPI configuration file
199
+ .pypirc
200
+
201
+ # Cursor
202
+ # Cursor is an AI-powered code editor. `.cursorignore` specifies files/directories to
203
+ # exclude from AI features like autocomplete and code analysis. Recommended for sensitive data
204
+ # refer to https://docs.cursor.com/context/ignore-files
205
+ .cursorignore
206
+ .cursorindexingignore
207
+
208
+ # Marimo
209
+ marimo/_static/
210
+ marimo/_lsp/
211
+ __marimo__/
@@ -0,0 +1,22 @@
1
+ repos:
2
+ - repo: https://github.com/pre-commit/pre-commit-hooks
3
+ rev: "v5.0.0"
4
+ hooks:
5
+ - id: check-case-conflict
6
+ - id: check-merge-conflict
7
+ - id: check-toml
8
+ - id: check-yaml
9
+ - id: check-json
10
+ exclude: ^.devcontainer/devcontainer.json
11
+ - id: pretty-format-json
12
+ exclude: ^.devcontainer/devcontainer.json
13
+ args: [--autofix, --no-sort-keys]
14
+ - id: end-of-file-fixer
15
+ - id: trailing-whitespace
16
+
17
+ - repo: https://github.com/astral-sh/ruff-pre-commit
18
+ rev: "v0.11.5"
19
+ hooks:
20
+ - id: ruff
21
+ args: [--exit-non-zero-on-fix]
22
+ - id: ruff-format
@@ -0,0 +1,32 @@
1
+ {
2
+ "version": "0.2.0",
3
+ "configurations": [
4
+ {
5
+
6
+ "name": "Python Test Debugger",
7
+ "type": "debugpy",
8
+ "request": "launch",
9
+ "console": "integratedTerminal",
10
+ "justMyCode": false,
11
+ "purpose": ["debug-test"],
12
+ "module": "pytest",
13
+ "args": [
14
+ "-s",
15
+ "--verbose"
16
+ ],
17
+ },
18
+
19
+ {
20
+ "type": "debugpy",
21
+ "name": "Python: Debug Elixir",
22
+ "request": "launch",
23
+ "program": "server.py",
24
+ "justMyCode": true,
25
+ "env": {
26
+ "TEST": "TEST"
27
+ },
28
+ "console": "integratedTerminal",
29
+ "consoleName": "Python Debug Console"
30
+ }
31
+ ],
32
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "servers": {
3
+ "crisp": {
4
+ "command": "uv",
5
+ "args": ["run", "crisp-mcp"],
6
+ }
7
+ }
8
+ }
@@ -0,0 +1,34 @@
1
+ # Changelog
2
+
3
+ ## [Unreleased](https://github.com/dermatologist/crisp-t/tree/HEAD)
4
+
5
+ [Full Changelog](https://github.com/dermatologist/crisp-t/compare/b44ec69181fd0c0204a1692c494a2a36e7c4177e...HEAD)
6
+
7
+ **Implemented enhancements:**
8
+
9
+ - Feature Request: Create an MCP server [\#20](https://github.com/dermatologist/crisp-t/issues/20)
10
+ - Feature request: Add Linear and Logistic regression [\#18](https://github.com/dermatologist/crisp-t/issues/18)
11
+ - Feature: Command line interface and Documentation. [\#12](https://github.com/dermatologist/crisp-t/issues/12)
12
+
13
+ **Merged pull requests:**
14
+
15
+ - Update pytest.yml to support multiple OS and extend timeout; revise D… [\#25](https://github.com/dermatologist/crisp-t/pull/25) ([dermatologist](https://github.com/dermatologist))
16
+ - Feature/fix ml output 1 [\#24](https://github.com/dermatologist/crisp-t/pull/24) ([dermatologist](https://github.com/dermatologist))
17
+ - Feature/demo 1 [\#23](https://github.com/dermatologist/crisp-t/pull/23) ([dermatologist](https://github.com/dermatologist))
18
+ - Feature/copilot mcp fix 1 [\#22](https://github.com/dermatologist/crisp-t/pull/22) ([dermatologist](https://github.com/dermatologist))
19
+ - Add Linear and Logistic Regression Support to ML Module [\#19](https://github.com/dermatologist/crisp-t/pull/19) ([Copilot](https://github.com/apps/copilot-swe-agent))
20
+ - Feature/vibe 1 [\#17](https://github.com/dermatologist/crisp-t/pull/17) ([dermatologist](https://github.com/dermatologist))
21
+ - Feature/utils 1 [\#16](https://github.com/dermatologist/crisp-t/pull/16) ([dermatologist](https://github.com/dermatologist))
22
+ - Feature/document meta 1 [\#15](https://github.com/dermatologist/crisp-t/pull/15) ([dermatologist](https://github.com/dermatologist))
23
+ - Feature/cli 1 [\#14](https://github.com/dermatologist/crisp-t/pull/14) ([dermatologist](https://github.com/dermatologist))
24
+ - Implement comprehensive CLI interface and documentation for CRISP-T framework [\#13](https://github.com/dermatologist/crisp-t/pull/13) ([Copilot](https://github.com/apps/copilot-swe-agent))
25
+ - Feature/visualize 1 [\#11](https://github.com/dermatologist/crisp-t/pull/11) ([dermatologist](https://github.com/dermatologist))
26
+ - Feature/model 2 [\#10](https://github.com/dermatologist/crisp-t/pull/10) ([dermatologist](https://github.com/dermatologist))
27
+ - Update GitHub Actions to use actions/checkout@v5 across all workflows [\#9](https://github.com/dermatologist/crisp-t/pull/9) ([dermatologist](https://github.com/dermatologist))
28
+ - Feature/uv 1 [\#8](https://github.com/dermatologist/crisp-t/pull/8) ([dermatologist](https://github.com/dermatologist))
29
+ - Feature/readme 1 [\#4](https://github.com/dermatologist/crisp-t/pull/4) ([dermatologist](https://github.com/dermatologist))
30
+ - Bump astral-sh/setup-uv from 5 to 6 [\#2](https://github.com/dermatologist/crisp-t/pull/2) ([dependabot[bot]](https://github.com/apps/dependabot))
31
+
32
+
33
+
34
+ \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*