Translate and post arXiv articles to various apps
Project description
arxiv-post
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.
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
- fkubota/Carrier-Owl: arxiv--> DeepL --> Slack: The arxiv-post package is highly inspired by their work.
- a-lab-nagoya/astro-ph-slack: Translate and post arXiv articles to Slack: A live example using the arxiv-post package.
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
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0de13db40b290f03e69c9b097a746c50c537494f01ec2d2e8290bda06d4e25f |
|
MD5 | 743bbcefe9097581139be737b1c7ca2b |
|
BLAKE2b-256 | b53e7686016b89665ae395c0ca574234dbaea3f85f35d25e5745f7e44e4abf4a |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d47c36897c0ec17ac35f1b772b429bc73994a20efb19590ca30b20db8f92361 |
|
MD5 | dba14888e166286285630fa34df9baea |
|
BLAKE2b-256 | a832851c98f7774c377bc36d68e739e668a706ff9171150fdf72ae2fde9c74e6 |