python-mscl 67.1.0.1__py3-none-any.whl

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,13 @@
1
+ from warnings import warn
2
+
3
+ # from . import mscl
4
+
5
+ warn(
6
+ "The 'python_mscl' package is archived, please use the official `pymscl` package instead.",
7
+ DeprecationWarning,
8
+ stacklevel=2
9
+ )
10
+
11
+ # Intentionally make the user can do `from python_mscl import mscl` instead of `import mscl` which
12
+ # can be done by doing a from .mscl import * here.
13
+ # __all__ = ["mscl"]
python_mscl/py.typed ADDED
File without changes
@@ -0,0 +1,85 @@
1
+ Metadata-Version: 2.5
2
+ Name: python-mscl
3
+ Version: 67.1.0.1
4
+ Summary: Easy to install python wrapper for the MSCL library.
5
+ Author-email: Harshil <37377066+harshil21@users.noreply.github.com>
6
+ License-File: LICENSE
7
+ Classifier: Development Status :: 4 - Beta
8
+ Classifier: Intended Audience :: Developers
9
+ Classifier: License :: OSI Approved :: MIT License
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Programming Language :: Python :: 3.11
12
+ Classifier: Programming Language :: Python :: 3.12
13
+ Classifier: Programming Language :: Python :: 3.13
14
+ Classifier: Programming Language :: Python :: 3.14
15
+ Classifier: Topic :: Scientific/Engineering
16
+ Requires-Python: >=3.11
17
+ Description-Content-Type: text/markdown
18
+
19
+ # python-mscl
20
+
21
+ # ARCHIVED: There is now an official mscl library: [`pymscl`](https://pypi.org/project/pymscl). Please use that library instead.
22
+
23
+ [![PyPI Downloads](https://static.pepy.tech/badge/python-mscl/week)](https://pepy.tech/projects/python-mscl)
24
+
25
+ Unofficial Python package for the [Microstrain Communication Library](https://github.com/LORD-MicroStrain/MSCL/tree/master).
26
+
27
+ This library just makes it so that we can install the MSCL library using pip, and directly provides the wheels!
28
+
29
+ Only Python 3.x wheels are provided. If you need Python 2.x wheels, please open an issue.
30
+
31
+ ### Installation
32
+
33
+ ```bash
34
+ pip install python-mscl
35
+ ```
36
+
37
+ ### Usage
38
+
39
+ ```python
40
+ from python_mscl import mscl
41
+
42
+ # ... use the MSCL library as you normally would
43
+ ```
44
+
45
+ ### Versioning system:
46
+
47
+ This repository follows the same versioning system as the MSCL library. This is reflected in the tags of this repository.
48
+
49
+ The version reflected in PyPI is as follows:
50
+
51
+ ```
52
+ <MSCL_VERSION>.<REPO_VERSION>
53
+ ```
54
+
55
+ E.g, there could be a version: `67.0.0.3` which would mean that the MSCL version is `67.0.0` and this is the third release of the python-mscl package.
56
+
57
+ ## Local Development:
58
+
59
+ The below steps assume you have [`uv`](https://docs.astral.sh/uv/) installed.
60
+
61
+ 1. Clone the repo and `cd` into it.
62
+ 2. Optional: Create a .env file and insert your GITHUB_TOKEN= to make requests to the GitHub API.
63
+ 3. Edit & run `uv run download_and_extract_assets.py` to fetch the latest tagged MSCL releases and extract them.
64
+ 4. Run `uv run run_build.py`, which will build the source distribution and wheel for your python
65
+ version and architecture. The wheels will be placed in the `dist/` directory.
66
+
67
+ Notes for me, the maintainer:
68
+
69
+ 5. Make sure that the constants in `constants.py` are updated, and that the MSCL repo still follows their
70
+ versioning system. If not, update rest of the files accordingly.
71
+
72
+ 6. Optional: Run `uv publish` to publish the package to PyPI. To upload to TestPyPI, uncomment lines in `pyproject.toml`, and run `uv publish --index testpypi dist/*.whl`.
73
+
74
+ 7. Optional: To check if the package worked correctly: `uv add --index https://test.pypi.org/simple/ --index-strategy unsafe-best-match python-mscl` in a new uv project directory.
75
+
76
+
77
+ ## Issues:
78
+
79
+ If you encounter any issues, please open an issue on this repository. I would have to
80
+ manually update this repository to the latest MSCL release. If it has been more than 48 hours since the latest release and I didn't update this repository, please open an issue.
81
+
82
+ ## License
83
+
84
+ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
85
+
@@ -0,0 +1,6 @@
1
+ python_mscl/__init__.py,sha256=BwCpxcx20FSJujWUHNDVDZQFp3z8zf3mmkeov7-kar8,366
2
+ python_mscl/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ python_mscl-67.1.0.1.dist-info/METADATA,sha256=vNbmCA4Ak_X2Rs_1T-7-mHBx2FafJG6PFhBiVMrP1wQ,3307
4
+ python_mscl-67.1.0.1.dist-info/WHEEL,sha256=zOwg4jB6zX2kU910N-cMawjivD6tO8NEWvE12je1bVk,87
5
+ python_mscl-67.1.0.1.dist-info/licenses/LICENSE,sha256=HoK_Ay_yWSgBIvLdRPRW9yt-1Es1-EX48iVfRrGz6sA,1064
6
+ python_mscl-67.1.0.1.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.32.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Harshil
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.