Configuration tools for NeXDaTaS Tango Servers
Project description
Authors: Jan Kotanski
Introduction
Configuration tools for NeXDaTaS Tango Servers consists of the following command-line scripts:
nxscollect uploads external images into the NeXus/HDF5 file
nxsconfig reads NeXus Configuration Server settings
nxscreate creates NeXus Configuration components
nxsdata runs NeXus Data Writer
nxsfileinfo shows metadata of the NeXus/HDF5 file
nxsetup setups NeXDaTaS Tango Server environment
as well as the nxstools package which allows perform these operations directly from a python code.
Installation
Install the dependencies:
From sources
Download the latest NXS Tools version from
Extract sources and run
$ python3 setup.py install
Debian packages
Debian bookworm, bullseye, buster or Ubuntu oracluar, noble, jammy packages can be found in the HDRI repository.
To install the debian packages, add the PGP repository key
$ sudo su
$ curl -s http://repos.pni-hdri.de/debian_repo.pub.gpg | gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/debian-hdri-repo.gpg --import
$ chmod 644 /etc/apt/trusted.gpg.d/debian-hdri-repo.gpg
and then download the corresponding source list
$ cd /etc/apt/sources.list.d
$ wget http://repos.pni-hdri.de/bookworm-pni-hdri.list
To install nxstools scripts
$ apt-get update
$ apt-get install nxstools
or
$ apt-get update
$ apt-get install nxstools3
for older python3 releases.
To install only the python3 package
$ apt-get update
$ apt-get install python3-nxstools
and for python2
$ apt-get update
$ apt-get install python-nxstools
if exists.
From pip
To install it from pip you can
$ python3 -m venv myvenv
$ . myvenv/bin/activate
$ pip install nxstools
Moreover it is also good to install
$ pip install pytango
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file nxstools-4.18.0.tar.gz
.
File metadata
- Download URL: nxstools-4.18.0.tar.gz
- Upload date:
- Size: 1.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af36c86919f5048fa371454cab49ca186a2b004f3d11ba66e2c0b2ac75add6e4 |
|
MD5 | fce54dbe16bdde1f146be7296fc4c227 |
|
BLAKE2b-256 | f48d21978a04a1cd6953ece851337fdf92c723a7a13f32b8a198148286ff475d |
File details
Details for the file nxstools-4.18.0-py3-none-any.whl
.
File metadata
- Download URL: nxstools-4.18.0-py3-none-any.whl
- Upload date:
- Size: 303.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 340f12a4934697e11c9c66fa1e683dbb6727e7015b4b2158ba276940423c2ed6 |
|
MD5 | 3d79cf8d1f855c85e0b1502992fa0538 |
|
BLAKE2b-256 | 676a6d349806cfe5843d4c5ccca4eac7d064d7bb37a56b83c5f99f9e77c6406b |