Skip to main content

No project description provided

Project description

zincware PyPI version 'Threejs

ZnDraw

Install via pip install zndraw.

CLI

You can use ZnDraw with the CLI zndraw atoms.xyz. For a full list of arguments use zndraw --help.

To interface with zndraw --update-function module.function you need to be able to import via from module import function.

The ZnDraw function expects as inputs

  • atom_ids: list[int], the ids of the currently selected atoms
  • atoms: ase.Atoms, the configuration as ase.Atoms file where atom_ids where selected.

and as an output:

  • list[ase.Atoms], a list of ase Atoms objects to display.
def function(atom_ids: list[int], atoms: ase.Atoms) -> list[ase.Atoms]:
    ...

Alt text

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

zndraw-0.1.1.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

zndraw-0.1.1-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

Details for the file zndraw-0.1.1.tar.gz.

File metadata

  • Download URL: zndraw-0.1.1.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.10.8 Linux/5.19.0-38-generic

File hashes

Hashes for zndraw-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7a3e789ec507b2542b66c81914cec18bdcd51ca29679f790027258a3a84ef8df
MD5 3638017cb052b4fe1a116409cc678bc8
BLAKE2b-256 d81b339c6e958948be1b5ae80f79231218bffe7e15672d6d6d19cdcbfc8ac2be

See more details on using hashes here.

File details

Details for the file zndraw-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: zndraw-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 17.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.10.8 Linux/5.19.0-38-generic

File hashes

Hashes for zndraw-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5ac221ab7b59657e327c67954f7268fd3f5f7e7715861a634dc314d81778f5f0
MD5 3b88edabb994774e86a6010a814e84ca
BLAKE2b-256 2a20a5f916c2ceb3e3df3f90c5a375b91cc632338807faafd95b7f599aa204b6

See more details on using hashes here.

Supported by

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