Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

Build Status Maintainability Test Coverage PyPI version

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%)⬆

Metadata

Release files for sopel-modules.stocks 1.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sopel-modules.stocks 1.1.2
File Size Uploaded
sopel_modules.stocks-1.1.2.tar.gz 4.4 kB Details

Release files / sopel_modules.stocks-1.1.2.tar.gz

Download URL sopel_modules.stocks-1.1.2.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
09c5b080f8c42e5d864403dc215bc3233f1058638d48774d78bb25973a301d6b
BLAKE2b-256 checksum
How to use checksums
e4ec717f559462178f6f007449a445b4cf3b16e3e060864a98291d446a689b36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.5.6
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page