Skip to main content

Python interface for controlling Harvard Apparatus Microliter OEM Syringe Pump

Project description

pymupump

Python interface for controlling Harvard Apparatus Microliter OEM Syringe Pump

Derived from now inactive library pumpy, thanks to tomwphillips.

Installation

pip install pymupump

Usage

import pymupump as pmp

chain = pmp.Chain('COM1') # your port
pump = pmp.Microliter(chain) 
# if using multiple pumps on the same port
# you might want to specify another adress and name
pump2 = pmp.Microliter(chain, 1, "Pump2")

pump.setdiameter(2) # diameter of syringe in mm, range is 0.1 - 4.61
pump.setflowrate(3) # set flowrte in ul/min

pump.settargetvolume(2) # set infuse or withdraw target volume in ul

pump.infuse()
# or
pump.withdraw()

pump.waituntiltarget() # block until pump finishes

pump.stop() # stop pump

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

pymupump-0.1.0.tar.gz (19.2 kB view details)

Uploaded Source

Built Distribution

pymupump-0.1.0-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pymupump-0.1.0.tar.gz
  • Upload date:
  • Size: 19.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for pymupump-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7ef19789564abefbfb3cb141d327f52dddf8ebfabebf7a47072dcc68b2525017
MD5 a603408933bd0625ca8712fc8fc9f45f
BLAKE2b-256 d591abde959807fde9ef547a54cfe8f03839d0d50a0b014e0777c0475b91dcf1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pymupump-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 18.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for pymupump-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d5b806e0b8a26e970e024d0e93895c5b79b882c89a628149119a9677a9322f58
MD5 f9e93c9e1136e9b50d04c82c3f2c396d
BLAKE2b-256 4bf4319ff3f229e1b39d71471ffe30c03d5009f9316ded9759af778bbce02ba9

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