Skip to main content
English    |    Français

PASCO’s Python Library

The PASCO Python Library lets learners, educators, and hobbyists take full control of their PASCO Wireless Sensors using Python code. Visit us on GitHub to download the PASCO Python API, browse sample code, and review tips for getting started.


Why Python?

  • Python is used in schools and universities around the world.
  • It’s simple, readable, and flexible, making it ideal for both beginners and experts.
  • Python resources are readily accessible thanks to its global community of creators, collaborators, and problem-solvers.

Python vs. Blockly

Blockly is an easy-to-use, block-based programming platform available in both SPARKvue and PASCO Capstone. Unlike Blockly, Python is a text-based programming language that is independent from PASCO software. This library lets you bring Python into the PASCO ecosystem for complete control of your data. With Python, users control all aspects of sensor data collection, from sensor connections and sampling rates to data displays and custom analytics.

Visit us on GitHub to view instructions for getting started and browse sample code for Python projects.

Compatible Sensors

  • //code.Node
  • Smart Cart
  • Wireless Acceleration Altimter
  • Wireless CO2
  • Wireless Conductivity
  • Wireless Current
  • Wireless Diffraction
  • Wireless Drop Counter
  • Wireless Force Acceleration
  • Wireless Light
  • Wireless Load Cell
  • Wireless Magnetic Field
  • Wireless Motion
  • Wireless O2
  • Wireless Optical Dissolved Oxygen
  • Wireless pH
  • Wireless Pressure
  • Wireless Rotary Motion
  • Wireless Temperature
  • Wireless Voltage
  • Wireless Weather

System Requirements

  • Operating Systems: Windows, Mac, Linux (Raspberry Pi)
  • Bluetooth 4.0+
  • Python version 3.7-3.10
  • IDE of your choice (VSCode, PyCharm, etc)

Example Projects

Temperature Alarm

Use a Python text to voice plugin to narrate temperatures out loud.

View Code on GitHub


Smart Cart 3D Plot

Create an 3D plot using values from the Smart Cart.

Save & Share Cart
Your Shopping Cart will be saved and you'll be given a link. You, or anyone with the link, can use it to retrieve your Cart at any time.
Back Save & Share Cart
Your Shopping Cart will be saved with Product pictures and information, and Cart Totals. Then send it to yourself, or a friend, with a link to retrieve it at any time.
Your cart email sent successfully :)