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.12.

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 g hotkey).

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

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: Drag the mouse or press a/d and w/s
  • Pan: Hold shift and drag the mouse or press shift+a/d
  • Zoom: Scroll or press shift+w/s
  • Change index/frame: Press q/e (or shift+q/e) 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.0.0.tar.gz (50.0 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.0.0-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for timol-1.0.0.tar.gz
Algorithm Hash digest
SHA256 712164a2665eccf9ad921401b17b7b5c351479c194b6584c062c5d1ec9717bbc
MD5 1023b2f917a7983c288fca9b1b21af13
BLAKE2b-256 e2da0c4be5f215d3474dfe9c0755cdf353c756d73aca585ae98e275fcc701c00

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for timol-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 829694c11960a7bc5200a17d92e76a68e962d83994effa86b508686b8f539914
MD5 f14da6dc2be919d71c50256726ec0b1d
BLAKE2b-256 7c7dd715ebf1df26e429bbb9b8367b992b392c8e9142e79311989163e020b598

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