The Selector library provides methods for selecting a diverse subset of a (molecular) dataset.
Citation
Please use the following citation in any publication using the selector library:
@article{selector_library,
author = {Meng, Fanwang and Martínez González, Marco and Chuiko, Valerii and Tehrani, Alireza and Al Nabulsi, Abdul Rahman and Broscius, Abigail and Khaleel, Hasan and López-P{\'e}rez, Kenneth and Miranda-Quintana, Ramón Alain and Ayers, Paul W. and Heidar-Zadeh, Farnaz},
title = {Selector: A General Python Library for Diverse Subset Selection},
journal = {Journal of Chemical Information and Modeling},
volume = {0},
number = {0},
pages = {null},
year = {0},
doi = {10.1021/acs.jcim.5c01499},
note ={PMID: 41591801},
URL = {https://doi.org/10.1021/acs.jcim.5c01499}
}
Web Server
We have a web server for the selector library at https://huggingface.co/spaces/QCDevs/Selector.
For small and prototype datasets, you can use the web server to select a diverse subset of your
dataset and compute the diversity metrics, where you can download the selected subset and the
computed diversity metrics.
Installation
It is recommended to install selector within a virtual environment. To create a virtual
environment, we can use the venv module (Python 3.9+,
https://docs.python.org/3/tutorial/venv.html), miniconda (https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html), or
pipenv (https://pipenv.pypa.io/en/latest/).
Installing from PyPI
To install selector with pip, we can install the latest stable release from the Python Package Index (PyPI) as follows:
# install the stable release
pip install qc-selector
Installing from The Prebuild Wheel Files
To download the prebuilt wheel files, visit the PyPI page and GitHub releases.
# download the wheel file first to your local machine
# then install the wheel file
pip install file_path/qc_selector-0.1.0-py3-none-any.whl
Installing from the Source Code
In addition, we can install the latest development version from the GitHub repository as follows:
# install the latest development version
pip install git+https://github.com/theochem/Selector.git
We can also clone the repository to access the latest development version, test it and install it as follows:
# clone the repository
git clone git@github.com:theochem/Selector.git
# change into the working directory
cd Selector
# run the tests
python -m pytest .
# install the package
pip install .
More
See https://selector.qcdevs.org for full details.
Metadata
Release files for qc-selector 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| qc_selector-0.1.4.tar.gz | 121.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| qc_selector-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 226.9 kB
Release files / qc_selector-0.1.4.tar.gz
| Download URL | qc_selector-0.1.4.tar.gz |
|---|---|
| Size | 121.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2e9e875a729e586a5f8137995837ca7a80a79b214cfcd55493cdd00c5546e34b
|
|
BLAKE2b-256 checksum How to use checksums |
f935484c3cde04cad5e98a89bbcbbb11cac9ad04cf7f54034260a588b0bb40d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 3, 2026.
Transparency logRelease files / qc_selector-0.1.4-py3-none-any.whl
| Download URL | qc_selector-0.1.4-py3-none-any.whl |
|---|---|
| Size | 105.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d9fb462937b23d37b2ca217558d95ba56f71df5aa9cd7b8599fa3545e2288aac
|
|
BLAKE2b-256 checksum How to use checksums |
b1bba0620d7a173e3c218bdaf22f0078ad1ffd299fa4dbed5875f3319b5c23ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 3, 2026.
Transparency log