Welcome to nxstools’s documentation!
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 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
Release files for nxstools 4.65.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nxstools-4.65.0.tar.gz | 1.1 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nxstools-4.65.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.5 MB
Release files / nxstools-4.65.0.tar.gz
| Download URL | nxstools-4.65.0.tar.gz |
|---|---|
| Size | 1.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b47de28a517ab51ca2b07d93cf6844b0048b2ec2047e0733cf0bc3957e9ef34d
|
|
BLAKE2b-256 checksum How to use checksums |
28870c2fed6d594e52e7f0fe4f5bebc61767d2a8261feefcd71b041ead65a137
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|
Release files / nxstools-4.65.0-py3-none-any.whl
| Download URL | nxstools-4.65.0-py3-none-any.whl |
|---|---|
| Size | 382.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d6ac3c8b0132e19e23685fb58bceb684e5e0283ea740ef97a59b1da5a9a2fa3f
|
|
BLAKE2b-256 checksum How to use checksums |
db1f59e13dbc65fb5dca0f0a9da0f1f94f3a5deec1166cdfb8f024505df2f5a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|