Skip to main content
maintainers:

lukasturcani, andrewtarzia

documentation:

https://stk.readthedocs.io

discord:

https://discord.gg/zbCUzuxe2B

docs/source/_static/stk.png
https://github.com/lukasturcani/stk/actions/workflows/tests.yml/badge.svg?branch=master https://readthedocs.org/projects/stk/badge/?version=latest

Overview

stk is a Python library which allows construction and manipulation of complex molecules, as well as automatic molecular design, and the creation of molecular, and molecular property, databases. The documentation of stk is available on https://stk.readthedocs.io and the project’s Discord server can be joined through https://discord.gg/zbCUzuxe2B.

Installation

To get stk, you can install it with pip:

pip install stk

If you would like to get updated when a new release of stk comes out, which happens pretty regularly, click on the watch button on the top right corner of the GitHub page. Then select Releases only from the dropdown menu.

You can see the latest releases here:

https://github.com/lukasturcani/stk/releases

There will be a corresponding release on pip for each release on GitHub, and you can update your stk with:

pip install stk --upgrade

Warning:

SMILES strings generated with stk version v2025.07.17.0 or sooner (using rdkit version 2024.9.1 or sooner) will be different than newer versions due to a change in handling the valence of organic atoms bound to metals. Details can be found in the rdkit release notes 2025_03_1. No changes occur in stk construction. An example change in SMILES: CCCO->[Fe+2] becomes CCC[OH]->[Fe+2].

Developer Setup

  1. Install just.

  2. Install uv.

  3. In the source directory, run:

just setup
  1. Setup the MongoDB container (make sure docker is installed):

just mongo
  1. Run code checks:

just check

How To Cite

If you use stk please cite

https://github.com/lukasturcani/stk

and

https://aip.scitation.org/doi/10.1063/5.0049708

Publications

about stk

using stk

Acknowledgements

I began developing this code when I was working in the Jelfs group, http://www.jelfs-group.org/, whose members often provide me with very valuable feedback, which I gratefully acknowledge.

Metadata

Release files for stk 2026.1.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stk 2026.1.4.0
File Size Uploaded
stk-2026.1.4.0.tar.gz 1.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for stk 2026.1.4.0
File Interpreter ABI Platform
stk-2026.1.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 1.8 MB

Release files / stk-2026.1.4.0.tar.gz

Download URL stk-2026.1.4.0.tar.gz
Size 1.4 MB
Tags Source
SHA-256 checksum
How to use checksums
d9b4e16adeaf6d01d7189b7b8fb754f8ec5f8ad83db484ccabef2f6a8bbaa0ad
BLAKE2b-256 checksum
How to use checksums
d0f3f7b71dd64a702e33ecc563c66a9411750507f61289442315602c35e04fc8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / stk-2026.1.4.0-py3-none-any.whl

Download URL stk-2026.1.4.0-py3-none-any.whl
Size 402.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6ef651bccbbe35ed0e9897b4598297857b5d7c5d12f06de14aa3f38473bce602
BLAKE2b-256 checksum
How to use checksums
022b552509266d798149b5ad238f8a41ea072c4f3b4e0a4f0f325a099558e2c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

2026.1.4.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page