MagicRF
MagicRF is a library for M100 and QM100 modules.
Installation
Compile and install the library:
pip3 install magicrf
After installation you can run unit tests to make sure that the library works fine. Execute:
python -m magicrf.case1
Usage
- In Python 3::
from magicrf import m100
reader = m100(‘COM14’)
- def receive_callback(data):
- for item in data[:-1].split(‘;’):
epc, rssi = item.split(‘,’) print(‘{0} RSSI: -{1} dBm’.format(epc, int(rssi, 16)))
reader.rxcallback( receive_callback ) reader.start()
# reader.power(22) # reader.param(q=4) reader.query(100)
Example
from magicrf import m100
# Get PA Power m100.power() # Set PA Power m100.power(22.0)
V1.0.1 (2018-11-26)
Release ver1.0.1
V1.0 (2018-08-15)
Initialization
V1.1 (2018-10-24)
New querypower etc. functions.
Metadata
Release files for magicrf 1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 325.8 kB
Release files / magicrf-1.2-cp39-cp39-win_amd64.whl
| Download URL | magicrf-1.2-cp39-cp39-win_amd64.whl |
|---|---|
| Size | 36.8 kB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
82aeaea53b18e8fcd14a161e7ce2f93568ccdebbb5fee8f6df47e18bd8c0d710
|
|
BLAKE2b-256 checksum How to use checksums |
460bb41b070db0069bf725dab68a59c4d919335e23db4c287e677ee5b54609aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.6.5
|
Release files / magicrf-1.2-cp38-cp38-win_amd64.whl
| Download URL | magicrf-1.2-cp38-cp38-win_amd64.whl |
|---|---|
| Size | 36.8 kB |
| Tags | CPython 3.8 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
4da59dab8c1f6e56cc0e466e2f661f6572c7c74f7a54f80f010c7077cdbf64f2
|
|
BLAKE2b-256 checksum How to use checksums |
a3f9ae1feacea38cc2c29cf421dc35033fe89b625e105af2cdb06ba15ace3871
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.6.5
|
Release files / magicrf-1.2-cp38-cp38-win32.whl
| Download URL | magicrf-1.2-cp38-cp38-win32.whl |
|---|---|
| Size | 34.0 kB |
| Tags | CPython 3.8 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
76389f27ebcebabd750572e77a2b41fd90d3065ed819c86eb2d8a350583f0c5d
|
|
BLAKE2b-256 checksum How to use checksums |
095556cb9df36b867357b8ba10a83ada179ed96d586d076e34655a56b83422b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.6.5
|
Release files / magicrf-1.2-cp37-cp37m-win_amd64.whl
| Download URL | magicrf-1.2-cp37-cp37m-win_amd64.whl |
|---|---|
| Size | 36.8 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
6f7f9161ec23084d099c5ea92ac42fdc45aa439215d1775b418e7669f6014434
|
|
BLAKE2b-256 checksum How to use checksums |
02cc1bd801ab7fedbd203ac85e5b4bf909946957e7f02d41548069b75d08f069
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.6.5
|
Release files / magicrf-1.2-cp37-cp37m-win32.whl
| Download URL | magicrf-1.2-cp37-cp37m-win32.whl |
|---|---|
| Size | 34.0 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Windows x86-32 |
|
SHA-256 checksum How to use checksums |
c2672691383ad42a9ffb9d38600d18e84eea5817ebd1b29bd56ebad2c59aaf25
|
|
BLAKE2b-256 checksum How to use checksums |
38d484761ba4c7c90c36b1c4257476227956fb238c855cdd3e2aa092eba45827
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.6.5
|
Release files / magicrf-1.2-cp36-cp36m-win_amd64.whl
| Download URL | magicrf-1.2-cp36-cp36m-win_amd64.whl |
|---|---|
| Size | 41.2 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
d6de591bfd4d7e327b7d9037376cc937eca49e284d404a543e460e9171396b30
|
|
BLAKE2b-256 checksum How to use checksums |
7e03cdf3a9bd60001545d36e873582577372da5d2235bed163b3510949115728
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.6.5
|
Release files / magicrf-1.2-cp36-cp36m-win32.whl
| Download URL | magicrf-1.2-cp36-cp36m-win32.whl |
|---|---|
| Size | 38.8 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Windows x86-32 |
|
SHA-256 checksum How to use checksums |
0e20dec8b203cac8332439b7605b7c7002a3f43b9dcfdaf66a80901d01f5a0f4
|
|
BLAKE2b-256 checksum How to use checksums |
4e12f8bf80eaeb02bee96f75411b6ed2b80af1dfbb3491e5aab7bd035694f99a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.6.5
|
Release files / magicrf-1.2-cp35-cp35m-win_amd64.whl
| Download URL | magicrf-1.2-cp35-cp35m-win_amd64.whl |
|---|---|
| Size | 35.4 kB |
| Tags | CPython 3.5 CPython 3.5 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
b091a4b45977a10183319370d03a3cd2c3db3fd55b1b6c99e87de72979d2cebb
|
|
BLAKE2b-256 checksum How to use checksums |
178bb48610e633e4176331b25014be7a5f3fba6e813e165269fb5b0852759be8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.6.5
|
Release files / magicrf-1.2-cp35-cp35m-win32.whl
| Download URL | magicrf-1.2-cp35-cp35m-win32.whl |
|---|---|
| Size | 32.0 kB |
| Tags | CPython 3.5 CPython 3.5 pymalloc Windows x86-32 |
|
SHA-256 checksum How to use checksums |
5fac77d8dae73e77dbd17bd4acefae8bfb1cf476eab1a94df6aac4c54a797d24
|
|
BLAKE2b-256 checksum How to use checksums |
aa1b3177c572365f783322b5d52bdbd6ae63b83dcb3abc07cfe46a0958b970e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.6.5
|
Security for magicrf 1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.