EPS/MP 21200 PSU
Interface and diagnostic tests for the EPS/MP-21200 1200V-2A PSU series
Clone repository
cd <path-to-directory>
git clone git@gitlab.com:pass-testing-solutions/eps-mp-21200-psu.git
cd eps-mp-21200-psu/
git pull origin main
git checkout -b <your-new-branch> # Please follow the branch naming convention as mentioned in the coding guidelines
Virtual environment on MacOS
1. Virtualenvwrapper
You can install virtualenv and virtualenvwrapper with:
pip3 install virtualenv
pip3 install virtualenvwrapper
mkdir ~/.virtualenvs
# Might need to query where the virtualenv and virtualenvwrapper.sh are
which virtualenv
which virtualenvwrapper.sh
which python3
Add these lines in the ~/.zshrc file
# Setting PATH for Python 3 installed by brew
export PATH=<path-to-your-python3>:$PATH
# Configuration for virtualenv
export WORKON_HOME=$HOME/.virtualenvs
export VIRTUALENVWRAPPER_PYTHON=<path-to-your-python3>
export VIRTUALENVWRAPPER_VIRTUALENV=<path-to-your-virtualenv>
source <path-to-your-virtualenvwrapper.sh>
source $ZSH/oh-my-zsh.sh
Make sure to save these changes in your file and close your terminal for them to take effect. Now you can create a virtual environment by simply typing:
mkvirtualenv <name-of-your-virtual-env>
cd <your-git-repository>
workon <name-of-your-virtual-env>
deactivate <name-of-your-virtual-env>
To add the correct interpreter for your repository on PyCharm:
- PyCharm IDE > Preferences > Project > Python Interpreter
- Select the 'Add' button for interpreters
- Choose the 'Existing environments' in 'Virtualenv'
- Add the python3 file from /bin/ of your venv folder
E.g. - .virtualenvs/demo_repo_venv/bin/python3
After setting up the venv for the repo please install all the requirements and allow some time for the IDE to do indexing. If your repository has a requirements.txt:
pip3 install -r requirements.txt
2. Pipenv
Install pipenv
pip3 install pipenv
# or
brew install pipenv
pipenv shell # will create a virtualenv for the project
pipenv install # will install dependencies for the repo from the Pipfile and Pipfile.lock
# Install any further packages in this environment as
pipenv install rich # rich is a python library to nicely print on terminal
Your pipenv environment will be in the ~./virtualenvs folder. Make sure to add the interpreter on your IDE if not automatically added by navigating to the virtualenv folder for your repo and selecting the correct python3 file from /bin/.
Maintainers
Maintainers: @julianpass and @shuparnadeb_pts
License
For open source projects, say how it is licensed.
Release files for pts-eps-psu 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pts_eps_psu-0.0.3.tar.gz | 5.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pts_eps_psu-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.1 kB
Release files / pts_eps_psu-0.0.3.tar.gz
| Download URL | pts_eps_psu-0.0.3.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f5cceb8f9560f709e4d8ac48af5735c7b6ac77cc3d6607a79a8f2573a743fb04
|
|
BLAKE2b-256 checksum How to use checksums |
11f668f5551f3fd4921adb5b9c9ef86bb81c10979153132f873c2ee638f5d91d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.18 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.15
|
Release files / pts_eps_psu-0.0.3-py3-none-any.whl
| Download URL | pts_eps_psu-0.0.3-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
681042039e3b2d5ceeb1291de3b23067c3af0fb01ffa0af10476d9aebbb8421a
|
|
BLAKE2b-256 checksum How to use checksums |
ddba6d26176ea8a5deedb66d1a6b8e739c1e5fb69920e2d7538bfbe54c6a088e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.18 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.15
|