No project description provided
Project description
Python binding to Rust uem_reader crate
This is a Python binding for MicroEM reader support crate in Rust.
Note on using libusb
On Linux you need to add write permissions to the device you want to use, e.g.:
sudo chmod o+w /dev/bus/usb/002/008
To work with Windows you need to install libusb driver for a reader.
Module development process
sudo apt-get install curl
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
python3 -m venv .env
source ./.env/bin/activate
pip3 install maturin
maturin develop
pip3 install hypothesis
python3 ./python/tests/test.py
sudo apt install docker.io
sudo docker run --rm -v $(pwd):/io ghcr.io/pyo3/maturin build --release
# maturin build --release --bindings pyo3
sudo docker run --rm -v $(pwd):/io ghcr.io/pyo3/maturin publish --username LumaRay --password
License
This work is dual-licensed under MIT or Apache 2.0. You can choose between one of them if you use this work.
SPDX-License-Identifier: MIT OR Apache-2.0
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
uem_reader_py-0.1.0.tar.gz
(6.9 kB
view hashes)
Built Distribution
Close
Hashes for uem_reader_py-0.1.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44d25e36b591426b3e8614ee8dd8924fadeb325561a1dfeaece4637934de369f |
|
MD5 | f70cb0d4c8c5bd4aa729bb8d63b3f592 |
|
BLAKE2b-256 | 4895761226bf4d8103a75c661b0ad175f599a23112d5ca991a65dd023e16fbdb |