Skip to main content

A Python package for data science and cheminformatics utilities.

Project description

Small Tricks / Reusable Scripts

codecov Documentation Status PyPI version CI

Include general rules, tips, tricks, tools and others for my daily use.

Getting Started with stpy

Welcome to the stpy package! This package is aimed to help in your data science and cheminformatics projects.

Installation

You can install stpy using pip. Run the following command in your terminal:

pip install stpy

This will install the latest version of stpy along with its dependencies.

Basic Usage

Once you have installed stpy, you can start using it in your Python scripts or Jupyter notebooks. Here is a simple example of how to use some of the utilities provided by stpy:

from stpy.utils import canonicalize_smiles

smiles = "C1=CC=CC=C1"  # Benzene
canonical_smiles = canonicalize_smiles(smiles)
print(f"Canonical SMILES: {canonical_smiles}")

This code imports the canonicalize_smiles function from the stpy.utils module, canonicalizes a SMILES string for benzene, and prints the result.

For more detailed information on the various modules and functions available in stpy, please refer to the full documentation: stpy Documentation. You will find comprehensive guides, API references, and examples to help you make the most of stpy.

Support

If you encounter any issues or have questions about using stpy, feel free to reach out or open an issue for assistance.

We hope you find stpy useful for your projects! Happy coding!

For developers/maintainers

After updating your virtual environment, update the requirements.txt and env.yaml accordingly.

  • pip list --format=freeze > requirements.txt
  • conda env export > env.yaml

Copyright

Copyright (c) 2026, Lihua Deng

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

stpy-0.1.2.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

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

stpy-0.1.2-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

Details for the file stpy-0.1.2.tar.gz.

File metadata

  • Download URL: stpy-0.1.2.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for stpy-0.1.2.tar.gz
Algorithm Hash digest
SHA256 25becf93ca0e0d45064c73c04e8fa75a93a69d2959d610064b24e522826292de
MD5 675b862b63ccd86f89c4e377c8827067
BLAKE2b-256 ccdb39d4c7002df59ec94fa4970056f1bf82ac7ba6910983add87e1853cab800

See more details on using hashes here.

File details

Details for the file stpy-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: stpy-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 13.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for stpy-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 28c4f47f44ea0a3586f9a681cb69645941757051780bae653ebec40e01ba4a96
MD5 a89675e67f0cc4d797c053fa5877cf96
BLAKE2b-256 a37aad44c3a16e4bed61bb8fa278016531d97bb4e0ada8822a4e243033a4aa1d

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