This release is a pre-release and may not be stable for production use.
AmfiTrack extensions for the Amfiprot package.
Installation
Install (or update) with pip:
pip install -U amfiprot-amfitrack
Usage example
Instead of creating a generic amfiprot.Device, create an amfitrack.Device to get access to AmfiTrack specific functionality and payload interpretation:
import amfiprot
import amfiprot_amfitrack as amfitrack
VENDOR_ID = 0xC17
PRODUCT_ID = 0xD12
if __name__ == "__main__":
conn = amfiprot.UsbConnection(VENDOR_ID, PRODUCT_ID)
nodes = conn.find_nodes()
print(f"Found {len(nodes)} node(s).")
for node in nodes:
print(f"[{node.tx_id}] {node.name}")
dev = amfitrack.Device(nodes[0])
conn.start()
cfg = dev.config.read_all()
dev.calibrate()
while True:
if dev.packet_available():
packet = dev.get_packet()
if type(packet.payload) == amfitrack.PayloadType.RawBFieldPayload:
payload: amfitrack.payload.RawBFieldPayload = packet.payload
print(payload.b_field)
Metadata
Release files for amfiprot-amfitrack 0.0.1a1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| amfiprot_amfitrack-0.0.1a1.tar.gz | 5.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| amfiprot_amfitrack-0.0.1a1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.6 kB
Release files / amfiprot_amfitrack-0.0.1a1.tar.gz
| Download URL | amfiprot_amfitrack-0.0.1a1.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d0c2242da4acb82f6c38305ceb737d8ea03f882c323c5d61019396cbe5633fde
|
|
BLAKE2b-256 checksum How to use checksums |
00f15d1823e1cc570234d7eca80f53dcf30d4da61d8cdd94adf21c47969fd6c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.1
|
Release files / amfiprot_amfitrack-0.0.1a1-py3-none-any.whl
| Download URL | amfiprot_amfitrack-0.0.1a1-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6c411fa9be439b056ea39b012006494b65af372cc98bb8fbce9189a8dd10cbbf
|
|
BLAKE2b-256 checksum How to use checksums |
dac69d2a57f5e884b1966bcdb7e53f0a373cf65c67360dc9b6cc2e91ee0d69b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.1
|
Security for amfiprot-amfitrack 0.0.1a1
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.