Skip to main content

3D Molecular viewer in the terminal

Project description

About Timol

Timol is a molecular visualiser inside of the terminal. It relies on ASE to read a molecular file (e.g. xyz) and displays it within a Textual app. Timol_example

Installation

Timol is installable via pip (see PyPI page) using pip install timol. The minimum python version is 3.9.

Usage

In order to visualise a file of interest, simply call timol <file_path>. An optional argument (-i) can be provided to index the file in case only specific frames are of interest (note that this can also be done from within the app using the i hotkey). This is particularly recommended for large (xyz) files to prevent excessive loading times.

In order to test the app without a molecular file at hand, use timol test.

Note that the first time timol is launched, longer loading times are expected to initialise the package.

Functionalities

Timol provides a set of tools to conveniently manipulate the camera and more:

  • Help: Press h to view available hotkeys from within the app
  • Rotate/tilt: Drag the mouse or press a/d and w/s
  • Spin: Press z/x
  • Pan: Hold shift/alt and drag the mouse or press shift+a/d
  • Zoom: Scroll or press q/e
  • Change index/frame: Press sift+q/e or left/right (up/down) to go to the previous/next (or first/last) frame, press g to manually input the index

MacOS Disclaimer

The default MacOS terminal app does not play nice with Textual apps and might make the rendering choppy. For more information and a solution to some of the issues, see the Textual FAQ

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

timol-1.1.3.tar.gz (16.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

timol-1.1.3-py3-none-any.whl (19.7 kB view details)

Uploaded Python 3

File details

Details for the file timol-1.1.3.tar.gz.

File metadata

  • Download URL: timol-1.1.3.tar.gz
  • Upload date:
  • Size: 16.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for timol-1.1.3.tar.gz
Algorithm Hash digest
SHA256 c83309ffd5c21f579545364314dc423193d367e4e8ce57cb949132fc21219712
MD5 68dd549da4dfc3c49ce4224d94d767b6
BLAKE2b-256 7df5757c4c449a7f81cfe46e3447eb82044594b6db172b69548a0a130b479f39

See more details on using hashes here.

File details

Details for the file timol-1.1.3-py3-none-any.whl.

File metadata

  • Download URL: timol-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 19.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for timol-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 82b1e98959551ace52b154cb46d4486781bf0bff22b079183fe61e09db350c6a
MD5 46e53b9b49ee84a766625f4da3dc380c
BLAKE2b-256 8328f068d8defcea9918e891792e3233cc093e3b56aa782b2cf8e2111a25b232

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page