Skip to main content

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:

pninexus or h5py, numpy, tango, sphinx

From sources

Download the latest NXS Tools version from

Extract sources and run

$ python3 setup.py install

Debian packages

Debian trixie, bookworm, bullseye or Ubuntu questing, 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/trixie-pni-hdri.sources

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

nxstools-4.49.0.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nxstools-4.49.0-py3-none-any.whl (366.4 kB view details)

Uploaded Python 3

File details

Details for the file nxstools-4.49.0.tar.gz.

File metadata

  • Download URL: nxstools-4.49.0.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for nxstools-4.49.0.tar.gz
Algorithm Hash digest
SHA256 181b7fc9e96d3507b7a16c86d1a0c2094447c26687d5aba972f1ecc2c33f4237
MD5 3c8355a8fa7757b36c3f1c67e670b3f4
BLAKE2b-256 72ec3bfe00729d90e5e0e163d36969e96bab2fdf7eec522f44cde97f2ac92e19

See more details on using hashes here.

File details

Details for the file nxstools-4.49.0-py3-none-any.whl.

File metadata

  • Download URL: nxstools-4.49.0-py3-none-any.whl
  • Upload date:
  • Size: 366.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for nxstools-4.49.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0cd0becb5547b55ef1d01f5d9da36a37edc9d40fd04de1859a8b26d1c91bbe86
MD5 9be8f78db2f3fc0ce5eb81c78ee08f74
BLAKE2b-256 bc236ea3902afc59aaf150640bc7710504ba52d27b593eb96537db4eff0898a3

See more details on using hashes here.

Supported by

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