https://github.com/computationalphysiology/slackbot
Post updates on Slack for the Computational Physiology department at Simula
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.4%) to scientific vocabulary
Repository
Post updates on Slack for the Computational Physiology department at Simula
Basic Info
- Host: GitHub
- Owner: ComputationalPhysiology
- License: mit
- Language: Python
- Default Branch: master
- Size: 19.5 KB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
ScholarBot
This is the Slack bot used to post updates about citations for the
Computational Physiology department at Simula.
The ScholarBot is highly inspired by the
impact_bot, but is based
only one python (as opposed to the impact_bot which uses an
R-package.
Installation
You need python >= 3.6.
Create a virtual environment
python3 -m virtualenv venv
source venv/bin/activate
install the dependencies
pip install -r requirements.txt
and install the bot
python setup.py install
Running the bot
Now you should be able to do
python -m scholar_bot post_message "Hello world"
and it will print "Hello world" to the slack channel.
To list all other options you can type
python -m scholar_bot --help
Please consult the Slack API for how to set
up the bot. You can set you secret token either as an environment
varialbe (SLACK_BOT_TOKEN) or in a config file. I have mine in a
folder ~/scholarbot/config and it looks like this:
[SLACK_BOT_TOKEN]
token = put your secret token here
I also have the people.yml file (which you will find in this repo as
well) in the same folder.
Scheduling the bot
If you want your bot to e.g post a message on slack say one time evey week, then you set up a cron job to do this. Check out this video by Corey Schafer which explains this very well.
Owner
- Name: Computational Physiology at Simula Research Laboratory
- Login: ComputationalPhysiology
- Kind: organization
- Location: Fornebu, Norway
- Website: https://computationalphysiology.github.io
- Repositories: 51
- Profile: https://github.com/ComputationalPhysiology
GitHub organization for the computational physiology department at Simula Research Laboratory
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: about 1 year ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- google-api-python-client *
- google-auth-httplib2 *
- google-auth-oauthlib *
- pyyaml *
- scholarly *
- slackclient *