Skip to main content

PubNet

Visualise your research footprint. PubNet takes a Google Scholar profile and turns it into interactive visualisations - co-author networks, citation trends, topic clusters, journal impact factors, and formatted references - all from a single command.

Try the live demo - no install required.

What PubNet does

Paste any Google Scholar profile URL, and PubNet will:

  • Map your co-author network as an interactive force-directed graph
  • Chart your citation trends over time with a rolling h-index overlay
  • Track your publications per year to show research output
  • Cluster your work into research topics using TF-IDF and k-means
  • Look up journal impact factors from a bundled database of 4,600+ journals
  • Correct venue names via the Crossref API before impact factor lookup
  • Format every publication as a copyable reference in APA, MLA, BibTeX, Vancouver, or Chicago style
  • Export everything as JSON or CSV

PubNet has two interfaces: a CLI that generates self-contained HTML reports you can share, and an interactive web GUI for live exploration with filters, sorting, and cross-linked charts.

Quick start

Option 1: Try it online

Visit pubnetwork.onrender.com and click Analyze. A demo profile loads immediately. To analyse your own profile, paste your Google Scholar URL and click Analyze.

Option 2: Install locally

pip install pubnetwork

Requires Python 3.10+. Then:

# Generate an HTML report
pubnet analyze --scholar-url "https://scholar.google.com/citations?user=ML7X29AAAAAJ"

# Or launch the interactive GUI
pubnet gui

# Or try the bundled demo
pubnet demo

Option 3: Clone and develop

git clone https://github.com/sanjiv856/pubnet.git
cd pubnet
pip install -e ".[dev]"
pytest tests/

CLI reference

pubnet analyze [OPTIONS]

  --scholar-url TEXT           Google Scholar profile URL
  --author-id TEXT             Google Scholar author ID
  --builtin                    Use bundled demo profile
  --format [apa|mla|bibtex|vancouver|chicago]
                               Reference format (default: apa)
  --topics INTEGER             Number of topic clusters (default: 5)
  -o, --output PATH            Output HTML file path
  --no-cache                   Force fresh Scholar fetch
  --crossref / --no-crossref   Crossref venue correction (default: enabled)
  -v, --verbose                Debug logging

pubnet gui                     Launch interactive web GUI at localhost:8050
pubnet demo                    Generate report from bundled demo profile
pubnet cache list              Show cached profiles
pubnet cache clear             Remove all cached data

Profiles are cached to ~/.pubnet/cache/ so repeated analyses don't re-fetch from Scholar.

How it works

Scholar URL → Fetch → Clean/Dedup → Crossref Enrich → Analyse → Render

The core library is a set of pure-function modules shared by both CLI and GUI:

Module What it does
fetch.py Fetches Scholar profiles via SerpAPI or scholarly, with JSON caching
analyze.py Builds co-author graphs, citation trends, topic clusters, summary stats
formatters.py Formats references in APA, MLA, BibTeX, Vancouver, and Chicago styles
journal_if.py Looks up impact factors from a bundled 4,600-journal Scimago database, with OpenAlex API fallback
crossref.py Corrects venue names and retrieves DOIs via the free Crossref REST API
report.py Renders self-contained HTML reports with embedded Plotly charts
gui/ Dash web app with sidebar navigation, filters, and interactive cross-linked charts

Tech stack

Python 3.10+ with scholarly, pydantic, networkx, dash, dash-cytoscape, plotly, scikit-learn, click, jinja2, rapidfuzz, and SerpAPI for cloud deployment.

Tests

pytest tests/

142+ tests covering models, fetcher, analysis, formatters, report rendering, CLI, and GUI components.

License

MIT. See LICENSE for details.

Metadata

Release files for pubnetwork 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pubnetwork 0.1.3
File Size Uploaded Provenance Actions
pubnetwork-0.1.3.tar.gz 104.2 kB Without provenance Details for pubnetwork-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pubnetwork 0.1.3
File Interpreter ABI Platform Actions
pubnetwork-0.1.3-py3-none-any.whl Python 3 none any Details for pubnetwork-0.1.3-py3-none-any.whl

Total release size: 209.6 kB

Release files / pubnetwork-0.1.3.tar.gz

Download URL pubnetwork-0.1.3.tar.gz
Size 104.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4a7c74db3850160e1d1927cfaa7369e94d422edfc1927f596ed1e3bc343d96a5
BLAKE2b-256 checksum
How to use checksums
1f4b8d6632debcb6d3d3eb8228bb26cc94c7d6ea237400b4338768f1dbd61bc1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release files / pubnetwork-0.1.3-py3-none-any.whl

Download URL pubnetwork-0.1.3-py3-none-any.whl
Size 105.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0e68a8cf1c433fe5efdf030e5b70e2a4b90573050506131cc3087e40391a65f4
BLAKE2b-256 checksum
How to use checksums
274fbec7e41828a4aaeef227a7678a103519ab0c52a562f868080c7ac0fbf8f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Security for pubnetwork 0.1.3

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page