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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pymupump-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 827520dadd0e4ba30b60f01beed3c62b5a3f30fa5bc2e7b24925b1fa554bee43
MD5 61397ba72010fd2254e3654199813c5a
BLAKE2b-256 820801f47452fcd030a4d493d3069c7cdcf531ea59d96e01f2f56e5e2a7510c1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pymupump-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7a8024537aeadcdcc1e7d083ff7b96a0df6d0f3ce7a9538f730740f85b9fa1b1
MD5 1dd0fc08108739095d7e14654f09c1a9
BLAKE2b-256 00db6bba0522b4f8f0271122f6dfd7227598e7aabe0b60e47b3b4cf3c24288b2

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