Skip to main content

Notebook widget application for biblioflow bibliometric workflows.

Project description

biblioflow-nb

Notebook widget application for biblioflow bibliometric workflows.

biblioflow-nb provides a Jupyter/Colab-friendly widget UI that mirrors the core workflow of biblioflow-web without running FastAPI, React, or a local web server. All calculations are delegated to the core biblioflow package.

Quickstart

import biblioflow_nb as bfn

bfn.colab_setup()  # safe outside Google Colab
app = bfn.launch()

Launch with an existing dataset:

import biblioflow as bf
import biblioflow_nb as bfn

dataset = bf.load("records.ris")
app = bfn.launch(records=dataset)

Import from PubMed/PMC:

import os
import biblioflow_nb as bfn

os.environ["BIBLIOFLOW_NCBI_EMAIL"] = "researcher@example.org"

app = bfn.app(display=False)
app.from_pubmed(query="bibliometrics AND reproducibility", limit=20)
app.from_pmc(query="open science", limit=20)
app.display()

The widget app also includes a PubMed/PMC panel. API keys can be provided in the panel or through BIBLIOFLOW_NCBI_API_KEY; they are not stored in the session manifest.

Development

cd packages/biblioflow-nb
PYTHONPATH=src:../biblioflow/src pytest --cov=biblioflow_nb --cov-fail-under=90
PYTHONPATH=src:../biblioflow/src python -m ruff check src tests
PYTHONPATH=src:../biblioflow/src python -m mypy src
poetry build

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

biblioflow_nb-0.2.0.tar.gz (14.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

biblioflow_nb-0.2.0-py3-none-any.whl (31.0 kB view details)

Uploaded Python 3

File details

Details for the file biblioflow_nb-0.2.0.tar.gz.

File metadata

  • Download URL: biblioflow_nb-0.2.0.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.13.13 Linux/6.17.0-1013-azure

File hashes

Hashes for biblioflow_nb-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c72ac50e2878a64d28da3bdd37107179d12ba714e4e20bb67d9a6e139e66a7eb
MD5 172de5a02d8cfdc719b2e2d8a4a67cb4
BLAKE2b-256 60660bea9945a31d6677d7a437ca8b9a0fec9afa1943ef18d9c4c6443540b745

See more details on using hashes here.

File details

Details for the file biblioflow_nb-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: biblioflow_nb-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 31.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.13.13 Linux/6.17.0-1013-azure

File hashes

Hashes for biblioflow_nb-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0e7dd3af26e4ecc130b65511ba7cc784501216dfefa6996c9c781f2f3346ff81
MD5 e39d65bcffb4b69c99f6bdeae01ea4f6
BLAKE2b-256 551473c7dcead49d9d54cb93d1a1c896c19baa2bbe55edd059a8e400f4b94d9e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page