Skip to main content

astro-ph

PyPI Python Test License

Translate and post arXiv articles to various apps

Installation

Use pip or other package manager to install the Python package.

$ pip install astro-ph

Usage

After installation, command line interface, astro-ph, is available, with which you can translate and post arXiv articles to various apps. Note that only slack app is currently available. In this case, you need to create a custom Slack app to get an URL of incoming webhook.

$ astro-ph slack --keywords galaxy,galaxies \
                 --categories astro-ph.GA,astro-ph.IM \
                 --language_to ja \
                 --webhook_url https://hooks.slack.com/services/***/***

The posted article looks like this.

astro-ph-slack.png

For detailed information, see the built-in help by the following command.

$ astro-ph slack --help

Example

It would be nice to regularly run the command by GitHub Actions. Here is a live example in which daily (2 days ago) arXiv articles in astro-ph.GA and astro-ph.IM are posted to different channels of a Slack workspace.

References

Metadata

Release files for astro-ph 0.3.1

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

Source distribution (sdist)

Source distribution for astro-ph 0.3.1
File Size Uploaded
astro-ph-0.3.1.tar.gz 8.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for astro-ph 0.3.1
File Interpreter ABI Platform
astro_ph-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 19.1 kB

Release files / astro-ph-0.3.1.tar.gz

Download URL astro-ph-0.3.1.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
9ea10d8a51ad3276630f4a2050c30487f26109ad34b66174663d390b222e29ea
BLAKE2b-256 checksum
How to use checksums
c7197de4d25f504b4f0c3a6fe7ede47d13efab9a0f3c562750f0bad96455bb84
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.11 CPython/3.10.0 Linux/5.8.0-1042-azure

Release files / astro_ph-0.3.1-py3-none-any.whl

Download URL astro_ph-0.3.1-py3-none-any.whl
Size 10.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
21709dd3affcb0907db996467858d4d752662088045e896c672c8c9739a29800
BLAKE2b-256 checksum
How to use checksums
21f64229b14026b15f896197c4c2944b9212f4c52cef73a8f8c2306c19ffb103
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.11 CPython/3.10.0 Linux/5.8.0-1042-azure

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 release files

0.3.0

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

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