▶ Merge Web of Science + Scopus in Google Colab — nothing to install.
Open the notebook → run cell 1 → run cell 2 → pick your project.
A lightweight, terminal / Colab tool that merges Web of Science + Scopus exports into a single deduplicated dataset using BibexPy's Smart Merge algorithm (DOI-determinative deduplication).
It is the "just merge" companion to the full BibexPy app: same merge algorithm, no web UI, no API/ML enrichment — ideal for a quick run in Google Colab or a terminal, the way BibexPy v1 worked.
What it does: read raw WoS
.txt+ Scopus.csv→ merge & deduplicate → write a biblioshiny-readyMerged.xlsxand a VOSviewer / biblioshiny-readyMerged_Vos.txt. What it does NOT do: enrichment, APIs, filtering, harmonization, reporting. For those, use the full BibexPy app.
Records are matched in stages: negative rules → DOI exact → PMID exact →
Title+Year+Surname → Journal+Volume+Pages → borderline. DOI is
determinative — two records whose normalized DOIs differ are never the same
publication (no auto-merge, no false dedup). The one exception is a DOI that two
indexers wrote with different separators, such as jogh.12-05057 vs
JOGH.12.05057: that only lifts the veto — the DOI is not counted as evidence,
so the pair must still match on PMID, title + year + first author, or journal +
volume + pages. Candidate pairs are compared across neighbouring years, so a
record indexed a year apart (early access vs print) is still found. Field values are combined with
fixed per-field source preferences (e.g. abstract/authors from Scopus, citations
from Web of Science).
Uncertain pairs (title similarity 0.80–0.92) are kept separate and written
to Borderline_Uncertain.xlsx for you to review manually.
Cited references are normalized: Scopus-format references are rewritten
into Web of Science grammar (AUTHOR IN, YEAR, SOURCE, Vn, Pn) and WoS author
spellings are unified, so VOSviewer can match references across both sources
in citation, co-citation and bibliographic coupling networks. Missing NR
(reference counts) are filled in.
- Click the badge → the notebook opens in Colab.
- Run cell 1 (setup) and cell 2 (merge) — pick your project from the menu.
- Try the bundled Sample Project, or upload your own WoS
.txt+ Scopus.csvwith the optional cell, then run cell 2.
Results are saved under Workspace/<project>/Analysis_<timestamp>/.
git clone https://github.com/bcankara/BibexPy-Lite.git
cd BibexPy-Lite
pip install -r requirements.txt
python merge.pyPut your raw exports under Workspace/<Your Project>/Data/:
Workspace/
My Project/
Data/
savedrecs.txt # Web of Science plain-text export(s) — one or more
scopus.csv # Scopus CSV export(s) — one or more
Run python merge.py, pick your project from the numbered menu, and the
results are written to Workspace/My Project/Analysis_<timestamp>/:
| File | Description |
|---|---|
Merged.xlsx |
Final deduplicated dataset (includes SR / SR_FULL, so biblioshiny can import it directly). Starts with a UID column: a sequential record key 1..N, numbered like BibexPy 2.4 on the same input and assigned once per run |
Merged_Vos.txt |
WoS-tagged text for VOSviewer / biblioshiny |
Borderline_Uncertain.xlsx |
Uncertain pairs kept separate (review); wos_uid / scp_uid are the UIDs of both rows in Merged.xlsx |
Conflict_Log.xlsx |
Field conflicts resolved during merge |
Lost_WoS.xlsx / Lost_Scopus.xlsx |
Records with no match (UID = their key in Merged.xlsx) |
Statistics.xlsx |
Summary counts |
from bibexpy_lite import read_wos, read_scopus, smart_merge, write_excel, write_vosviewer
wos = read_wos("Workspace/My Project/Data/savedrecs.txt")
scp = read_scopus("Workspace/My Project/Data/scopus.csv")
res = smart_merge(wos, scp)
write_excel(res.merged, "merged.xlsx") # adds SR for biblioshiny
write_vosviewer(res.merged, "merged_vos.txt") # WoS-tagged text for VOSviewer
print(res.stats) # counts: duplicates_removed, merged_count, ...
print(res.borderline) # uncertain pairsBibexPy-Lite 1.4.x runs on both pandas 2.2+ and pandas 3 and gives identical results on either (same merged records, same upper-casing, same column order). pandas 2 is no longer developed (the last release, 2.3.3, came out in September 2025) and has no installers for Python 3.15 and later. This is a transition period: 1.4.x keeps supporting pandas 2 for now, but a later Lite release, together with BibexPy 2.5, will require pandas 3 and therefore Python 3.11 or newer. If you are on Python 3.10, you can keep using 1.4.x.
The Smart Merge algorithm here (bibexpy_lite/smart_merge.py) is a vendored
copy of the canonical implementation in
BibexPy (apps/api/services/smart_merger.py).
The algorithm is the single source of truth there; this repo keeps a copy so it
can run with no web dependencies. They are kept in sync (manually — there is no
automatic sync between the repositories) and produce identical merge results.
bibexpy_lite/cr_normalize.py is likewise an unmodified copy of BibexPy's
packages/bibex_core/cr_normalize.py.
BibexPy-Lite uses the BibexPy Smart Merge algorithm. If you use it in your research, please cite:
Kara, B. C., Şahin, A., & Dirsehan, T. (2025). BibexPy: Harmonizing the bibliometric symphony of Scopus and Web of Science. SoftwareX, 30, 102098. https://doi.org/10.1016/j.softx.2025.102098
@article{bibexpy2025,
title = {BibexPy: Harmonizing the bibliometric symphony of {Scopus} and {Web of Science}},
author = {Kara, Burak Can and {\c{S}}ahin, Alperen and Dirsehan, Ta{\c{s}}k{\i}n},
journal = {SoftwareX},
volume = {30},
pages = {102098},
year = {2025},
doi = {10.1016/j.softx.2025.102098}
}GPL-3.0-or-later. See LICENSE.