Name | physiocore JSON |
Version |
0.3.0
JSON |
| download |
home_page | None |
Summary | A physiotherapy exercise toolkit with movement scripts, utilities, and resources. |
upload_time | 2025-08-19 10:37:40 |
maintainer | None |
docs_url | None |
author | None |
requires_python | <=3.10.18,>=3.10.12 |
license | Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
Copyright 2025 Pankaj Kumar Maurya
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
|
keywords |
physiotherapy
exercise
movement
rehab
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Computer vision based exercise tracker
- Uses mediapipe and opencv-python
- Use python 3.10.18
- Why? https://www.python.org/downloads/release/python-31018/ is last release of 3.10 as of Aug 2025
- Will be supported till Oct 2026
- https://ai.google.dev/edge/mediapipe/solutions/setup_python says we can use upto 3.12 now, so I will soon upgrade
# publish new version
```sh
rm -rf dist build src/physiocore.egg-info
python -m build
twine upload --repository testpypi dist/*
```
# installation
```sh
pip install physiocore
```
Only if we are trying to install from testpypi (bleeding edge releases will be done here)
```sh
python3.10 -m venv testinstall-0.2.2 ; source testinstall-0.2.2/bin/activate
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple physiocore
```
# upgrade from existing installation
```sh
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple physiocore==0.2.4
```
# Versioning
- last testing on Ankle toe movement done on Mac Sequoia 15.6, physiocore==0.2.2
# Usage Guide
```py
from physiocore.ankle_toe_movement import AnkleToeMovementTracker
tracker = AnkleToeMovementTracker()
tracker.start()
from physiocore.cobra_stretch import CobraStretchTracker
tracker = CobraStretchTracker()
tracker.start()
from physiocore.bridging import BridgingTracker
tracker = BridgingTracker()
tracker.start()
#Similar imports for Straight leg raise and prone straight leg raise
from physiocore.any_prone_straight_leg_raise import AnyProneSLRTracker
from physiocore.any_straight_leg_raise import AnySLRTracker
```
# Testing, Usage
```
python demo.py --save_video bridging.avi --debug
Contents of demo.py below:
from physiocore.bridging import BridgingTracker
tracker = BridgingTracker()
tracker.start()
(testinstall-0.2.2) ➜ TestPhysioPlus python demo.py
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
I0000 00:00:1754933487.157762 3414708 gl_context.cc:369] GL version: 2.1 (2.1 Metal - 89.4), renderer: Apple M4 Pro
Downloading model to /Users/pankaj/TechCareer/TestPhysioPlus/testinstall-0.2.2/lib/python3.10/site-packages/mediapipe/modules/pose_landmark/pose_landmark_heavy.tflite
INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
W0000 00:00:1754933487.193762 3415496 inference_feedback_manager.cc:114] Feedback manager requires a model with a single signature inference. Disabling support for feedback tensors.
W0000 00:00:1754933487.201640 3415498 inference_feedback_manager.cc:114] Feedback manager requires a model with a single signature inference. Disabling support for feedback tensors.
I0000 00:00:1754933491.431292 3414708 gl_context.cc:369] GL version: 2.1 (2.1 Metal - 89.4), renderer: Apple M4 Pro
Settings are --debug False, --video None, --render_all False --save_video None --lenient_mode True --fps 30
W0000 00:00:1754933491.482758 3415548 inference_feedback_manager.cc:114] Feedback manager requires a model with a single signature inference. Disabling support for feedback tensors.
W0000 00:00:1754933491.508220 3415557 inference_feedback_manager.cc:114] Feedback manager requires a model with a single signature inference. Disabling support for feedback tensors.
W0000 00:00:1754933539.888523 3415552 landmark_projection_calculator.cc:186] Using NORM_RECT without IMAGE_DIMENSIONS is only supported for the square ROI. Provide IMAGE_DIMENSIONS or use PROJECTION_MATRIX.
time for raise 1754933545.1654909
time for raise 1754933546.743605
time for raise 1754933562.706252
time for raise 1754933565.942921
time for raise 1754933567.60865
time for raise 1754933574.3253388
time for raise 1754933575.041138
time for raise 1754933575.435921
time for raise 1754933576.240452
time for raise 1754933576.639755
time for raise 1754933603.21583
time for raise 1754933628.344631
time for raise 1754933629.984603
time for raise 1754933630.3845131
Final count: 3
```
See demo.py in tests
Raw data
{
"_id": null,
"home_page": null,
"name": "physiocore",
"maintainer": null,
"docs_url": null,
"requires_python": "<=3.10.18,>=3.10.12",
"maintainer_email": null,
"keywords": "physiotherapy, exercise, movement, rehab",
"author": null,
"author_email": "Pankaj Maurya <pankajmaurya@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/d8/b3/a96605ceaf8a3af96dba1d44c59bc2312819211dc9a29f5239108f8942fb/physiocore-0.3.0.tar.gz",
"platform": null,
"description": "# Computer vision based exercise tracker\n- Uses mediapipe and opencv-python\n- Use python 3.10.18\n- Why? https://www.python.org/downloads/release/python-31018/ is last release of 3.10 as of Aug 2025\n- Will be supported till Oct 2026\n- https://ai.google.dev/edge/mediapipe/solutions/setup_python says we can use upto 3.12 now, so I will soon upgrade \n\n# publish new version\n```sh\nrm -rf dist build src/physiocore.egg-info\npython -m build\ntwine upload --repository testpypi dist/*\n```\n\n# installation\n```sh\npip install physiocore\n```\n\nOnly if we are trying to install from testpypi (bleeding edge releases will be done here)\n```sh\npython3.10 -m venv testinstall-0.2.2 ; source testinstall-0.2.2/bin/activate\npip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple physiocore\n```\n\n# upgrade from existing installation\n```sh\npip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple physiocore==0.2.4\n```\n\n# Versioning\n- last testing on Ankle toe movement done on Mac Sequoia 15.6, physiocore==0.2.2\n\n# Usage Guide\n```py\nfrom physiocore.ankle_toe_movement import AnkleToeMovementTracker\ntracker = AnkleToeMovementTracker()\ntracker.start()\n\nfrom physiocore.cobra_stretch import CobraStretchTracker\ntracker = CobraStretchTracker()\ntracker.start()\n\nfrom physiocore.bridging import BridgingTracker\ntracker = BridgingTracker()\ntracker.start()\n\n#Similar imports for Straight leg raise and prone straight leg raise\nfrom physiocore.any_prone_straight_leg_raise import AnyProneSLRTracker\n\nfrom physiocore.any_straight_leg_raise import AnySLRTracker\n```\n# Testing, Usage \n```\npython demo.py --save_video bridging.avi --debug\n\nContents of demo.py below:\nfrom physiocore.bridging import BridgingTracker\ntracker = BridgingTracker()\ntracker.start()\n\n\n(testinstall-0.2.2) \u279c TestPhysioPlus python demo.py\nWARNING: All log messages before absl::InitializeLog() is called are written to STDERR\nI0000 00:00:1754933487.157762 3414708 gl_context.cc:369] GL version: 2.1 (2.1 Metal - 89.4), renderer: Apple M4 Pro\nDownloading model to /Users/pankaj/TechCareer/TestPhysioPlus/testinstall-0.2.2/lib/python3.10/site-packages/mediapipe/modules/pose_landmark/pose_landmark_heavy.tflite\nINFO: Created TensorFlow Lite XNNPACK delegate for CPU.\nW0000 00:00:1754933487.193762 3415496 inference_feedback_manager.cc:114] Feedback manager requires a model with a single signature inference. Disabling support for feedback tensors.\nW0000 00:00:1754933487.201640 3415498 inference_feedback_manager.cc:114] Feedback manager requires a model with a single signature inference. Disabling support for feedback tensors.\nI0000 00:00:1754933491.431292 3414708 gl_context.cc:369] GL version: 2.1 (2.1 Metal - 89.4), renderer: Apple M4 Pro\nSettings are --debug False, --video None, --render_all False --save_video None --lenient_mode True --fps 30\nW0000 00:00:1754933491.482758 3415548 inference_feedback_manager.cc:114] Feedback manager requires a model with a single signature inference. Disabling support for feedback tensors.\nW0000 00:00:1754933491.508220 3415557 inference_feedback_manager.cc:114] Feedback manager requires a model with a single signature inference. Disabling support for feedback tensors.\nW0000 00:00:1754933539.888523 3415552 landmark_projection_calculator.cc:186] Using NORM_RECT without IMAGE_DIMENSIONS is only supported for the square ROI. Provide IMAGE_DIMENSIONS or use PROJECTION_MATRIX.\ntime for raise 1754933545.1654909\ntime for raise 1754933546.743605\ntime for raise 1754933562.706252\ntime for raise 1754933565.942921\ntime for raise 1754933567.60865\ntime for raise 1754933574.3253388\ntime for raise 1754933575.041138\ntime for raise 1754933575.435921\ntime for raise 1754933576.240452\ntime for raise 1754933576.639755\ntime for raise 1754933603.21583\ntime for raise 1754933628.344631\ntime for raise 1754933629.984603\ntime for raise 1754933630.3845131\nFinal count: 3\n```\n\nSee demo.py in tests\n",
"bugtrack_url": null,
"license": "Apache License \n Version 2.0, January 2004 \n http://www.apache.org/licenses/ \n \n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION \n \n Copyright 2025 Pankaj Kumar Maurya \n \n Licensed under the Apache License, Version 2.0 (the \"License\"); \n you may not use this file except in compliance with the License. \n You may obtain a copy of the License at \n \n http://www.apache.org/licenses/LICENSE-2.0 \n \n Unless required by applicable law or agreed to in writing, software \n distributed under the License is distributed on an \"AS IS\" BASIS, \n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. \n See the License for the specific language governing permissions and \n limitations under the License.\n \n ",
"summary": "A physiotherapy exercise toolkit with movement scripts, utilities, and resources.",
"version": "0.3.0",
"project_urls": {
"Homepage": "https://github.com/pankajmaurya/PhysioPlus",
"Repository": "https://github.com/pankajmaurya/PhysioPlus"
},
"split_keywords": [
"physiotherapy",
" exercise",
" movement",
" rehab"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "1ed683bccb73a504bd3a368aa43794ef60d1c23c1a06fd240c6909341b3aea53",
"md5": "65f74f468abd512b3a958dd04c9bb126",
"sha256": "5a3e60224d77c47189b310206b467184d5d54a1572ea993c6a77c61f2321d429"
},
"downloads": -1,
"filename": "physiocore-0.3.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "65f74f468abd512b3a958dd04c9bb126",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<=3.10.18,>=3.10.12",
"size": 118306,
"upload_time": "2025-08-19T10:37:38",
"upload_time_iso_8601": "2025-08-19T10:37:38.707362Z",
"url": "https://files.pythonhosted.org/packages/1e/d6/83bccb73a504bd3a368aa43794ef60d1c23c1a06fd240c6909341b3aea53/physiocore-0.3.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "d8b3a96605ceaf8a3af96dba1d44c59bc2312819211dc9a29f5239108f8942fb",
"md5": "33d4cda104349b15bf6d717382e4fd28",
"sha256": "c9f69e4e344b97639c9458475bbffce123be18f96954a0b7931c4fc0d7a02ea0"
},
"downloads": -1,
"filename": "physiocore-0.3.0.tar.gz",
"has_sig": false,
"md5_digest": "33d4cda104349b15bf6d717382e4fd28",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<=3.10.18,>=3.10.12",
"size": 110955,
"upload_time": "2025-08-19T10:37:40",
"upload_time_iso_8601": "2025-08-19T10:37:40.863946Z",
"url": "https://files.pythonhosted.org/packages/d8/b3/a96605ceaf8a3af96dba1d44c59bc2312819211dc9a29f5239108f8942fb/physiocore-0.3.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-19 10:37:40",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "pankajmaurya",
"github_project": "PhysioPlus",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "physiocore"
}