Skip to main content

pyrpoc v3.1

Author: Ishaan Singh, Zhang Group (https://sites.google.com/view/zhangresearchgroup). With any feedback or suggestions, please reach out to sing1125@purdue.edu.

The instructions for install below are only for windows, as your instrument control system likely is a windows computer. If you would like instructions for a linux or mac system, please email.

Installation

This project uses a free tool called uv that handles everything for you. To get set up with it on windows, install the instuctions below.

  1. Click the Windows start button and search for powershell.

  2. In the list that appears, right-click on powershell and choose run as administrator. If a popup comes up to ask "Do you want to allow this app to make changes?", click yes.

  3. Type the word PowerShell.

  4. Copy the line below, paste it into that window, and press enter to run the command. This command is straight from Astral's instructions for installing uv.

    powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
    
  5. After install is complete, fully close powershell.

Now that uv is installed, you can install the pyrpoc software itself.

  1. Open PowerShell again (Windows start button → search PowerShell → click it). You do not need administrator mode.

  2. Copy the line below, paste it into the window (right-click inside the window to paste), and press Enter:

    uv tool install pyrpoc
    
  3. Wait until the text stops scrolling. This step downloads the correct version of Python and every component the software needs, so the first install can take several minutes.

Running the software

Any time you want to open pyrpoc:

  1. Open PowerShell

  2. Type the command below

    pyrpoc
    

That's all.

Updating to a newer version

When a new version is released, open PowerShell and run:

uv tool upgrade pyrpoc

Developer installation (editable mode)

  1. Navigate to the desired project directory and clone the repository:

    git clone https://github.com/FishyIshyFishy/pyrpoc.git
    cd pyrpoc
    
  2. Create the virtual environment and install the project in editable mode along with the development dependencies

    uv sync
    
  3. Run the software from the clone:

    uv run pyrpoc
    

    uv run automatically uses the project's .venv, so you never need to activate it manually. If you prefer to activate it anyway:

    .venv\Scripts\Activate.ps1
    pyrpoc
    

    To run tests, use uv run pytest, and to type check, uv run pyright.

  4. When dependencies change, adjust pyproject.toml and rerun uv sync. To add packages, use uv add <package-name>. To add a dev only package, use uv add -dev <package-name>.

Metadata

Release files for pyrpoc 3.1.0

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

Source distribution (sdist)

Source distribution for pyrpoc 3.1.0
File Size Uploaded
pyrpoc-3.1.0.tar.gz 192.0 kB Details

Built distribution (wheel)

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

Total release size: 409.3 kB

Release files / pyrpoc-3.1.0.tar.gz

Download URL pyrpoc-3.1.0.tar.gz
Size 192.0 kB
Tags Source
SHA-256 checksum
How to use checksums
58db24bd2cec4f828e312174b349c91b432ed7c0055f4f9434476382c500ae35
BLAKE2b-256 checksum
How to use checksums
e7638b152d0b109af14589a19e1c97ff30197f53e4428fe2c2cb8f76e519668e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.14

Release files / pyrpoc-3.1.0-py3-none-any.whl

Download URL pyrpoc-3.1.0-py3-none-any.whl
Size 217.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6bd0c935079b3062bb33a9eac2261cd05f697ab4c623e65fbea1b518af57ab76
BLAKE2b-256 checksum
How to use checksums
1b3763f9a2e0426c8cffbdec7f8b14c6cee5d2fa5cfc8ec23638054ecea52eb2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.14

Release history Release notifications | RSS feed

3.1.2

2 release files

3.1.1

2 release files

This release

3.1.0 This release

2 release files

3.0.2

2 release files

3.0.1

2 release files

3.0.0

2 release files

0.2.0

2 release files

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