{"id":27007209,"url":"https://github.com/nexdatas/nxsmacrogui","last_synced_at":"2025-04-04T08:19:00.815Z","repository":{"id":31645371,"uuid":"35210640","full_name":"nexdatas/nxsmacrogui","owner":"nexdatas","description":"TaurusGui configuration for Component Selector GUI","archived":false,"fork":false,"pushed_at":"2024-11-07T10:01:06.000Z","size":2127,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"develop","last_synced_at":"2024-11-07T11:18:06.097Z","etag":null,"topics":["nexusformat","pyqt","sardana","taurus"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nexdatas.png","metadata":{"files":{"readme":"README.rst","changelog":"ChangeLog","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-05-07T09:18:39.000Z","updated_at":"2024-11-07T10:01:10.000Z","dependencies_parsed_at":"2024-06-06T12:06:22.203Z","dependency_job_id":"e6e763c7-313b-4180-82e1-1cb4690d487f","html_url":"https://github.com/nexdatas/nxsmacrogui","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nexdatas%2Fnxsmacrogui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nexdatas%2Fnxsmacrogui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nexdatas%2Fnxsmacrogui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nexdatas%2Fnxsmacrogui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nexdatas","download_url":"https://codeload.github.com/nexdatas/nxsmacrogui/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247142061,"owners_count":20890653,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["nexusformat","pyqt","sardana","taurus"],"created_at":"2025-04-04T08:19:00.125Z","updated_at":"2025-04-04T08:19:00.754Z","avatar_url":"https://github.com/nexdatas.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"Welcome to nxstaurusgui's documentation!\n========================================\n\n\n|github workflow|\n|docs|\n|Pypi Version|\n|Python Versions|\n\n.. |github workflow| image:: https://github.com/nexdatas/nxsmacrogui/actions/workflows/tests.yml/badge.svg\n   :target: https://github.com/nexdatas/nxsmacrogui/actions\n   :alt:\n\n.. |docs| image:: https://img.shields.io/badge/Documentation-webpages-ADD8E6.svg\n   :target: https://nexdatas.github.io/nxsmacrogui/index.html\n   :alt:\n\n.. |Pypi Version| image:: https://img.shields.io/pypi/v/nxstaurusgui.svg\n                  :target: https://pypi.python.org/pypi/nxstaurusgui\n                  :alt:\n\n.. |Python Versions| image:: https://img.shields.io/pypi/pyversions/nxstaurusgui.svg\n                     :target: https://pypi.python.org/pypi/nxstaurusgui/\n                     :alt:\n\n\n\nAuthors: Jan Kotanski\n\nNXS MacroGUI is taurus gui Configuration for Component Selector\n\n.. figure:: png/nxstaurusgui.png\n   :alt: NeXus Taurus GUI\n\n\n| Source code: https://github.com/nexdatas/nxsmacrogui/\n| Web page: https://nexdatas.github.io/nxsmacrogui/\n| NexDaTaS Web page: https://nexdatas.github.io\n\n\n\n------------\nInstallation\n------------\n\nInstall the dependencies:\n\n|    Sardana, PyTango, sphinx, Taurus, NXSRecSelector, Selector\n\nFrom sources\n^^^^^^^^^^^^\n\nDownload the latest version of NeXuS Configuration Server from\n\n|    https://github.com/nexdatas/nxsmacrogui/\n\nExtract the sources and run\n\n.. code-block:: console\n\n\t  $ python3 setup.py install\n\nDebian packages\n^^^^^^^^^^^^^^^\n\nDebian Bookworm, Bullseye, Buster and  Ubuntu Oracular, Lunar, Jammy  packages can be found in the HDRI repository.\n\nTo install the debian packages, add the PGP repository key\n\n.. code-block:: console\n\n\t  $ sudo su\n\t  $ wget -q -O - http://repos.pni-hdri.de/debian_repo.pub.gpg | apt-key add -\n\nand then download the corresponding source list\n\n.. code-block:: console\n\n\t  $ cd /etc/apt/sources.list.d\n\t  $ wget http://repos.pni-hdri.de/bookworm-pni-hdri.list\n\nFinally,\n\n.. code-block:: console\n\n\t  $ apt-get update\n\t  $ apt-get install python3-nxsrecselector nxselector nxstaurusgui\n\nTo instal other NexDaTaS packages\n\n.. code-block:: console\n\n\t  $ apt-get install python-nxswriter nxsconfigtool nxstools python-nxsconfigserver nxsconfigserver-db\n\nand\n\n.. code-block:: console\n\n\t  $ apt-get install python3-sardana-nxsrecorder\n\nfor NeXus recorder.\n\nFrom pip\n^^^^^^^^\n\nTo install it from pip you need also to install pyqt5, e.g.\n\n.. code-block:: console\n\n   $ python3 -m venv myvenv\n   $ . myvenv/bin/activate\n\n   $ pip install pyqt5\n\n   $ pip install sardana-nxsrecorder\n\nMoreover it is also good to install\n\n.. code-block:: console\n\n   $ pip install pytango\n   $ pip install sardana\n   $ pip install nxswriter\n   $ pip install nxsrecselector\n   $ pip install nxsconfigserver\n   $ pip install nxstools\n   $ pip install pymysqldb\n\n\n-------------------\nSetting environment\n-------------------\n\n\nSetting Saradna\n^^^^^^^^^^^^^^^\nIf sardana is not yet set up run\n\n\n.. code-block:: console\n\n\t  $ Pool\n\n- enter a new instance name\n- create the new instance\n\nThen wait a while until Pool is started and in a new terminal run\n\n.. code-block:: console\n\n\t  $ MacroServer\n\n- enter a new instance name\n- create the new instance\n- connect pool\n\nNext, run Astor and change start-up levels: for Pool to 2,\nfor MacroServer to 3 and restart servers.\n\nAlternatively, terminate Pool and MacroServer in the terminals and run\n\n.. code-block:: console\n\n          $ nxsetup start Pool -l2\n\nwait until Pool is started and run\n\n.. code-block:: console\n\n          $ nxsetup start MacroServer -l3\n\n\nAdditionally, one can create dummy devices by running `sar_demo` in\n\n.. code-block:: console\n\n\t  $ spock\n\n\n\nSetting NeXus Servers\n^^^^^^^^^^^^^^^^^^^^^\n\nTo set up  NeXus Servers run\n\n.. code-block:: console\n\n\t  $ nxsetup set\n\nor\n\n.. code-block:: console\n\n          $ nxsetup set NXSDataWriter\n          $ nxsetup set NXSConfigServer\n\t  $ nxsetup set NXSRecSelector\n\nfor specific servers.\n\nIf the `RecoderPath` property of MacroServer is not set one can do it by\n\n.. code-block:: console\n\n\t  $ nxsetup add-recorder-path  /usr/lib/python3/dist-packages/sardananxsrecorder\n\nwhere the path should point the `sardananxsrecorder` package.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnexdatas%2Fnxsmacrogui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnexdatas%2Fnxsmacrogui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnexdatas%2Fnxsmacrogui/lists"}