.. image:: https://img.shields.io/pypi/v/pytemscript.svg
:target: https://pypi.python.org/pypi/pytemscript
:alt: PyPI release
.. image:: https://img.shields.io/pypi/l/pytemscript.svg
:target: https://pypi.python.org/pypi/pytemscript
:alt: License
.. image:: https://img.shields.io/pypi/pyversions/pytemscript.svg
:target: https://pypi.python.org/pypi/pytemscript
:alt: Supported Python versions
.. image:: https://img.shields.io/pypi/dm/pytemscript
:target: https://pypi.python.org/pypi/pytemscript
:alt: Downloads
The ``pytemscript`` package provides a Python wrapper for both standard and advanced scripting
interfaces of Thermo Fisher Scientific and FEI microscopes. The functionality is
limited to the functionality of the original scripting interfaces. For detailed information
about TEM scripting see the documentation accompanying your microscope.
Within the ``pytemscript`` package two implementations for the high level microscope interface are provided:
one for running scripts directly on the microscope PC and one to run scripts remotely over network (not yet available).
Currently the ``pytemscript`` package requires Python 3.4 or higher. The current plan is to keep the minimum
supported Python version at 3.4, since this is the latest Python version supporting Windows XP.
This is a GPL fork of the original BSD-licensed project: https://github.com/niermann/temscript
New changes and this whole product is distributed under either version 3 of the GPL License, or
(at your option) any later version.
Documentation
-------------
The documentation can be found at https://pytemscript.readthedocs.io or locally in the docs/ direcory.
Installation
------------
.. warning:: The project is still in development phase, no beta version has been released yet. Installing from sources is recommended.
Requirements:
* python >= 3.4
* comtypes
* mrcfile
* pillow
* numpy
Installation from PyPI on Windows
#################################
This assumes you have connection to the internet.
Execute from the command line (assuming you have your Python interpreter in the path):
.. code-block:: python
py -m pip install --upgrade pip
py -m pip install pytemscript
Offline-Installation from wheels file on Windows
################################################
This assumes you have downloaded the wheels file <downloaded-wheels-file>.whl for temscript and comtypes into the current folder.
Execute from the command line (assuming you have your Python interpreter in the path):
.. code-block:: python
py -m pip install comtypes mrcfile pillow numpy pytemscript --no-index --find-links .
If you want to install pytemscript from sources (you still need to download comtypes \*.whl):
.. code-block:: python
py -m pip install comtypes mrcfile pillow numpy --no-index --find-links .
py -m pip install -e <source_directory>
Supported functions of the COM interface
----------------------------------------
Relative to TEM V1.9 standard scripting adapter:
* Acquisition
* ApertureMechanismCollection (untested)
* AutoLoader
* BlankerShutter
* Camera
* Configuration
* Gun
* Gun1 (untested)
* Illumination
* InstrumentModeControl
* Projection
* Stage
* TemperatureControl
* UserButtons (only local client)
* Vacuum
Relative to TEM V1.2 advanced scripting adapter:
* Acquisitions
* Autoloader
* EnergyFilter (untested)
* Phaseplate
* PiezoStage (untested)
* Source (untested)
* TemperatureControl
* UserDoorHatch (untested)
Disclaimer
----------
Copyright (c) 2012-2021 by Tore Niermann
Contact: tore.niermann (at) tu-berlin.de
Copyright (c) 2022-2025 by Grigory Sharov
Contact: gsharov (at) mrc-lmb.cam.ac.uk
All product and company names are trademarks or registered trademarks
of their respective holders. Use of them does not imply any affiliation
with or endorsement by them.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
Raw data
{
"_id": null,
"home_page": "https://github.com/azazellochg/pytemscript",
"name": "pytemscript",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.4",
"maintainer_email": null,
"keywords": "TEM python",
"author": "Tore Niermann, Grigory Sharov",
"author_email": "tore.niermann@tu-berlin.de, gsharov@mrc-lmb.cam.ac.uk",
"download_url": "https://files.pythonhosted.org/packages/a1/71/3bb97834300f44aaac32820a8b93d5084565ef75638aa4f42fa5529d3d49/pytemscript-3.0a10.tar.gz",
"platform": "any",
"description": ".. image:: https://img.shields.io/pypi/v/pytemscript.svg\n :target: https://pypi.python.org/pypi/pytemscript\n :alt: PyPI release\n\n.. image:: https://img.shields.io/pypi/l/pytemscript.svg\n :target: https://pypi.python.org/pypi/pytemscript\n :alt: License\n\n.. image:: https://img.shields.io/pypi/pyversions/pytemscript.svg\n :target: https://pypi.python.org/pypi/pytemscript\n :alt: Supported Python versions\n\n.. image:: https://img.shields.io/pypi/dm/pytemscript\n :target: https://pypi.python.org/pypi/pytemscript\n :alt: Downloads\n\n\nThe ``pytemscript`` package provides a Python wrapper for both standard and advanced scripting\ninterfaces of Thermo Fisher Scientific and FEI microscopes. The functionality is\nlimited to the functionality of the original scripting interfaces. For detailed information\nabout TEM scripting see the documentation accompanying your microscope.\n\nWithin the ``pytemscript`` package two implementations for the high level microscope interface are provided:\none for running scripts directly on the microscope PC and one to run scripts remotely over network (not yet available).\n\nCurrently the ``pytemscript`` package requires Python 3.4 or higher. The current plan is to keep the minimum\nsupported Python version at 3.4, since this is the latest Python version supporting Windows XP.\n\nThis is a GPL fork of the original BSD-licensed project: https://github.com/niermann/temscript\nNew changes and this whole product is distributed under either version 3 of the GPL License, or\n(at your option) any later version.\n\nDocumentation\n-------------\n\nThe documentation can be found at https://pytemscript.readthedocs.io or locally in the docs/ direcory.\n\nInstallation\n------------\n\n.. warning:: The project is still in development phase, no beta version has been released yet. Installing from sources is recommended.\n\nRequirements:\n\n * python >= 3.4\n * comtypes\n * mrcfile\n * pillow\n * numpy\n\nInstallation from PyPI on Windows\n#################################\n\nThis assumes you have connection to the internet.\n\nExecute from the command line (assuming you have your Python interpreter in the path):\n\n.. code-block:: python\n\n py -m pip install --upgrade pip\n py -m pip install pytemscript\n\nOffline-Installation from wheels file on Windows\n################################################\n\nThis assumes you have downloaded the wheels file <downloaded-wheels-file>.whl for temscript and comtypes into the current folder.\n\nExecute from the command line (assuming you have your Python interpreter in the path):\n\n.. code-block:: python\n\n py -m pip install comtypes mrcfile pillow numpy pytemscript --no-index --find-links .\n\nIf you want to install pytemscript from sources (you still need to download comtypes \\*.whl):\n\n.. code-block:: python\n\n py -m pip install comtypes mrcfile pillow numpy --no-index --find-links .\n py -m pip install -e <source_directory>\n\nSupported functions of the COM interface\n----------------------------------------\n\nRelative to TEM V1.9 standard scripting adapter:\n\n * Acquisition\n * ApertureMechanismCollection (untested)\n * AutoLoader\n * BlankerShutter\n * Camera\n * Configuration\n * Gun\n * Gun1 (untested)\n * Illumination\n * InstrumentModeControl\n * Projection\n * Stage\n * TemperatureControl\n * UserButtons (only local client)\n * Vacuum\n\nRelative to TEM V1.2 advanced scripting adapter:\n\n * Acquisitions\n * Autoloader\n * EnergyFilter (untested)\n * Phaseplate\n * PiezoStage (untested)\n * Source (untested)\n * TemperatureControl\n * UserDoorHatch (untested)\n\n\nDisclaimer\n----------\n\nCopyright (c) 2012-2021 by Tore Niermann\nContact: tore.niermann (at) tu-berlin.de\n\nCopyright (c) 2022-2025 by Grigory Sharov\nContact: gsharov (at) mrc-lmb.cam.ac.uk\n\nAll product and company names are trademarks or registered trademarks\nof their respective holders. Use of them does not imply any affiliation\nwith or endorsement by them.\n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n",
"bugtrack_url": null,
"license": "GNU General Public License v3 (GPLv3)",
"summary": "TEM Scripting adapter for FEI/TFS microscopes",
"version": "3.0a10",
"project_urls": {
"Documentation": "https://pytemscript.readthedocs.io/",
"Homepage": "https://github.com/azazellochg/pytemscript",
"Source": "https://github.com/azazellochg/pytemscript"
},
"split_keywords": [
"tem",
"python"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "16306a8632dadac73b41496c0d6171aba54711b52dd1c3d52e043be129bca5ec",
"md5": "00862124269dfba0332e8274debc3c3e",
"sha256": "b738848fb3f3396bf834369676d0e7e4d6e2b11a2d6e5eb995d27d31a2ebcdc2"
},
"downloads": -1,
"filename": "pytemscript-3.0a10-py3-none-any.whl",
"has_sig": false,
"md5_digest": "00862124269dfba0332e8274debc3c3e",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.4",
"size": 18524,
"upload_time": "2025-02-21T11:44:57",
"upload_time_iso_8601": "2025-02-21T11:44:57.040335Z",
"url": "https://files.pythonhosted.org/packages/16/30/6a8632dadac73b41496c0d6171aba54711b52dd1c3d52e043be129bca5ec/pytemscript-3.0a10-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "a1713bb97834300f44aaac32820a8b93d5084565ef75638aa4f42fa5529d3d49",
"md5": "57818d576ec1b3192f81b9514e3abe51",
"sha256": "39daa79506f3bae72fa671dbcfe0c6dcddf997ee672f2332b7407d997bb4140e"
},
"downloads": -1,
"filename": "pytemscript-3.0a10.tar.gz",
"has_sig": false,
"md5_digest": "57818d576ec1b3192f81b9514e3abe51",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.4",
"size": 30307,
"upload_time": "2025-02-21T11:44:58",
"upload_time_iso_8601": "2025-02-21T11:44:58.083575Z",
"url": "https://files.pythonhosted.org/packages/a1/71/3bb97834300f44aaac32820a8b93d5084565ef75638aa4f42fa5529d3d49/pytemscript-3.0a10.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-02-21 11:44:58",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "azazellochg",
"github_project": "pytemscript",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "comtypes",
"specs": [
[
">=",
"1.1.13"
]
]
},
{
"name": "mrcfile",
"specs": []
},
{
"name": "numpy",
"specs": []
},
{
"name": "pillow",
"specs": []
}
],
"lcname": "pytemscript"
}