Skip to main content

Translate and post arXiv articles to various apps

Project description

arxiv-post

PyPI Python Test License

Translate and post arXiv articles to various apps

Installation

$ pip install arxiv-post

Usage

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

$ arxiv-post slack --keywords deshima \
                   --categories astro-ph.IM \
                   --language_to ja \
                   --webhook_url <Slack webhook URL>

The posted article looks like this.

arxiv-post-slack.png

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

$ arxiv-post 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

arxiv-post-0.4.0.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

arxiv_post-0.4.0-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file arxiv-post-0.4.0.tar.gz.

File metadata

  • Download URL: arxiv-post-0.4.0.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.8.11 Darwin/20.6.0

File hashes

Hashes for arxiv-post-0.4.0.tar.gz
Algorithm Hash digest
SHA256 b0de13db40b290f03e69c9b097a746c50c537494f01ec2d2e8290bda06d4e25f
MD5 743bbcefe9097581139be737b1c7ca2b
BLAKE2b-256 b53e7686016b89665ae395c0ca574234dbaea3f85f35d25e5745f7e44e4abf4a

See more details on using hashes here.

File details

Details for the file arxiv_post-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: arxiv_post-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.8.11 Darwin/20.6.0

File hashes

Hashes for arxiv_post-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7d47c36897c0ec17ac35f1b772b429bc73994a20efb19590ca30b20db8f92361
MD5 dba14888e166286285630fa34df9baea
BLAKE2b-256 a832851c98f7774c377bc36d68e739e668a706ff9171150fdf72ae2fde9c74e6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page