Getting Started
Use pip to install gref. Then, run Python from the command line.
> pip install gref
> python
Once Python is running, import gref and call the main function.
>>> import gref
>>> gref.main()
Usage
Upon booting gref, we are welcomed and can SEARCH for articles:
Welcome :-)
α > search bibliometrics
PMID: 31995273
Title: Application of bibliometrics in medicine: a historical bibliometrics
analysis.
By: Kokol, Blažun Vošner, Završnik
PMID: 34586077
Title: Scholarly Productivity Evaluation of KL2 Scholars Using
Bibliometrics and Federal Follow-on Funding: Cross-Institution
Study.
By: Qua, Yu, Patel, Dave, Cornelius, Pelfrey
[...]
Once we have an article that we like, we can ADD a new file within the gref
database, and then ADD a new reference (using the PubMed ID) to the active
file:
α > add biblio
Making...
δ > add 31995273
Adding...
Found 31995273...
Now comes the fun part, growing the search! Let's use the GROW command and
specify 5 cycles (each cycle grabs 5 articles):
δ > grow 5
Growing...
Found 34169036...
Found 30951931...
Found 33240559...
Found 34306062...
Found 34150972...
[...]
Finally, let's render out an SVG file, using the command of the same name:
δ > svg
dot -Tsvg gref/gv/biblio.gv -o gref/svg/biblio.svg
Congratulations! You have now rendered your first citation graph. This source vector graphics file supports hyperlinks. Try opening some of the references on the example graph in a new tab. Also, notice the tooltips as you hover over a reference! Otherwise, check out some of the other outputs found in the example database.
Available Commands
| State | Command | Description |
|---|---|---|
| α | ADD | Add a new file to the database, becomes active |
| δ | ADD | Add a new PubMed ID to the active file |
| δ | CSV | Export articles to a table |
| * | EXIT | Exit the program |
| δ | GROW | Find related articles, can specify number of cycles |
| δ | GV | Render out a GV file, this is the base graph |
| * | HELP | Help page for command state and usage |
| α | LOAD | Load a file from the database, becomes active |
| δ | Render out a PDF file | |
| α | PEEK | Peek the files in the database |
| δ | PEEK | Peek the articles in the active file |
| δ | PNG | Render out a PNG file, can specify DPI |
| α | RM | Remove a file from the database |
| * | SEARCH | Search PubMed, query follows command |
| δ | SVG | Render out a SVG file, has hyperlink support |
| δ | TXT ESSAY | Export a fake essay on the topic, can specify word number |
| δ | TXT NGRAM | Export N-grams from all abstracts, can specify N |
| δ | UNLOAD | Unload active file |
Metadata
Release files for gref 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gref-0.1.0.tar.gz | 3.5 kB | Without provenance | Details for gref-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gref-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for gref-0.1.0-py3-none-any.whl |
Total release size: 7.7 kB
Release files / gref-0.1.0.tar.gz
| Download URL | gref-0.1.0.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
349846d465adae5fc796a37ec238cdc7427771cc4cc7cad811f87966a5258086
|
|
BLAKE2b-256 checksum How to use checksums |
2a4c845fb757ee902fe6897bd7a32d5030f8cb8feb38fe0d02d15d1ef683daae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/3.8.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.56.1 CPython/3.8.12
|
Release files / gref-0.1.0-py3-none-any.whl
| Download URL | gref-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4d8f47d74452a218b0cd0ea3b87e01a49ee65b1f46cad1161ef0b329a9de15de
|
|
BLAKE2b-256 checksum How to use checksums |
5b4e49de7dd5f0e6fb98f9e8d00bdfe17afc11cddc6297ac70a1d6650cb4fd53
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/3.8.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.56.1 CPython/3.8.12
|
Security for gref 0.1.0
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.