Skip to main content
File added late

1 file was added to this release more than 14 days after its initial publication. Inspect the release files before installing.

Python API for the Attys

Attys is a lightweight wearable bluetooth data acquisition box which can measure anything from temperature to ECG.

It’s cross platform and runs under Linux and Windows

It has two 24 bit analogue channels, an accelerometer and a magnetometer.

http://www.attys.tech

Required packages under Linux

For Ubuntu Linux install libbluetooth-dev and swig:

sudo apt-get install libbluetooth-dev swig

Quick start guide

Here are the basic steps how to use the API:

# load the module
import pyattyscomm

# Gets the AttysScan class which scans for Attys via bluetooth
s = pyattyscomm.AttysScan()

# Scan for Attys
s.scan()

# get the 1st Attys
c = s.getAttysComm(0)

# create a datacallback
class AttysCommCallback(pyattyscomm.SampleCallback):
  def hasSample(self,t,v):
    print(t,v) # so more than just printing!

cb = AttysCommCallback()

pyattyscomm.connectCallback(c,cb)

# Start data acquisition in the background
c.start()

# sleep here or start a GUI

# end the acqu
c.quit()

API documentation

Query it via the python help system:

import pyattyscomm
help(pyattyscomm)

The Python classes have been generated with SWIG. The header files AttysComm.h, AttysCommBase,h and AttysScan.h provide detailed info about the classes:

https://github.com/glasgowneuro/attys-comm

Demos

On github are python examples which show you how to plot realtime data from the Attys: https://github.com/glasgowneuro/attys-comm/tree/master/examples

Metadata

Release files for pyattyscomm 2.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

File added late

1 file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release files before installing.

Source distribution (sdist)

Source distribution for pyattyscomm 2.1.1
File Size Uploaded Provenance
pyattyscomm-2.1.1.tar.gz 48.6 kB Without provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for pyattyscomm 2.1.1
File
pyattyscomm-2.1.1-py3.11-win-amd64.egg Legacy Egg format - - Details
pyattyscomm-2.1.1-py3.10-win-amd64.egg Legacy Egg format - - Details
pyattyscomm-2.1.1-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
pyattyscomm-2.1.1-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
pyattyscomm-2.1.1-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details

Total release size: 541.8 kB

Release files / pyattyscomm-2.1.1.tar.gz

Download URL pyattyscomm-2.1.1.tar.gz
Size 48.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c71d7d9f7f5ede25a39802adf0bf0f8a534ddb14e373d5c1e24c81f1038c688c
BLAKE2b-256 checksum
How to use checksums
351aa586403b039046d6c482b503a5ed7531848fee8178c861bcb758e26b46d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.0

Release files / pyattyscomm-2.1.1-py3.11-win-amd64.egg

Download URL pyattyscomm-2.1.1-py3.11-win-amd64.egg
Size 100.7 kB
Tags Egg
SHA-256 checksum
How to use checksums
093d1ccf6604f564b6f499dcdf56f1e96a97fadb5e1c12e872b4908d532ec385
BLAKE2b-256 checksum
How to use checksums
3c4ae484ea711bfa59fef3d0b589dd6795a71d95c266b2bc0a497e44387edef9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.0

Release files / pyattyscomm-2.1.1-py3.10-win-amd64.egg

Download URL pyattyscomm-2.1.1-py3.10-win-amd64.egg
Size 106.0 kB
Tags Egg
SHA-256 checksum
How to use checksums
721fb6d161209cf6ef6ff1e1dbd4f2c1d0f9c356db513d9fd6aa166817f253cd
BLAKE2b-256 checksum
How to use checksums
db980bec689190e2e8611509e13567b2627e1c444a990b9ca20ace44e11a7cc1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.0

Release files / pyattyscomm-2.1.1-cp313-cp313-win_amd64.whl

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL pyattyscomm-2.1.1-cp313-cp313-win_amd64.whl
Size 94.6 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
e3fa261637276169d27609fa93c1b6420d0825a30b745f890e293021ccef3fb6
BLAKE2b-256 checksum
How to use checksums
9edb6e04249b87a42612b983e442487eca0d99749c5f6ad23cefebd3414d5f56
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / pyattyscomm-2.1.1-cp311-cp311-win_amd64.whl

Download URL pyattyscomm-2.1.1-cp311-cp311-win_amd64.whl
Size 91.6 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
d3a7a40483ee48fcadc0ae904fea97520859f8fa140a4a2ee7a8ce0d8c8fdfc7
BLAKE2b-256 checksum
How to use checksums
fe6c5768f34052d8f0487a28c2de29da83bc86311e132f4c6284b3b44ab590a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.0

Release files / pyattyscomm-2.1.1-cp310-cp310-win_amd64.whl

Download URL pyattyscomm-2.1.1-cp310-cp310-win_amd64.whl
Size 100.4 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
178bc5f4dcca345d1f44e0e94315e4e84d830d954dc2bef984e843305837f7ea
BLAKE2b-256 checksum
How to use checksums
454287b6a3b098dbf534d1fc298145bc7c99dbe79c57a1d4781c9f699a319521
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.0

Security for pyattyscomm 2.1.1

Upload timing

File added late

1 file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.


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.

Release history Release notifications | RSS feed

This release

2.1.1 This release

6 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page