Command-line tool to download compound structures from the IMPPAT database
Project description
IMPPAT Downloader
A command-line tool to download compound structures from the IMPPAT database in bulk.
Built for researchers, bioinformaticians, and cheminformatics enthusiasts who want quick access to phytochemical structure files.
Installation
Option 1: From source Clone this repo and install dependencies:
git clone https://github.com/Eswar-mse/imppat_downloader.git
cd imppat_downloader
pip install -e .
Option 2: From PyPI (when you publish)
pip install imppat_downloader
Usage
Run the tool from the command line:
imppat_downloader --start 1 --end 100 --delay 2
Options
--start → first compound ID (default: 1)
--end → last compound ID (default: 10)
--delay → delay between requests in seconds (default: 2)
--skip-existing → skip already-downloaded files
Example
Download compounds 1–50 with a 3-second delay:
imppat_downloader --start 1 --end 50 --delay 3
Output
- Each compound gets its own folder named by ID.
- Downloaded files include available structure formats (.sdf, .mol, .smi, etc.).
- A manifest.csv file tracks successes and failures with timestamps.
Requirements
Python 3.8 or higher Dependencies: requests, beautifulsoup4
License
This project is licensed under the Apache License 2.0 – see the LICENSE file for details.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file imppat_downloader-1.0.0.tar.gz.
File metadata
- Download URL: imppat_downloader-1.0.0.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de689e0793ba21286ac1d92cd24ebaa02f43d2b29538ab977a67757d2f00096e
|
|
| MD5 |
189c2fa25ab298f3ae8dc753b2525ec5
|
|
| BLAKE2b-256 |
07a8757cf9045bcdf44c44bb9cc09d1b1f25d47b5bc828432b33a744c3cd185e
|
File details
Details for the file imppat_downloader-1.0.0-py3-none-any.whl.
File metadata
- Download URL: imppat_downloader-1.0.0-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86aa34247288abe408780d40a2488967d237af8f9d1ada636a80a5e557e42b5e
|
|
| MD5 |
77deaa09d90b2ec7ae0a3858d820ef09
|
|
| BLAKE2b-256 |
43f5335b09bfd77d6cf1813e34674f5216deaa79473294139aff343a29fc8e54
|