Skip to main content

Welcome to NeXuS Configuration Server Database’s documentation!

Authors: Jan Kotanski, Eugen Wintersberger, Halil Pasic

The package contains SQL files to create the MySQL database for Configuration Server.

NeXuS Configuration Server is a Tango Server with its implementation based on a MySQL database. It allows to store XML configuration datasources and components. It also gives possibility to select mandatory components and perform the process of component merging.

Installation

Install the dependencies:

MySQLdb, PyTango, sphinx

From sources

Download the latest version of NeXuS Configuration Server from

Extract the sources and run for both packages

$ python setup.py install

To set database execute

$ mysql < conf/mysql_create.sql

with proper privileges.

Debian packages

Debian Bookworm, Bullseye, Buster as well as Plucky, Noble, Jammy packages can be found in the HDRI repository.

To install the debian packages, add the PGP repository key

$ sudo su
$ curl -s https://repos.desy.de/pni-hdri/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 https://repos.desy.de/pni-hdri/bookworm-pni-hdri.sources

or

$ cd /etc/apt/sources.list.d
$ wget https://repos.desy.de/pni-hdri/noble-pni-hdri.list

Finally,

$ apt-get update
$ apt-get install python3-nxsconfigserver nxsconfigserver-db

To instal other NexDaTaS packages

$ apt-get install python3-nxswriter nxsconfigtool nxstools

and

$ apt-get install python3-nxsrecselector nxselector python3-sardana-nxsrecorder

for Component Selector and Sardana related packages.

From pip

To install it from pip you can

$ python3 -m venv myvenv
$ . myvenv/bin/activate

$ pip install nxsconfigserver-db

Moreover it is also good to install mysql to be able to execute

$ mysql < conf/mysql_create.sql

where mysql_create.sql is installed in myvenv/share/nxsconfigserver

Setting NeXus Configuration Server

To set up NeXus Configuration Server with the default configuration run

$ nxsetup -x NXSConfigServer

The nxsetup command comes from the python3-nxstools package. It starts the NeXus Configuration Server and tries to find a proper value of the JSONSettings attribute.

Metadata

Release files for nxsconfigserver-db 1.12.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nxsconfigserver-db 1.12.0
File Size Uploaded Provenance Actions
nxsconfigserver_db-1.12.0.tar.gz 26.8 kB Without provenance Details for nxsconfigserver_db-1.12.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nxsconfigserver-db 1.12.0
File Interpreter ABI Platform Actions
nxsconfigserver_db-1.12.0-py3-none-any.whl Python 3 none any Details for nxsconfigserver_db-1.12.0-py3-none-any.whl

Total release size: 39.6 kB

Release files / nxsconfigserver_db-1.12.0.tar.gz

Download URL nxsconfigserver_db-1.12.0.tar.gz
Size 26.8 kB
Tags Source
SHA-256 checksum
How to use checksums
13b28d4b64c92b9d7f1b4d14e2aa1e61a95ddb696e40c8521b2819c934199efb
BLAKE2b-256 checksum
How to use checksums
9065a039d946a042113e100dcdccff531a65dc8e153edd5fe4744f15790fd6d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release files / nxsconfigserver_db-1.12.0-py3-none-any.whl

Download URL nxsconfigserver_db-1.12.0-py3-none-any.whl
Size 12.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9efe7a93069f72da741207940cbd0a65231ac85c1579943ccee44a163a9d57c3
BLAKE2b-256 checksum
How to use checksums
1fa5388ff8a7534777c56ef46e2897187a28e00452e67ee4573c1a85e433e567
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Security for nxsconfigserver-db 1.12.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page