This project has been archived by its maintainers, and is no longer receiving any updates.
python-mscl
ARCHIVED: There is now an official mscl library: pymscl. Please use that library instead.
Unofficial Python package for the Microstrain Communication Library.
This library just makes it so that we can install the MSCL library using pip, and directly provides the wheels!
Only Python 3.x wheels are provided. If you need Python 2.x wheels, please open an issue.
Installation
pip install python-mscl
Usage
from python_mscl import mscl
# ... use the MSCL library as you normally would
Versioning system:
This repository follows the same versioning system as the MSCL library. This is reflected in the tags of this repository.
The version reflected in PyPI is as follows:
<MSCL_VERSION>.<REPO_VERSION>
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.
Local Development:
The below steps assume you have uv installed.
- Clone the repo and
cdinto it. - Optional: Create a .env file and insert your GITHUB_TOKEN= to make requests to the GitHub API.
- Edit & run
uv run download_and_extract_assets.pyto fetch the latest tagged MSCL releases and extract them. - Run
uv run run_build.py, which will build the source distribution and wheel for your python version and architecture. The wheels will be placed in thedist/directory.
Notes for me, the maintainer:
-
Make sure that the constants in
constants.pyare updated, and that the MSCL repo still follows their versioning system. If not, update rest of the files accordingly. -
Optional: Run
uv publishto publish the package to PyPI. To upload to TestPyPI, uncomment lines inpyproject.toml, and runuv publish --index testpypi dist/*.whl. -
Optional: To check if the package worked correctly:
uv add --index https://test.pypi.org/simple/ --index-strategy unsafe-best-match python-msclin a new uv project directory.
Issues:
If you encounter any issues, please open an issue on this repository. I would have to 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.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for python-mscl 67.1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| python_mscl-67.1.0.1.tar.gz | 8.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_mscl-67.1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.0 kB
Release files / python_mscl-67.1.0.1.tar.gz
| Download URL | python_mscl-67.1.0.1.tar.gz |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
826c8a688670df81614d661f4b89b6fb3feaf75521d25fd0eb3b3136c248314b
|
|
BLAKE2b-256 checksum How to use checksums |
c4c73dc8b4050581b02ae0d4b871dae160bfbfc5dfd97e970d78d29672477105
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.8 {"installer":{"name":"uv","version":"0.12.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / python_mscl-67.1.0.1-py3-none-any.whl
| Download URL | python_mscl-67.1.0.1-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
db788cab029ef987ea495611fb98c52d229f60aa0ec6a78025ea1632c6dfcb32
|
|
BLAKE2b-256 checksum How to use checksums |
e887205b8376df9d14c3cca18180a6bc579a41592a0fc221b8f52f4db29a6993
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.8 {"installer":{"name":"uv","version":"0.12.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|