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
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
Built Distribution
Hashes for pyDockingOrg-1.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce107af6539c0112975cff92feaadbbcff9cfe6ac9cf9f6f5118ddccc9717026 |
|
MD5 | d0e52ad0642a411712b9cb420cae639f |
|
BLAKE2b-256 | e41195ec63bf161ec07b73e1cfa323d637e7cf0b06f85b9d96cc8b2faec96031 |