Translate and post arXiv articles to Slack and various apps
Project description
arxiv-post
Translate and post arXiv articles to Slack and various apps
Installation
$ pip install arxiv-post
$ playwright install chromium
Usage
Command line interface arxiv-post
is available after installation, 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 \
--target_lang ja \
--slack_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 some automation tools such as GitHub Actions. Here is a live example where daily arXiv articles in astro-ph.GA, astro-ph.IM, and astro-ph.HE 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.
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.7.0.tar.gz
.
File metadata
- Download URL: arxiv_post-0.7.0.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.11.3 Linux/5.15.0-1036-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74081d62dbb25e072b73ec52a846a40b202523fb5c0df2d5f6142418fdbcde49 |
|
MD5 | 1ba1eae0a5fbec4cf6d1497ef8018ce1 |
|
BLAKE2b-256 | 485111fe52847740c0be77d6e83f02c07a040a6678392682c3166a827148e484 |
File details
Details for the file arxiv_post-0.7.0-py3-none-any.whl
.
File metadata
- Download URL: arxiv_post-0.7.0-py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.11.3 Linux/5.15.0-1036-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a3b4a5936480f2a01f442bdb96fef857a724a8e5dd73b2bafcb62b5492d5160 |
|
MD5 | e40b2999a6f395c16c94191dc55d65f2 |
|
BLAKE2b-256 | 745b548477c6d836785d02143c7a36ecb6d9d23ba037252e55e8430f96488598 |