mt-io 0.0.1__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 (124) hide show
  1. mt_io-0.0.1/.gitattributes +2 -0
  2. mt_io-0.0.1/.github/workflows/bump-version.yml +108 -0
  3. mt_io-0.0.1/.github/workflows/format.yaml +42 -0
  4. mt_io-0.0.1/.github/workflows/publish.yml +67 -0
  5. mt_io-0.0.1/.github/workflows/tests.yml +62 -0
  6. mt_io-0.0.1/.gitignore +181 -0
  7. mt_io-0.0.1/.vscode/settings.json +9 -0
  8. mt_io-0.0.1/LICENSE +121 -0
  9. mt_io-0.0.1/PKG-INFO +127 -0
  10. mt_io-0.0.1/README.md +75 -0
  11. mt_io-0.0.1/pyproject.toml +127 -0
  12. mt_io-0.0.1/setup.cfg +4 -0
  13. mt_io-0.0.1/src/mt_io/__init__.py +6 -0
  14. mt_io-0.0.1/src/mt_io/collection.py +331 -0
  15. mt_io-0.0.1/src/mt_io/lemi/__init__.py +6 -0
  16. mt_io-0.0.1/src/mt_io/lemi/lemi424.py +924 -0
  17. mt_io-0.0.1/src/mt_io/lemi/lemi_collection.py +227 -0
  18. mt_io-0.0.1/src/mt_io/metronix/__init__.py +23 -0
  19. mt_io-0.0.1/src/mt_io/metronix/metronix_atss.py +556 -0
  20. mt_io-0.0.1/src/mt_io/metronix/metronix_collection.py +206 -0
  21. mt_io-0.0.1/src/mt_io/metronix/metronix_metadata.py +520 -0
  22. mt_io-0.0.1/src/mt_io/miniseed/__init__.py +5 -0
  23. mt_io-0.0.1/src/mt_io/miniseed/miniseed.py +49 -0
  24. mt_io-0.0.1/src/mt_io/nims/__init__.py +17 -0
  25. mt_io-0.0.1/src/mt_io/nims/gps.py +1045 -0
  26. mt_io-0.0.1/src/mt_io/nims/header.py +386 -0
  27. mt_io-0.0.1/src/mt_io/nims/nims.py +1531 -0
  28. mt_io-0.0.1/src/mt_io/nims/nims_collection.py +268 -0
  29. mt_io-0.0.1/src/mt_io/nims/response_filters.py +285 -0
  30. mt_io-0.0.1/src/mt_io/phoenix/__init__.py +12 -0
  31. mt_io-0.0.1/src/mt_io/phoenix/phoenix_collection.py +581 -0
  32. mt_io-0.0.1/src/mt_io/phoenix/read.py +163 -0
  33. mt_io-0.0.1/src/mt_io/phoenix/readers/__init__.py +22 -0
  34. mt_io-0.0.1/src/mt_io/phoenix/readers/base.py +636 -0
  35. mt_io-0.0.1/src/mt_io/phoenix/readers/calibrations.py +352 -0
  36. mt_io-0.0.1/src/mt_io/phoenix/readers/config.py +346 -0
  37. mt_io-0.0.1/src/mt_io/phoenix/readers/contiguous/__init__.py +3 -0
  38. mt_io-0.0.1/src/mt_io/phoenix/readers/contiguous/decimated_continuous_reader.py +231 -0
  39. mt_io-0.0.1/src/mt_io/phoenix/readers/header.py +1329 -0
  40. mt_io-0.0.1/src/mt_io/phoenix/readers/helpers.py +63 -0
  41. mt_io-0.0.1/src/mt_io/phoenix/readers/mtu/__init__.py +21 -0
  42. mt_io-0.0.1/src/mt_io/phoenix/readers/mtu/mtu_table.py +1008 -0
  43. mt_io-0.0.1/src/mt_io/phoenix/readers/mtu/mtu_ts.py +651 -0
  44. mt_io-0.0.1/src/mt_io/phoenix/readers/native/__init__.py +3 -0
  45. mt_io-0.0.1/src/mt_io/phoenix/readers/native/native_reader.py +396 -0
  46. mt_io-0.0.1/src/mt_io/phoenix/readers/receiver_metadata.py +545 -0
  47. mt_io-0.0.1/src/mt_io/phoenix/readers/segmented/__init__.py +3 -0
  48. mt_io-0.0.1/src/mt_io/phoenix/readers/segmented/decimated_segmented_reader.py +591 -0
  49. mt_io-0.0.1/src/mt_io/reader.py +236 -0
  50. mt_io-0.0.1/src/mt_io/scripps/__init__.py +1 -0
  51. mt_io-0.0.1/src/mt_io/scripps/zenc.py +294 -0
  52. mt_io-0.0.1/src/mt_io/usgs_ascii/__init__.py +6 -0
  53. mt_io-0.0.1/src/mt_io/usgs_ascii/header.py +482 -0
  54. mt_io-0.0.1/src/mt_io/usgs_ascii/usgs_ascii.py +443 -0
  55. mt_io-0.0.1/src/mt_io/usgs_ascii/usgs_ascii_collection.py +120 -0
  56. mt_io-0.0.1/src/mt_io/zen/__init__.py +19 -0
  57. mt_io-0.0.1/src/mt_io/zen/coil_response.py +300 -0
  58. mt_io-0.0.1/src/mt_io/zen/z3d_collection.py +362 -0
  59. mt_io-0.0.1/src/mt_io/zen/z3d_header.py +317 -0
  60. mt_io-0.0.1/src/mt_io/zen/z3d_metadata.py +389 -0
  61. mt_io-0.0.1/src/mt_io/zen/z3d_schedule.py +317 -0
  62. mt_io-0.0.1/src/mt_io/zen/zen.py +1689 -0
  63. mt_io-0.0.1/src/mt_io/zen/zen_tools.py +628 -0
  64. mt_io-0.0.1/src/mt_io.egg-info/PKG-INFO +127 -0
  65. mt_io-0.0.1/src/mt_io.egg-info/SOURCES.txt +122 -0
  66. mt_io-0.0.1/src/mt_io.egg-info/dependency_links.txt +1 -0
  67. mt_io-0.0.1/src/mt_io.egg-info/not-zip-safe +1 -0
  68. mt_io-0.0.1/src/mt_io.egg-info/requires.txt +29 -0
  69. mt_io-0.0.1/src/mt_io.egg-info/top_level.txt +1 -0
  70. mt_io-0.0.1/tests/__init__.py +1 -0
  71. mt_io-0.0.1/tests/example_lemi.txt +60 -0
  72. mt_io-0.0.1/tests/lemi/__init__.py +1 -0
  73. mt_io-0.0.1/tests/lemi/example_lemi.txt +60 -0
  74. mt_io-0.0.1/tests/lemi/test_lemi.py +1095 -0
  75. mt_io-0.0.1/tests/lemi/test_lemi_collection.py +891 -0
  76. mt_io-0.0.1/tests/metronix/test_metronix_atss.py +885 -0
  77. mt_io-0.0.1/tests/metronix/test_metronix_atss_mock.py +868 -0
  78. mt_io-0.0.1/tests/metronix/test_metronix_collection.py +776 -0
  79. mt_io-0.0.1/tests/metronix/test_metronix_collection_mock.py +899 -0
  80. mt_io-0.0.1/tests/metronix/test_metronix_metadata.py +1582 -0
  81. mt_io-0.0.1/tests/metronix/test_metronix_metadata_mock.py +932 -0
  82. mt_io-0.0.1/tests/miniseed/test_read_miniseed.py +100 -0
  83. mt_io-0.0.1/tests/nims/test_nims_collection.py +682 -0
  84. mt_io-0.0.1/tests/nims/test_nims_collection_mock.py +442 -0
  85. mt_io-0.0.1/tests/nims/test_nims_gps.py +710 -0
  86. mt_io-0.0.1/tests/nims/test_nims_header.py +756 -0
  87. mt_io-0.0.1/tests/nims/test_nims_response.py +761 -0
  88. mt_io-0.0.1/tests/nims/test_read_nims.py +585 -0
  89. mt_io-0.0.1/tests/nims/test_read_nims_mock.py +478 -0
  90. mt_io-0.0.1/tests/phoenix/__init__.py +1 -0
  91. mt_io-0.0.1/tests/phoenix/example_rxcal.json +165 -0
  92. mt_io-0.0.1/tests/phoenix/test_base_reader.py +793 -0
  93. mt_io-0.0.1/tests/phoenix/test_base_reader_mock.py +978 -0
  94. mt_io-0.0.1/tests/phoenix/test_mtu_table_pytest.py +1034 -0
  95. mt_io-0.0.1/tests/phoenix/test_mtu_ts_pytest.py +892 -0
  96. mt_io-0.0.1/tests/phoenix/test_phoenix_calibrations.py +593 -0
  97. mt_io-0.0.1/tests/phoenix/test_phoenix_collection.py +914 -0
  98. mt_io-0.0.1/tests/phoenix/test_phoenix_collection_mock.py +1063 -0
  99. mt_io-0.0.1/tests/phoenix/test_read.py +547 -0
  100. mt_io-0.0.1/tests/phoenix/test_read_phoenix_continuous.py +843 -0
  101. mt_io-0.0.1/tests/phoenix/test_read_phoenix_continuous_mock.py +1118 -0
  102. mt_io-0.0.1/tests/phoenix/test_read_phoenix_native.py +817 -0
  103. mt_io-0.0.1/tests/phoenix/test_read_phoenix_native_mock.py +1134 -0
  104. mt_io-0.0.1/tests/phoenix/test_read_phoenix_segmented.py +1028 -0
  105. mt_io-0.0.1/tests/phoenix/test_read_phoenix_segmented_mock.py +1025 -0
  106. mt_io-0.0.1/tests/scripps/test_zenc.py +64 -0
  107. mt_io-0.0.1/tests/test_reader.py +307 -0
  108. mt_io-0.0.1/tests/usgs_ascii/test_ascii.py +650 -0
  109. mt_io-0.0.1/tests/usgs_ascii/test_ascii_collection.py +478 -0
  110. mt_io-0.0.1/tests/usgs_ascii/test_ascii_header.py +589 -0
  111. mt_io-0.0.1/tests/zen/__init__.py +1 -0
  112. mt_io-0.0.1/tests/zen/test_amtant.cal +27 -0
  113. mt_io-0.0.1/tests/zen/test_coil_response.py +740 -0
  114. mt_io-0.0.1/tests/zen/test_z3d.py +1125 -0
  115. mt_io-0.0.1/tests/zen/test_z3d_collection.py +924 -0
  116. mt_io-0.0.1/tests/zen/test_z3d_collection_mock.py +567 -0
  117. mt_io-0.0.1/tests/zen/test_z3d_header.py +1052 -0
  118. mt_io-0.0.1/tests/zen/test_z3d_header_mock.py +819 -0
  119. mt_io-0.0.1/tests/zen/test_z3d_metadata.py +953 -0
  120. mt_io-0.0.1/tests/zen/test_z3d_metadata_mock.py +764 -0
  121. mt_io-0.0.1/tests/zen/test_z3d_mock_final.py +467 -0
  122. mt_io-0.0.1/tests/zen/test_z3d_schedule.py +620 -0
  123. mt_io-0.0.1/tests/zen/test_z3d_schedule_mock.py +955 -0
  124. mt_io-0.0.1/tests/zen/test_zen_tools.py +1095 -0
