Skip to main content

ascl_net_scraper

PyPI Package PyPI Downloads License Python Versions libraries.io sourcerank GitHub stars CI status GitHub last commit Checked with Mypy Code style: black

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=...
)
>>> # "github" is a special computed attribute:
>>> codes[0].get_details().github
'https://github.com/sundarjhu/2-DUST/'

Metadata

Release files for ascl-net-scraper 0.3.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ascl-net-scraper 0.3.7
File Size Uploaded Provenance Actions
ascl_net_scraper-0.3.7.tar.gz 6.5 kB Without provenance Details for ascl_net_scraper-0.3.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ascl-net-scraper 0.3.7
File Interpreter ABI Platform Actions
ascl_net_scraper-0.3.7-py3-none-any.whl Python 3 none any Details for ascl_net_scraper-0.3.7-py3-none-any.whl

Total release size: 12.6 kB

Release files / ascl_net_scraper-0.3.7.tar.gz

Download URL ascl_net_scraper-0.3.7.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6b83715d29d1d3d8664de83eaee703eff1592564f8f9d43187b9aca959b2c1c3
BLAKE2b-256 checksum
How to use checksums
73b7837e4965486ec727685aa0d82bddc1fabc2b60816b35bdb9af2a1781c9ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.12 CPython/3.9.10 Linux/5.13.0-37-generic

Release files / ascl_net_scraper-0.3.7-py3-none-any.whl

Download URL ascl_net_scraper-0.3.7-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8e8a35b646d63ed7e42bcffa0880455e917086577f7984a2df0d0b9896cfd5c2
BLAKE2b-256 checksum
How to use checksums
ced62fd290c241a151b259ed82c0b0c5aebe5288b51d6010a2f37eeb6906cedd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.12 CPython/3.9.10 Linux/5.13.0-37-generic

Security for ascl-net-scraper 0.3.7

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page