Skip to main content

hpSPM+ Studio Library Description

The hpSPM+ Studio Python Library is a powerful API designed for seamless interaction with hpSPM+ systems, providing comprehensive tools for system customization, real-time monitoring, and data management. Its modular structure allows easy integration into scientific and industrial workflows.

Key features include:

  • Device Control:
    • Complete control over scanning processes, voltage configurations, and offset adjustments.
    • Optimizes system performance with automatic calibration and setup features.
  • Real-Time System Monitoring:
    • Provides real-time access to essential metrics like system status and scan progress.
    • Delivers detailed feedback on scanning status, voltage levels, and system activities.
  • Data Management:
    • Records, organizes, and analyzes scanned images and system readings.
    • Offers the ability to manage image containers effectively.
  • Customizable Solutions:
    • Configures scanning parameters and other settings to meet experimental or industrial requirements.
    • Its modular design enhances system scalability.

This library is an ideal tool for automating workflows, optimizing device performance, and developing custom applications.

Prerequisites

  • Operating System: Windows 10 or later.
  • Python Version: Python versions 3.9 to 3.12. Download Python from python.org.
  • hpSPM+ Studio Software: The hpSPM+ Studio software must be installed, and its API feature should be activated.
  • Network Access: The hpSPM+ device must be accessible via its designated IP address and port.
  • pip Package Manager: The Python pip package manager is required to install the library.
  • Dependencies: All required dependencies are installed automatically during the library setup.
  • Development Environment (Recommended): Using Visual Studio Code is recommended for writing, debugging, and running Python scripts.

Note: Ensure your Python environment is properly configured before proceeding with the installation.

Installation and Upgrading

  • To Install the hpSPM+ Python Library:
    • Open a Windows Command Prompt or terminal with Python installed.
    • Enter the following command:

pip install hpspmplusstudio

  • To Upgrade to the Latest Version of the hpSPM+ Library:
    • Use the following command:

pip install hpspmplusstudio -U

Note: Ensure your Python environment meets all the prerequisites listed before proceeding with the installation or upgrade.

Running the Examples

The hpSPM+ Studio Python Library provides comprehensive documentation, sample scripts, and application templates to help users get started quickly. These resources are organized into separate directories such as Docs and Samples within the package.

To locate these files on your system, follow these steps:

  1. Open a terminal or command prompt with Python installed.
  2. Enter the following commands to access the library's help feature:

python

>>> import hpSPMPlusStudio

>>> hpSPMPlusStudio.help()

  1. The output will display the exact paths to the documentation (Docs) and example scripts (Samples). For instance:
    1. Docs: Contains the PDF manual and library overview files.
    2. Samples: Includes subfolders like Basics and Experiments with practical examples.

We recommend using Visual Studio Code or a similar IDE for writing, debugging, and running Python scripts. You can explore the examples in the Samples folder to better understand how to interact with the hpSPM+ API and customize it for your needs.

Connection and Logging

  • Every request uses a timeout of 5 s (connect) / 60 s (read). It can be changed per endpoint, e.g. NMIEndpoint("192.168.10.110", 9024, timeout=(5, 120)).
  • Failed requests and server error messages are printed to the console, and the method returns None.
  • The library does not write a log file by default. To write the library logs to a file:

>>> import hpSPMPlusStudio

>>> hpSPMPlusStudio.enable_file_logging("logFile_API.log")

Metadata

Release files for hpspmplusstudio 1.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hpspmplusstudio 1.0.8
File Size Uploaded Provenance Actions
hpspmplusstudio-1.0.8.tar.gz 2.0 MB Without provenance Details for hpspmplusstudio-1.0.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hpspmplusstudio 1.0.8
File Interpreter ABI Platform Actions
hpspmplusstudio-1.0.8-py3-none-any.whl Python 3 none any Details for hpspmplusstudio-1.0.8-py3-none-any.whl

Total release size: 4.1 MB

Release files / hpspmplusstudio-1.0.8.tar.gz

Download URL hpspmplusstudio-1.0.8.tar.gz
Size 2.0 MB
Tags Source
SHA-256 checksum
How to use checksums
4a33d68b0cb389f34adbb6b4d1fa7220d2cd72a750ab93d2855a9f85b74a7e6e
BLAKE2b-256 checksum
How to use checksums
94b1bcd47b09ab49db708ea283682a442663cf92592adbfd4764c1ca39fa73eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.4

Release files / hpspmplusstudio-1.0.8-py3-none-any.whl

Download URL hpspmplusstudio-1.0.8-py3-none-any.whl
Size 2.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
ec7c2d37be9e072d964bc5858b233d55aad00943ce5b74daed7d9aca29c61573
BLAKE2b-256 checksum
How to use checksums
e6aa69f884b89b53af3be85eaf86c3f2fab4ca573c6e596c9c41b9ae4bcac7b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.4

Security for hpspmplusstudio 1.0.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page