Skip to main content

pinky - molecular fingerprint library

pinky is library for generating molecular fingerprints from SMILES strings.

pinky includes a fork of the SMILES parser and mol builder from frowns http://frowns.sourceforge.net/ originally written by Brian Kelley with contributions from Andrew Dalke.

This should be considered alpha software. The goal is to add more molecular fingerprint algorithms (currently only ECFP is supported). Also, would like to battle test the SMILES parser to provide a robust pure python SMILES parsing library.

Usage

from pinky.smiles import smilin
from pinky.fingerprints import ecfp

mol = smilin('CCCC(=O)N')
for atom in mol.atoms:
    print atom, atom.sumBondOrders()
for bond in mol.bonds:
    print bond.symbol, bond.bondorder, bond.bondtype, bond.fixed

# Compute ECFP_4 fingerprint
fp = ecfp(mol, radius=2)

License

See LICENSE file.

Metadata

Release files for pinky 0.0.3

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

Source distribution (sdist)

Source distribution for pinky 0.0.3
File Size Uploaded
pinky-0.0.3.tar.gz 35.3 kB Details

Built distribution (wheel)

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

Total release size: 87.6 kB

Release files / pinky-0.0.3.tar.gz

Download URL pinky-0.0.3.tar.gz
Size 35.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b6a8ebbdae04bfdb1240505ddfc660c03f312315d7f067eee19aea52766a85b5
BLAKE2b-256 checksum
How to use checksums
0b258fe73da4a07ffabc6ce801740da1880895ae11525dfdc522aa3704429fd5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.5.3

Release files / pinky-0.0.3-py3-none-any.whl

Download URL pinky-0.0.3-py3-none-any.whl
Size 52.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ef3d05a8ebe3b22cc5385106054f1dbc0fff5c18a3424b682ea8bd5ce838e233
BLAKE2b-256 checksum
How to use checksums
e3fc668816dd42b79e7a94dceb2fe48ec01ea68ce57c41adbd526531ce5d0826
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.5.3

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

1 release file

0.0.1

1 release file

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