ShellMarkets
ShellMarkets is a command-line tool (CLI) for retrieving stock market information. It uses yfinance module to fetch data about specific stocks and provides various options to display detailed information about companies.
Installation
You can install ShellMarkets directly from PyPI using pip:
pip install shellmarkets
Usage
After installation, you can use the shmkt command to interact with the tool. Below are the available options and usage examples.
Show Version
To display the version of ShellMarkets:
shmkt --version
Get Basic Information
To get basic information about one or more stocks:
shmkt TICKER1 TICKER2 ...
Extended Information
To get extended information about a specific stock:
shmkt TICKER -e
Company Information
To get detailed information about the company:
shmkt TICKER -i
Company News
To get recent news about the company:
shmkt TICKER --n
Show Portfolio
To display the stocks in a portfolio file:
shmkt -p /path/to/portfolio/file
Create a New Portfolio
To create a new portfolio file with an optional list of stocks:
shmkt -c /path/to/new/portfolio/file TICKER1 TICKER2 ...
Add a Stock to the Portfolio
To add a stock to an existing portfolio file:
shmkt -a TICKER /path/to/portfolio/file
Remove a Stock from the Portfolio
To remove a stock from an existing portfolio file:
shmkt -d TICKER /path/to/portfolio/file
Help
shmkt --help
Contributions
Contributions are welcome. Please open an issue or submit a pull request on GitHub.
License
This project is licensed under the GNU General Public License (GPL). See the LICENSE file for details.
Metadata
Release files for shellmarkets 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| shellmarkets-0.0.3.tar.gz | 5.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| shellmarkets-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.0 kB
Release files / shellmarkets-0.0.3.tar.gz
| Download URL | shellmarkets-0.0.3.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7cb5efcd4b5cb0f97ab64198f2a09f5c175a1a21f7369288dde5ec7106009754
|
|
BLAKE2b-256 checksum How to use checksums |
8f203ef46e53e4a62b0c602b707e14406443e3d6383ad547d5e9cc5628d0854b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / shellmarkets-0.0.3-py3-none-any.whl
| Download URL | shellmarkets-0.0.3-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3c9cc602f5819405da1fdc301b840036ae45b968d15e4019344d384d6c571be9
|
|
BLAKE2b-256 checksum How to use checksums |
538f2dfad0d5f6a91ccc69c210fd8d5942108a9e3f7b146c9420ebbadb717075
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|