Scrapes the data from https://ascl.net
Project description
Scrapes the data from https://ascl.net
Quickstart
If you don’t have pip installed, see the pip install guide.
$ pip install ascl_net_scraper
>>> from rich.pretty import pprint # for pretty printing >>> import ascl_net_scraper >>> codes = ascl_net_scraper.scrape_index(5) >>> pprint(codes[0]) # doctest: +ELLIPSIS CodeRecord( │ ascl_id=None, │ title='2-DUST: Dust radiative transfer code', │ credit=['Ueta, Toshiya'], │ abstract='<p>...</p>', │ details_url='https://ascl.net/1604.006' ) >>> pprint(codes[0].get_details(), max_string=70) # doctest: +ELLIPSIS DetailedCodeRecord( │ ascl_id=None, │ title='2-DUST: Dust radiative transfer code', │ credit=['Ueta, Toshiya'], │ abstract='<p>2-DUST is a general-purpose dust radiative transfer code for an axi'+319, │ url='https://ascl.net/1604.006', │ code_sites=['https://github.com/sundarjhu/2-DUST/'], │ used_in=['https://ui.adsabs.harvard.edu/abs/2004ApJ...614..371M'], │ described_in=['https://ui.adsabs.harvard.edu/abs/2003ApJ...586.1338U'], │ bibcode='2016ascl.soft04006U', │ preferred_citation_method='<p><a href="https://ui.adsabs.harvard.edu/abs/2003ApJ...586.1338U">htt'+58, │ discuss_url='/phpBB3/viewtopic.php?t=33976', │ views=... )
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ascl_net_scraper-0.3.4.tar.gz
(6.3 kB
view hashes)
Built Distribution
Close
Hashes for ascl_net_scraper-0.3.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a3d906ff5f2451e11b2f7dfbb8f3a0cbe02661c99a39090f0a542c5437cc1e3 |
|
MD5 | 00f8a228bd9db71d39a35ea17e5816fe |
|
BLAKE2b-256 | d1ae7acf2fb76dc8d4022247085c5f20d78eb9ea8b4c92b1056361de9cabf68c |