Skip to main content

Python Laboratory Instrumentation COntrol

Project description

# PLICO: Python Laboratory Instrumentation COntrol

This is just a framework for a typical HW controlling application

## Installation

### Installing From the wheel ` pip install plico-XXX.whl `

In plico source dir ` pip install . `

During development you want to update use

` pip install -e . ` that install a python egg with symlinks to the source directory in such a way that chages in the python code are immediately available without the need for re-installing (beware of conf/calib files!)

### Uninstall

` pip uninstall plico `

## Administration Tool

For developers.

### Testing Never commit before tests are OK! To run the unittest and integration test suite execute in plico source dir

` python setup.py test `

### Creating a Conda environment Use the Anaconda GUI or in terminal

` conda create --name plico `

To create an environment with a specific python version

` conda create --name plico26 python=2.6 `

It is better to install available packages from conda instead of pip.

` conda install --name plico matplotlib scipy ipython numpy `

### Packaging and distributing

See https://packaging.python.org/tutorials/distributing-packages/#

To make a source distribution

` python setup.py sdist `

and the tar.gz is created in plico/dist

If it is pure Python and works on 2 and 3 you can make a universal wheel

` python setup.py bdist_wheel --universal `

Otherwise do a pure wheel

` python setup.py bdist_wheel `

The wheels are created in plico/dist. I suppose one can trash plico/build now and distribute the files in plico/dist

To upload on pip (but do you really want to make it public?)

` twine upload dist/* `

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

plico-0.13-py2.py3-none-any.whl (40.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file plico-0.13-py2.py3-none-any.whl.

File metadata

  • Download URL: plico-0.13-py2.py3-none-any.whl
  • Upload date:
  • Size: 40.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/38.4.0 requests-toolbelt/0.8.0 tqdm/4.23.2 CPython/3.6.4

File hashes

Hashes for plico-0.13-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2dec0e96258918d00a60e5733841adf6422710ac05834d17b8f77e3575a16124
MD5 2174e4e67dd21bfc82c39056c8f111a0
BLAKE2b-256 93ac304aa0f1b54b7326158b3f4e7d1b0bf1d634f3d526c0ac0672d6899a51a8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page