Sopel Stocks Plugin
Project description
sopel-stocks
sopel-stocks is an stock lookup plugin for Sopel
Installing
If possible, use pip
to install this plugin. Below are example commands; you
might need to add sudo
and/or call a different pip
(e.g. pip3
) depending
on your system and environment. Do not use setup.py install
; Sopel won't be
able to load the plugin correctly.
Published release
pip install sopel-modules.stocks
From source
# Clone the repo, then run this in /path/to/sopel-stocks
pip install .
Configuring
You can automatically configure this plugin using the sopel configure --plugins
command.
However, if you want or need to configure this plugin manually, you will need to define the following in ~/.sopel/default.cfg
[stocks]
api_key = API_KEY
provider = alphavantage (or iexcloud)
Requirements
API Key
https://www.alphavantage.co/support/#api-key
https://iexcloud.io/console/tokens
Python Requirements
requests
sopel
Usage
.stock djia
DJIA $26559.5 110 (0.42%)⬆
.stock msft
MSFT $123.37 1.6 (1.31%)⬆
Project details
Release history Release notifications | RSS feed
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
Close
Hashes for sopel_modules.stocks-1.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36c9089b41ac5acccf079f0896caa74646ab6c5c50f3cfa8fd636a953d32d50c |
|
MD5 | 5792a0d9261baf810bbe8d6547ad7ca0 |
|
BLAKE2b-256 | a5b67b22cd3d73cbc3c96351b27ec3e20ee49f6ee6e2c275d1d0b421bf735f72 |
Close
Hashes for sopel_modules.stocks-1.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96752a496f06ffe040d5f512a6de873f4d15823296a15c5b0baab1f40a33b5a5 |
|
MD5 | 89d40ca2e009cc32ffb921153354b26f |
|
BLAKE2b-256 | c47f360f8fe674f39fafaea0950424b26cc4797b7b6f47bd5d0e0fdd94b0ec7d |