Catalog PyPI
Back to packageRELEASE DETAILS

0.3.8

PyPI

ads2gephi

A command line tool for querying and modeling citation networks from the Astrophysical Data System (ADS) in a format compatible with Gephi

analysisastrophysicalcitationdatanetworksystem
Published27 Nov 2021
Direct dependencies7
Transitive dependenciesNot calculated

README

Version 0.3.8 documentation

PyPI version CI License: MIT

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

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 7

Native requirements
7 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
ads
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.5",
  "evaluation": "NOT_EVALUATED"
}
ads (>=0.12.3,<0.13.0)runtime
sqlalchemy
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.5",
  "evaluation": "NOT_EVALUATED"
}
sqlalchemy (>=1.3,<2.0)runtime
configparser
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.5",
  "evaluation": "NOT_EVALUATED"
}
configparser (>=3.7,<4.0)runtime
click
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.5",
  "evaluation": "NOT_EVALUATED"
}
click (>=7.0,<8.0)runtime
python-igraph
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.5",
  "evaluation": "NOT_EVALUATED"
}
python-igraph (>=0.8.2,<0.9.0)runtime
tqdm
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.5",
  "evaluation": "NOT_EVALUATED"
}
tqdm (>=4.32,<5.0)runtime
yaspin
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.5",
  "evaluation": "NOT_EVALUATED"
}
yaspin (>=0.14.3,<0.15.0)runtime

Distribution files

2 collected
ads2gephi-0.3.8-py3-none-any.whl

bdist_wheel · 9.51 KB · Python py3

Source file
ads2gephi-0.3.8.tar.gz

sdist · 9.5 KB · Python source

Source file

Repository

PENDING
03b8/ads2gephi

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:51 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:4692c69752daa4e34709707c74c6df2de7582abbec43aa1c869ad0342c3f82b4

Other collected versions

View all collected versions →