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.1.0.tar.gz (27.8 kB view details)

Uploaded Source

Built Distribution

magnetometer-0.1.0-py3-none-any.whl (38.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: magnetometer-0.1.0.tar.gz
  • Upload date:
  • Size: 27.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.9.9 Darwin/21.4.0

File hashes

Hashes for magnetometer-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c714e39f4aea5c6ed682c3f5d52b0054d3b5d5249d186cbffae9cf8ba84bea40
MD5 1099addf803029dbbab573711cd89b8c
BLAKE2b-256 f0ae50e44723e590af19be62dc8f72a417bf221f73297769cd1b250f17b82292

See more details on using hashes here.

File details

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

File metadata

  • Download URL: magnetometer-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 38.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.9.9 Darwin/21.4.0

File hashes

Hashes for magnetometer-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b35f58d239efc723aabd307023d80ea12ed6735cf00e9e1e51d794051e4b5309
MD5 84240273923ff5bb8c9056e3adc7fbd7
BLAKE2b-256 0f4907d14a1fc2f121aa0649dd3b6680f0fa0b75177dd5fe5b7cdef28335efac

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