@@ -0,0 +1,2 @@
1
+ # Auto detect text files and perform LF normalization
2
+ * text=auto
@@ -0,0 +1,108 @@
1
+ name: Bump Version on Release Label
2
+
3
+ on:
4
+ pull_request:
5
+ types: [labeled]
6
+ branches:
7
+ - master
8
+
9
+ permissions:
10
+ contents: write
11
+ pull-requests: write
12
+
13
+ jobs:
14
+ bump-version:
15
+ # Run only when a release label is added to an open PR
16
+ if: |
17
+ github.event.pull_request.state == 'open' && (
18
+ github.event.label.name == 'release:major' ||
19
+ github.event.label.name == 'release:minor' ||
20
+ github.event.label.name == 'release:patch'
21
+ )
22
+ runs-on: ubuntu-latest
23
+
24
+ steps:
25
+ - name: Check out PR branch
26
+ uses: actions/checkout@v4
27
+ with:
28
+ ref: ${{ github.head_ref }}
29
+ fetch-depth: 0
30
+ token: ${{ secrets.GITHUB_TOKEN }}
31
+
32
+ - name: Set up Python
33
+ uses: actions/setup-python@v5
34
+ with:
35
+ python-version: "3.13"
36
+
37
+ - name: Install tools
38
+ run: |
39
+ pip install bump-my-version pandoc
40
+ sudo apt-get update
41
+ sudo apt-get install -y pandoc
42
+ cargo install git-cliff
43
+
44
+ - name: Set up Git user
45
+ run: |
46
+ git config --local user.email "github-actions[bot]@users.noreply.github.com"
47
+ git config --local user.name "github-actions[bot]"
48
+
49
+ - name: Determine version bump type
50
+ id: bump
51
+ run: |
52
+ if [[ "${{ github.event.label.name }}" == "release:major" ]]; then
53
+ echo "type=major" >> $GITHUB_OUTPUT
54
+ elif [[ "${{ github.event.label.name }}" == "release:minor" ]]; then
55
+ echo "type=minor" >> $GITHUB_OUTPUT
56
+ else
57
+ echo "type=patch" >> $GITHUB_OUTPUT
58
+ fi
59
+
60
+ - name: Bump version
61
+ run: bump-my-version bump ${{ steps.bump.outputs.type }}
62
+ env:
63
+ BMV_ALLOW_DIRTY: "true"
64
+
65
+ - name: Extract version
66
+ id: version
67
+ run: |
68
+ VERSION=$(bump-my-version show current)
69
+ echo "Extracted version: $VERSION"
70
+ echo "version=$VERSION" >> $GITHUB_OUTPUT
71
+
72
+ - name: Generate changelog
73
+ run: |
74
+ git cliff --unreleased --tag v${{ steps.version.outputs.version }} -o CHANGELOG.md
75
+ echo "Generated changelog for version ${{ steps.version.outputs.version }}"
76
+
77
+ - name: Update HISTORY.rst
78
+ run: |
79
+ # Convert CHANGELOG.md to rst and prepend to HISTORY.rst
80
+ if [ -f CHANGELOG.md ]; then
81
+ pandoc CHANGELOG.md -f markdown -t rst -o CHANGELOG.rst
82
+ # Prepend new changelog to HISTORY.rst
83
+ if [ -f HISTORY.rst ]; then
84
+ cat CHANGELOG.rst HISTORY.rst > HISTORY_temp.rst
85
+ mv HISTORY_temp.rst HISTORY.rst
86
+ echo "Updated HISTORY.rst with version ${{ steps.version.outputs.version }}"
87
+ else
88
+ mv CHANGELOG.rst HISTORY.rst
89
+ echo "Created HISTORY.rst"
90
+ fi
91
+ fi
92
+
93
+ - name: Commit and push changes to PR branch
94
+ run: |
95
+ git add .
96
+ git commit -m "chore: bump version to ${{ steps.version.outputs.version }} and update changelog [skip ci]" || echo "No changes to commit"
97
+ git push origin HEAD:${{ github.head_ref }}
98
+
99
+ - name: Add comment to PR
100
+ uses: actions/github-script@v7
101
+ with:
102
+ script: |
103
+ github.rest.issues.createComment({
104
+ issue_number: context.issue.number,
105
+ owner: context.repo.owner,
106
+ repo: context.repo.repo,
107
+ body: '🚀 Version bumped to **v${{ steps.version.outputs.version }}** and changelog updated. Ready to merge!'
108
+ })
@@ -0,0 +1,42 @@
1
+ name: Format Python code
2
+
3
+ on:
4
+ pull_request:
5
+ branches: [ main ]
6
+ paths:
7
+ - '**.py'
8
+
9
+ jobs:
10
+ format:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v3
14
+ with:
15
+ ref: ${{ github.head_ref }}
16
+ fetch-depth: 0
17
+
18
+ - name: Set up Python
19
+ uses: actions/setup-python@v4
20
+ with:
21
+ python-version: '3.11'
22
+
23
+ - name: Install dependencies
24
+ run: |
25
+ python -m pip install --upgrade pip
26
+ pip install black isort autoflake
27
+
28
+ - name: Format with autoflake, isort, and black
29
+ run: |
30
+ # Create list of Python files excluding __init__.py files
31
+ PYTHON_FILES=$(find . -name "*.py" -type f -not -path "*/\.*" -not -name "__init__.py")
32
+
33
+ # Apply formatting to those files only
34
+ echo "$PYTHON_FILES" | xargs autoflake --remove-all-unused-imports --expand-star-imports --ignore-init-module-imports --in-place
35
+ echo "$PYTHON_FILES" | xargs isort --profile black --skip __init__.py --force-alphabetical-sort-within-sections --order-by-type --lines-after-imports=2
36
+ echo "$PYTHON_FILES" | xargs black
37
+
38
+ - name: Commit changes
39
+ uses: stefanzweifel/git-auto-commit-action@v4
40
+ with:
41
+ commit_message: "Auto-format code with black and isort"
42
+ file_pattern: "*.py"
@@ -0,0 +1,67 @@
1
+ name: Publish to PyPI
2
+
3
+ on:
4
+ pull_request:
5
+ types: [closed]
6
+ branches:
7
+ - master
8
+
9
+ permissions:
10
+ contents: write
11
+ id-token: write
12
+
13
+ jobs:
14
+ publish:
15
+ # Run only after PR is merged with release labels
16
+ if: |
17
+ github.event.pull_request.merged == true && (
18
+ contains(github.event.pull_request.labels.*.name, 'release:major') ||
19
+ contains(github.event.pull_request.labels.*.name, 'release:minor') ||
20
+ contains(github.event.pull_request.labels.*.name, 'release:patch')
21
+ )
22
+ runs-on: ubuntu-latest
23
+
24
+ steps:
25
+ - name: Check out repository
26
+ uses: actions/checkout@v4
27
+ with:
28
+ fetch-depth: 0
29
+
30
+ - name: Set up Python
31
+ uses: actions/setup-python@v5
32
+ with:
33
+ python-version: "3.13"
34
+
35
+ - name: Install tools
36
+ run: pip install bump-my-version build
37
+
38
+ - name: Extract version
39
+ id: version
40
+ run: |
41
+ VERSION=$(bump-my-version show current_version)
42
+ echo "version=$VERSION" >> $GITHUB_OUTPUT
43
+
44
+ - name: Create GitHub Release
45
+ uses: softprops/action-gh-release@v2
46
+ with:
47
+ tag_name: v${{ steps.version.outputs.version }}
48
+ name: v${{ steps.version.outputs.version }}
49
+ body_path: CHANGELOG.md
50
+ generate_release_notes: false
51
+
52
+ - name: Build package
53
+ run: python -m build
54
+
55
+ - name: Publish to TestPyPI
56
+ id: test-pypi
57
+ uses: pypa/gh-action-pypi-publish@v1.13.0
58
+ with:
59
+ repository-url: https://test.pypi.org/legacy/
60
+ skip-existing: true
61
+ attestations: false
62
+
63
+ - name: Publish to PyPI
64
+ if: steps.test-pypi.outcome == 'success'
65
+ uses: pypa/gh-action-pypi-publish@v1.13.0
66
+ with:
67
+ skip-existing: true
@@ -0,0 +1,62 @@
1
+ name: Testing
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - '*'
7
+ pull_request:
8
+ branches:
9
+ - '*'
10
+
11
+ concurrency:
12
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
13
+ cancel-in-progress: true
14
+
15
+ jobs:
16
+ setup-build:
17
+ name: Ex1 (${{ matrix.python-version }}, ${{ matrix.os }})
18
+ runs-on: ${{ matrix.os }}
19
+ strategy:
20
+ fail-fast: false
21
+ matrix:
22
+ os: ["ubuntu-latest"]
23
+ python-version: ["3.11", "3.12", "3.13", "3.14"]
24
+ defaults:
25
+ run:
26
+ shell: bash -el {0}
27
+
28
+ steps:
29
+ - uses: actions/checkout@v4
30
+ - uses: conda-incubator/setup-miniconda@v3
31
+ with:
32
+ auto-update-conda: true
33
+ python-version: ${{ matrix.python-version }}
34
+
35
+ - name: Install Env
36
+ run: |
37
+ python --version
38
+ python -m pip install --upgrade pip
39
+ python -m pip install uv
40
+ uv pip install --system \
41
+ pytest \
42
+ pytest-cov \
43
+ pytest-subtests \
44
+ "pytest-xdist[psutil]" \
45
+ pytest-benchmark \
46
+ setuptools \
47
+ "mt_metadata[obspy]" \
48
+ "git+https://github.com/kujaku11/mth5_test_data.git"
49
+ - name: Install Our Package
50
+ run: |
51
+ pip install -e .
52
+ conda list
53
+
54
+ - name: Run Tests
55
+ run: pytest -vv --cov=./ --cov-report=xml --cov=mth5 -n auto tests -k "not slow"
56
+
57
+ - name: Upload coverage to Codecov
58
+ uses: codecov/codecov-action@v3
59
+ with:
60
+ flags: tests
61
+ fail_ci_if_error: false
62
+ verbose: true
mt_io-0.0.1/.gitignore ADDED
@@ -0,0 +1,181 @@
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
+ share/python-wheels/
24
+ *.egg-info/
25
+ .installed.cfg
26
+ *.egg
27
+ MANIFEST
28
+
29
+ # PyInstaller
30
+ # Usually these files are written by a python script from a template
31
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
32
+ *.manifest
33
+ *.spec
34
+
35
+ # Installer logs
36
+ pip-log.txt
37
+ pip-delete-this-directory.txt
38
+
39
+ # Unit test / coverage reports
40
+ htmlcov/
41
+ .tox/
42
+ .nox/
43
+ .coverage
44
+ .coverage.*
45
+ .cache
46
+ nosetests.xml
47
+ coverage.xml
48
+ *.cover
49
+ *.py,cover
50
+ .hypothesis/
51
+ .pytest_cache/
52
+ cover/
53
+
54
+ # Translations
55
+ *.mo
56
+ *.pot
57
+
58
+ # Django stuff:
59
+ *.log
60
+ local_settings.py
61
+ db.sqlite3
62
+ db.sqlite3-journal
63
+
64
+ # Flask stuff:
65
+ instance/
66
+ .webassets-cache
67
+
68
+ # Scrapy stuff:
69
+ .scrapy
70
+
71
+ # Sphinx documentation
72
+ docs/_build/
73
+
74
+ # PyBuilder
75
+ .pybuilder/
76
+ target/
77
+
78
+ # Jupyter Notebook
79
+ .ipynb_checkpoints
80
+
81
+ # IPython
82
+ profile_default/
83
+ ipython_config.py
84
+
85
+ # pyenv
86
+ # For a library or package, you might want to ignore these files since the code is
87
+ # intended to run in multiple environments; otherwise, check them in:
88
+ # .python-version
89
+
90
+ # pipenv
91
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
92
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
93
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
94
+ # install all needed dependencies.
95
+ #Pipfile.lock
96
+
97
+ # UV
98
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
99
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
100
+ # commonly ignored for libraries.
101
+ #uv.lock
102
+
103
+ # poetry
104
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
105
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
106
+ # commonly ignored for libraries.
107
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
108
+ #poetry.lock
109
+
110
+ # pdm
111
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
112
+ #pdm.lock
113
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
114
+ # in version control.
115
+ # https://pdm.fming.dev/latest/usage/project/#working-with-version-control
116
+ .pdm.toml
117
+ .pdm-python
118
+ .pdm-build/
119
+
120
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
121
+ __pypackages__/
122
+
123
+ # Celery stuff
124
+ celerybeat-schedule
125
+ celerybeat.pid
126
+
127
+ # SageMath parsed files
128
+ *.sage.py
129
+
130
+ # Environments
131
+ .env
132
+ .venv
133
+ env/
134
+ venv/
135
+ ENV/
136
+ env.bak/
137
+ venv.bak/
138
+
139
+ # Spyder project settings
140
+ .spyderproject
141
+ .spyproject
142
+
143
+ # Rope project settings
144
+ .ropeproject
145
+
146
+ # mkdocs documentation
147
+ /site
148
+
149
+ # mypy
150
+ .mypy_cache/
151
+ .dmypy.json
152
+ dmypy.json
153
+
154
+ # Pyre type checker
155
+ .pyre/
156
+
157
+ # pytype static type analyzer
158
+ .pytype/
159
+
160
+ # Cython debug symbols
161
+ cython_debug/
162
+
163
+ # PyCharm
164
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
165
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
166
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
167
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
168
+ #.idea/
169
+
170
+ # Ruff stuff:
171
+ .ruff_cache/
172
+
173
+ # PyPI configuration file
174
+ .pypirc
175
+
176
+ # Cursor
177
+ # Cursor is an AI-powered code editor.`.cursorignore` specifies files/directories to
178
+ # exclude from AI features like autocomplete and code analysis. Recommended for sensitive data
179
+ # refer to https://docs.cursor.com/context/ignore-files
180
+ .cursorignore
181
+ .cursorindexingignore
@@ -0,0 +1,9 @@
1
+ {
2
+ "python-envs.pythonProjects": [
3
+ {
4
+ "path": ".",
5
+ "envManager": "ms-python.python:conda",
6
+ "packageManager": "ms-python.python:conda"
7
+ }
8
+ ]
9
+ }
mt_io-0.0.1/LICENSE ADDED
@@ -0,0 +1,121 @@
1
+ Creative Commons Legal Code
2
+
3
+ CC0 1.0 Universal
4
+
5
+ CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
6
+ LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
7
+ ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
8
+ INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
9
+ REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
10
+ PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
11
+ THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
12
+ HEREUNDER.
13
+
14
+ Statement of Purpose
15
+
16
+ The laws of most jurisdictions throughout the world automatically confer
17
+ exclusive Copyright and Related Rights (defined below) upon the creator
18
+ and subsequent owner(s) (each and all, an "owner") of an original work of
19
+ authorship and/or a database (each, a "Work").
20
+
21
+ Certain owners wish to permanently relinquish those rights to a Work for
22
+ the purpose of contributing to a commons of creative, cultural and
23
+ scientific works ("Commons") that the public can reliably and without fear
24
+ of later claims of infringement build upon, modify, incorporate in other
25
+ works, reuse and redistribute as freely as possible in any form whatsoever
26
+ and for any purposes, including without limitation commercial purposes.
27
+ These owners may contribute to the Commons to promote the ideal of a free
28
+ culture and the further production of creative, cultural and scientific
29
+ works, or to gain reputation or greater distribution for their Work in
30
+ part through the use and efforts of others.
31
+
32
+ For these and/or other purposes and motivations, and without any
33
+ expectation of additional consideration or compensation, the person
34
+ associating CC0 with a Work (the "Affirmer"), to the extent that he or she
35
+ is an owner of Copyright and Related Rights in the Work, voluntarily
36
+ elects to apply CC0 to the Work and publicly distribute the Work under its
37
+ terms, with knowledge of his or her Copyright and Related Rights in the
38
+ Work and the meaning and intended legal effect of CC0 on those rights.
39
+
40
+ 1. Copyright and Related Rights. A Work made available under CC0 may be
41
+ protected by copyright and related or neighboring rights ("Copyright and
42
+ Related Rights"). Copyright and Related Rights include, but are not
43
+ limited to, the following:
44
+
45
+ i. the right to reproduce, adapt, distribute, perform, display,
46
+ communicate, and translate a Work;
47
+ ii. moral rights retained by the original author(s) and/or performer(s);
48
+ iii. publicity and privacy rights pertaining to a person's image or
49
+ likeness depicted in a Work;
50
+ iv. rights protecting against unfair competition in regards to a Work,
51
+ subject to the limitations in paragraph 4(a), below;
52
+ v. rights protecting the extraction, dissemination, use and reuse of data
53
+ in a Work;
54
+ vi. database rights (such as those arising under Directive 96/9/EC of the
55
+ European Parliament and of the Council of 11 March 1996 on the legal
56
+ protection of databases, and under any national implementation
57
+ thereof, including any amended or successor version of such
58
+ directive); and
59
+ vii. other similar, equivalent or corresponding rights throughout the
60
+ world based on applicable law or treaty, and any national
61
+ implementations thereof.
62
+
63
+ 2. Waiver. To the greatest extent permitted by, but not in contravention
64
+ of, applicable law, Affirmer hereby overtly, fully, permanently,
65
+ irrevocably and unconditionally waives, abandons, and surrenders all of
66
+ Affirmer's Copyright and Related Rights and associated claims and causes
67
+ of action, whether now known or unknown (including existing as well as
68
+ future claims and causes of action), in the Work (i) in all territories
69
+ worldwide, (ii) for the maximum duration provided by applicable law or
70
+ treaty (including future time extensions), (iii) in any current or future
71
+ medium and for any number of copies, and (iv) for any purpose whatsoever,
72
+ including without limitation commercial, advertising or promotional
73
+ purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
74
+ member of the public at large and to the detriment of Affirmer's heirs and
75
+ successors, fully intending that such Waiver shall not be subject to
76
+ revocation, rescission, cancellation, termination, or any other legal or
77
+ equitable action to disrupt the quiet enjoyment of the Work by the public
78
+ as contemplated by Affirmer's express Statement of Purpose.
79
+
80
+ 3. Public License Fallback. Should any part of the Waiver for any reason
81
+ be judged legally invalid or ineffective under applicable law, then the
82
+ Waiver shall be preserved to the maximum extent permitted taking into
83
+ account Affirmer's express Statement of Purpose. In addition, to the
84
+ extent the Waiver is so judged Affirmer hereby grants to each affected
85
+ person a royalty-free, non transferable, non sublicensable, non exclusive,
86
+ irrevocable and unconditional license to exercise Affirmer's Copyright and
87
+ Related Rights in the Work (i) in all territories worldwide, (ii) for the
88
+ maximum duration provided by applicable law or treaty (including future
89
+ time extensions), (iii) in any current or future medium and for any number
90
+ of copies, and (iv) for any purpose whatsoever, including without
91
+ limitation commercial, advertising or promotional purposes (the
92
+ "License"). The License shall be deemed effective as of the date CC0 was
93
+ applied by Affirmer to the Work. Should any part of the License for any
94
+ reason be judged legally invalid or ineffective under applicable law, such
95
+ partial invalidity or ineffectiveness shall not invalidate the remainder
96
+ of the License, and in such case Affirmer hereby affirms that he or she
97
+ will not (i) exercise any of his or her remaining Copyright and Related
98
+ Rights in the Work or (ii) assert any associated claims and causes of
99
+ action with respect to the Work, in either case contrary to Affirmer's
100
+ express Statement of Purpose.
101
+
102
+ 4. Limitations and Disclaimers.
103
+
104
+ a. No trademark or patent rights held by Affirmer are waived, abandoned,
105
+ surrendered, licensed or otherwise affected by this document.
106
+ b. Affirmer offers the Work as-is and makes no representations or
107
+ warranties of any kind concerning the Work, express, implied,
108
+ statutory or otherwise, including without limitation warranties of
109
+ title, merchantability, fitness for a particular purpose, non
110
+ infringement, or the absence of latent or other defects, accuracy, or
111
+ the present or absence of errors, whether or not discoverable, all to
112
+ the greatest extent permissible under applicable law.
113
+ c. Affirmer disclaims responsibility for clearing rights of other persons
114
+ that may apply to the Work or any use thereof, including without
115
+ limitation any person's Copyright and Related Rights in the Work.
116
+ Further, Affirmer disclaims responsibility for obtaining any necessary
117
+ consents, permissions or other rights required for any use of the
118
+ Work.
119
+ d. Affirmer understands and acknowledges that Creative Commons is not a
120
+ party to this document and has no duty or obligation with respect to
121
+ this CC0 or use of the Work.