ads2gephi
is a command line tool for querying and modeling citation networks from the Astrophysical Data System (ADS) in a format compatible with Gephi, a popular network visualization tool. ads2gephi has been developed at the history of science department of TU Berlin as part of a research project on the history of extragalactic astronomy financed by the German Research Foundation DFG (PI Karin Pelte).
You can install ads2gephi from PyPI:
pip install ads2gephi
Usage
When using the tool for the first time to model a network, you will be prompted to enter your ADS API key. Your key will then be stored in a configuration file under ~/.ads2gephi.
In order to sample an initial citation network, you need to provide ads2gephi with a plain text file with bibcodes (ADS unique identifiers), one per line, as input. The queried network will be output in a SQLite database stored in the current directory:
ads2gephi -c bibcodes_example.txt -d my_fancy_netzwerk.db
Afterwards you can extend the queried network by providing the existing database file and using the additional sampling options. For example, you can extend the network by querying all the items cited in every publication previously queried:
ads2gephi -s ref -d my_fancy_netzwerk.db
Finally you might want to also generate the edges of the network. There are several options for generating edges. For example you can use a semantic similarity measure like bibliographic coupling or co-citation:
ads2gephi -e bibcp -d my_fancy_netzwerk.db
You can also do everything at once:
ads2gephi -c bibcodes_example.txt -s ref -e bibcp -d my_fancy_netzwerk.db
All other querying and modelling options are described in the help page:
ads2gephi --help
Once you've finished querying and modeling, the database file can be directly imported in Gephi for network visualization and analysis.
Special thanks to
- Edwin Henneken
Metadata
Release files for ads2gephi 0.3.8
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 |
|---|---|---|---|---|
| ads2gephi-0.3.8.tar.gz | 9.7 kB | Without provenance | Details for ads2gephi-0.3.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ads2gephi-0.3.8-py3-none-any.whl | Python 3 | none | any | Details for ads2gephi-0.3.8-py3-none-any.whl |
Total release size: 19.5 kB
Release files / ads2gephi-0.3.8.tar.gz
| Download URL | ads2gephi-0.3.8.tar.gz |
|---|---|
| Size | 9.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
28c7557d36730fa9b12f714973c1dfcaefa5b429f6d49e7c6b373d366917c965
|
|
BLAKE2b-256 checksum How to use checksums |
66933d29d926e03b5a06d86aea431c764427e0c881ba4690448e02814682a4ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.5 CPython/3.9.6 Linux/5.4.118-1-MANJARO
|
Release files / ads2gephi-0.3.8-py3-none-any.whl
| Download URL | ads2gephi-0.3.8-py3-none-any.whl |
|---|---|
| Size | 9.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d35e5dfff59658480b5747bc6698377b46447ec91502107566262e44af17dd9a
|
|
BLAKE2b-256 checksum How to use checksums |
788b7a74120b5183f2035595c7c93977cfdbd058429bfd7fd49182ca9f480ec3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.5 CPython/3.9.6 Linux/5.4.118-1-MANJARO
|
Security for ads2gephi 0.3.8
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.