# SportIdent Reader
[](https://pypi.org/project/sportident/)
[](https://www.python.org/downloads/)
[](https://github.com/sportorg/sireader)
[](https://github.com/sportorg/sireader)
sportIdent.py is a python module to communicate with a SportIdent main station to read out SportIdent cards.
SportIdent is an electronic punching system mainly used for orienteering events.
## Installation
```
pip install sportident
```
## Usage
```python
from time import sleep
from sportident import SIReaderReadout
# connect to base station, the station is automatically detected,
# if this does not work, give the path to the port as an argument
# see the pyserial documentation for further information.
si = SIReaderReadout()
# wait for a card to be inserted into the reader
while not si.poll_sicard():
sleep(1)
# some properties are now set
card_number = si.sicard
card_type = si.cardtype
# read out card data
card_data = si.read_sicard()
# beep
si.ack_sicard()
```
## License
* [GNU LICENSE](LICENSE)
## Contribution
[Contribution guidelines for this project](CONTRIBUTING.md)
Raw data
{
"_id": null,
"home_page": "https://github.com/sportorg/sireader",
"name": "sportident",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0.0,>=3.8.1",
"maintainer_email": null,
"keywords": "sportident, orienteering, sportorg",
"author": "Danil Akhtarov",
"author_email": "daxartio@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/3e/6e/b1ccd9a2362c741be3b342a8fc93d41c5680c13c1f1f6921e578b9134c2d/sportident-1.2.8.tar.gz",
"platform": null,
"description": "# SportIdent Reader\n\n[](https://pypi.org/project/sportident/)\n[](https://www.python.org/downloads/)\n[](https://github.com/sportorg/sireader)\n[](https://github.com/sportorg/sireader)\n\nsportIdent.py is a python module to communicate with a SportIdent main station to read out SportIdent cards.\nSportIdent is an electronic punching system mainly used for orienteering events.\n\n## Installation\n\n```\npip install sportident\n```\n\n## Usage\n\n```python\nfrom time import sleep\nfrom sportident import SIReaderReadout\n\n# connect to base station, the station is automatically detected,\n# if this does not work, give the path to the port as an argument\n# see the pyserial documentation for further information.\nsi = SIReaderReadout()\n\n# wait for a card to be inserted into the reader\nwhile not si.poll_sicard():\n sleep(1)\n\n# some properties are now set\ncard_number = si.sicard\ncard_type = si.cardtype\n\n# read out card data\ncard_data = si.read_sicard()\n\n# beep\nsi.ack_sicard()\n```\n\n## License\n\n* [GNU LICENSE](LICENSE)\n\n## Contribution\n\n[Contribution guidelines for this project](CONTRIBUTING.md)\n",
"bugtrack_url": null,
"license": "GPLv3+",
"summary": "Python module to communicate with SportIdent main stations",
"version": "1.2.8",
"project_urls": {
"Changelog": "https://github.com/sportorg/sireader/blob/main/CHANGELOG.md/",
"Homepage": "https://github.com/sportorg/sireader",
"Repository": "https://github.com/sportorg/sireader"
},
"split_keywords": [
"sportident",
" orienteering",
" sportorg"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "35030047ad3e340284e47e8dead3ed4c456cf69d998c4ac83e0a949cb721171b",
"md5": "e0ffe335b26b5ff4614b0ee2b3199bcc",
"sha256": "ad66dd66d67aa0bbabea0069868e70e0c426c14db5187f7015aa120b82a9761d"
},
"downloads": -1,
"filename": "sportident-1.2.8-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e0ffe335b26b5ff4614b0ee2b3199bcc",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0.0,>=3.8.1",
"size": 28745,
"upload_time": "2024-06-01T20:37:42",
"upload_time_iso_8601": "2024-06-01T20:37:42.989249Z",
"url": "https://files.pythonhosted.org/packages/35/03/0047ad3e340284e47e8dead3ed4c456cf69d998c4ac83e0a949cb721171b/sportident-1.2.8-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3e6eb1ccd9a2362c741be3b342a8fc93d41c5680c13c1f1f6921e578b9134c2d",
"md5": "e23fdda2470b63621fdf2be756e63f23",
"sha256": "be1afe931a6986e9acd847274ba72e805e114e3cf0014738b5c342fc0a52938b"
},
"downloads": -1,
"filename": "sportident-1.2.8.tar.gz",
"has_sig": false,
"md5_digest": "e23fdda2470b63621fdf2be756e63f23",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0.0,>=3.8.1",
"size": 29113,
"upload_time": "2024-06-01T20:37:44",
"upload_time_iso_8601": "2024-06-01T20:37:44.469229Z",
"url": "https://files.pythonhosted.org/packages/3e/6e/b1ccd9a2362c741be3b342a8fc93d41c5680c13c1f1f6921e578b9134c2d/sportident-1.2.8.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-01 20:37:44",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "sportorg",
"github_project": "sireader",
"travis_ci": true,
"coveralls": false,
"github_actions": true,
"lcname": "sportident"
}