This release is a pre-release and may not be stable for production use.
genie_python
The ISIS Python-based instrument control and scripting library.
Instrument initialisation
By default when setting an instrument the init_default.py file is loaded. This file checks for the existence of a folder called C:\Instrument\Settings\config\NDX%INSTNAME%\Python and adds this to the sys path if it does. If this path exists and contains a file called init_%INSTNAME%.py, it will load it too.
On the NDX any files in C:\Instrument\Settings\config\NDX%INSTNAME%\Python can be added to SVN for safe keeping.
Python modules can be imported directly from the C:\Instrument\Settings\config\NDX%INSTNAME%\Python directory. If running on a client it is necessary to have a copy of the Python directory for the instrument being connected to in the correct location.
Folders inside the Python directory must have a __init__.py file for them to be available to be imported.
Start-up
The line "from genie_python import *" in genie_startup is responsible for loading all the genie_python stuff! This file also contains code for disabling quickedit and for making genie_python guess the instrument name.
As genie_python is running inside IPython we use c.TerminalIPythonApp.exec_files to run genie_start.py, so everything is imported correctly.
Metadata
Release files for genie-python 15.1.0rc1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| genie_python-15.1.0rc1.tar.gz | 159.3 kB | With provenance | Details for genie_python-15.1.0rc1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| genie_python-15.1.0rc1-py3-none-any.whl | Python 3 | none | any | Details for genie_python-15.1.0rc1-py3-none-any.whl |
Total release size: 287.4 kB
Release files / genie_python-15.1.0rc1.tar.gz
| Download URL | genie_python-15.1.0rc1.tar.gz |
|---|---|
| Size | 159.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5fef8eab27bcb54790c10eb68b66ef74b2a02e90c5c5031e6ad9860cad66be7a
|
|
BLAKE2b-256 checksum How to use checksums |
50bc07d2ecdb33100a26b9fbca4dc47585d06cd0c96c97084e6d69ccf3a5a2d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 16, 2024.
Transparency logRelease files / genie_python-15.1.0rc1-py3-none-any.whl
| Download URL | genie_python-15.1.0rc1-py3-none-any.whl |
|---|---|
| Size | 128.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f8cdfad77422d012acb29495df77cc645c2eaf0363cbf48df89e1e1c03193f68
|
|
BLAKE2b-256 checksum How to use checksums |
5ed24c0e5ab2f5fac31beb858c6de1fc8d3363647018646913cf4e72d682549b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 16, 2024.
Transparency logSecurity for genie-python 15.1.0rc1
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for genie_python-15.1.0rc1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 16, 2024.
Transparency logA 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.