Skip to main content

No project description provided

Project description

Magnetometer

This is a magnetometer command-line tool that reads from physical magnetic sensors via Belay.

Installation

Install Magnetometer through pip:

pip install magnetometer

Usage

To start the program, invoke magnetometer along with the port your CircuitPython board is connected to.

magnetometer DEVICE_PORT --sensor SENSOR_TYPE

You can use the debugging sensor sin without any physical hardware interactions. CircuitPython must be installed on-device and must be configured with rw storage. Magnetometer will automatically upload all necessary code to device. Run magnetometer --help to see more options.

Supported Sensors

Want to support another sensor? Open an issue (or even a PR) on Github and we can try to add it!

Acknowledgements

This tool uses many awesome libraries that keep the implementation terse and the outputs beautiful:

  • Belay - Seameless python/hardware interactions. Used for all hardware interactions.
  • AutoRegistry - Automatic registry design-pattern library for mapping names to functionality. Used to manage sensor hardware abstraction layer.
  • Textual - Text User Interface framework for Python inspired by modern web development. Used for dynamic user input.
  • Rich - Python library for rich text and beautiful formatting in the terminal. Used for general UI text rendering.
  • AsciiChartPy - Nice-looking lightweight console ASCII line charts. Used for chart plotting. Modified to be rich-compatible.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

magnetometer-0.2.0.tar.gz (27.6 kB view details)

Uploaded Source

Built Distribution

magnetometer-0.2.0-py3-none-any.whl (38.9 kB view details)

Uploaded Python 3

File details

Details for the file magnetometer-0.2.0.tar.gz.

File metadata

  • Download URL: magnetometer-0.2.0.tar.gz
  • Upload date:
  • Size: 27.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.10.2 Linux/5.15.0-1019-azure

File hashes

Hashes for magnetometer-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5764ee7f63211914a7a4575e0d3109ebd67cb556b254acd345cd5e7c86f0898e
MD5 30227fcafe9cda4434399ede49675510
BLAKE2b-256 0641b6d76d4efb3049a7a0e18f0d8c5b27998df58dbe402167e7407857bf1293

See more details on using hashes here.

File details

Details for the file magnetometer-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: magnetometer-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 38.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.10.2 Linux/5.15.0-1019-azure

File hashes

Hashes for magnetometer-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0fea95a05ea3bef994c676ef62664bbdf81be84cd1f05ed9347ae5bc7605698f
MD5 04c8a4d1b05b3cb85bd710047bcb1dfa
BLAKE2b-256 477ead166f62020e2be060c9539c874068be58f800c057cbcd7e1a1428d74e89

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page