Skip to main content

A python interface to query sw.docking.org for Enamine structures based on Matteo Ferla work. This is the old interface that uses two interations (hit lists) to get results.

Project description

smallworld_api2.1

Rewritten version of Matteo Ferla's unofficial python API to SmallWorld (https://github.com/matteoferla/Python_SmallWorld_API)

Please make sure you are allowed to use this interface in the same way that you'd do for Matteo Ferla's API. It interacts with https://sw.docking.org/.

Updates:

  • Callback-driven requests
  • Threading for handling volume search
  • Default 3-attempt retry strategy to tackle the random HTTP 502

This version is not thread safe. Only one process can use this class at a time.

with Enamine() as enamine:
    mols = enamine.search_smiles(
        ['O=C(C)Oc1ccccc1C(=O)O', 'C=C(Cl)CNC(=O)C1(CC)CCC1'], 
        remove_duplicates=True)
    print(mols)

Please note that https://sw.docking.org/ now provides a new REST API which should be usd instead. This version should be updated to it. The new interface sends results using a single query (instead of two that we use here with the Hit List IDs), and also alows querying multiple Smiles in one go.

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

pyDockingOrg-1.0.4.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

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

pyDockingOrg-1.0.4-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

Details for the file pyDockingOrg-1.0.4.tar.gz.

File metadata

  • Download URL: pyDockingOrg-1.0.4.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for pyDockingOrg-1.0.4.tar.gz
Algorithm Hash digest
SHA256 06e5e5d123af0ecdf1190db0ed39d6068b57ebbcb409bee9485a2a3b8686cbdf
MD5 90036908950095aa5424e3f0ef963eb7
BLAKE2b-256 9c2cc44f41afb2be8e49b14d5de73810e58c6f05f60502803b1f6af18316f7a1

See more details on using hashes here.

File details

Details for the file pyDockingOrg-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: pyDockingOrg-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 13.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for pyDockingOrg-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ce107af6539c0112975cff92feaadbbcff9cfe6ac9cf9f6f5118ddccc9717026
MD5 d0e52ad0642a411712b9cb420cae639f
BLAKE2b-256 e41195ec63bf161ec07b73e1cfa323d637e7cf0b06f85b9d96cc8b2faec96031

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