Library for RadiaCode-101
Project description
RadiaCode
This is a library to work with the radiation detector and spectrometer RadiaCode-101.
The project is still under development and not stable. Thus, the API might change in the future.
Example project (backend, frontend):
Installation and example projects
# install library together with all the dependencies for the examples, remove [examples] if you don't need them
$ pip3 install 'radiacode[examples]' --upgrade
# launch the webserver from the screenshot above
# bluetooth: replace with the address of your device
$ python3 -m radiacode-examples.webserver --bluetooth-mac 52:43:01:02:03:04
# or the same, but via usb
$ sudo python3 -m radiacode-examples.webserver
# simple example for outputting information to the terminal, options are similar to the webserver example
$ python3 -m radiacode-examples.basic
# send data to the public monitoring project narodmon.ru
$ python3 -m radiacode-examples.narodmon --bluetooth-mac 52:43:01:02:03:04
Development
- install python poetry
- clone this repository
- install and run:
$ poetry install
$ poetry run python3 radiacode-examples/basic.py --bluetooth-mac 52:43:01:02:03:04 # or without --bluetooth-mac for USB connection
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
radiacode-0.2.1.tar.gz
(13.0 kB
view hashes)
Built Distribution
radiacode-0.2.1-py3-none-any.whl
(17.5 kB
view hashes)
Close
Hashes for radiacode-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3679fa5131051397a3134606b8c4800aa2e60cc8f8d236c1c905b6cba3609ee |
|
MD5 | 41085e7f40e83f73eccafe3639ca86c6 |
|
BLAKE2b-256 | 6e1315766492e8d240fa7f2b1e22e7d22fcbd4432961194b6f350591c7bc79a5 |