Skip to main content

Kernel test bench controls

This repo aim to provide a full set of tools to control all the devices on the Kernel-Nuller test bench.

🚀 Quickstart

Requirements:

  1. Create and activate the conda environment

    conda env create -f environment.yml
    conda activate photonics
    
  2. Start a Python instance

    python
    

    And import the kbench module

    import kbench
    

Option 2: Installation with pip

  1. (Recommended) Create a virtual environment

    python3.12 -m venv .venv
    

    and activate it

    source .venv/bin/activate # Linux
    .venv/Scripts/activate # Windows
    
  2. Install the Python module

    pip install -r requirements.txt
    pip install -e .
    
  3. Start a Python instance

    python
    

    And import the kbench module

    import kbench
    

    You can now use all Kbench devices according to the documentation!

📚 Documentation

The documentation should be available at the adress: kbench.readthedocs.io.

If you want to build the doc locally, once the project is setup (according to the instructions above):

  1. Go in the docs folder
    cd docs
    
  2. Install the requirements (by preference, in a virtual environment)
    pip install -r requirements.txt
    
  3. Build the doc
    make html # Linux
    .\make.bat html # Windows
    

Once the documentation is build, you can find it in the docs/_build_ folder.

Metadata

Release files for kbench-controls 0.7.3

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

Source distribution (sdist)

Source distribution for kbench-controls 0.7.3
File Size Uploaded
kbench_controls-0.7.3.tar.gz 114.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for kbench-controls 0.7.3
File Interpreter ABI Platform
kbench_controls-0.7.3-py3-none-any.whl Python 3 none any Details

Total release size: 230.1 kB

Release files / kbench_controls-0.7.3.tar.gz

Download URL kbench_controls-0.7.3.tar.gz
Size 114.2 kB
Tags Source
SHA-256 checksum
How to use checksums
1a77be4b9f39b2dfa1f91b7fefa4b84acbd2be70b1afc0c4c83c77766f0e6d5c
BLAKE2b-256 checksum
How to use checksums
0d8228aced257caf889c7dbeac80e7b354e9f0a053dd3a0ccf7d1d9b72a771b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.11

Release files / kbench_controls-0.7.3-py3-none-any.whl

Download URL kbench_controls-0.7.3-py3-none-any.whl
Size 115.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ed0d3c0cc6ab84a5fe8ba3cc394acde3dee90ed4ecb43c7f1b8e0c36fc23989e
BLAKE2b-256 checksum
How to use checksums
e6aea25cb078821f3b9e18fc959fc151d8577843c09a1a76dd562c9f35a10d8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.11

Release history Release notifications | RSS feed

This release

0.7.3 This release

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.6

2 release files

0.6.5

2 release files

0.6.4

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.4.16

2 release files

0.4.14

2 release files

0.4.13

2 release files

0.4.12

2 release files

0.4.11

2 release files

0.4.10

2 release files

0.4.0

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

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