Stock-Snap
Stock-Snap is a Python library for extracting real-time stock market data. It provides an easy-to-use interface for fetching stock quote details across various exchanges.
Features
-
Fetch Real-Time Data: Retrieve real-time stock quotes for any ticker symbol.
-
Multi-Exchange Support: Get stock data from multiple exchanges.
-
Easy Integration: Simple and efficient methods to integrate into your projects.
Installation
Install the package using pip:
pip install stock-snap
Fetching Stock Details
ticker_symbol = 'AAPL'
details = stock_snap.fetch_details(ticker_symbol)
print(details)
ticker_symbol = 'GOOGL'
exchange_symbol = 'NASDAQ'
details = stock_snap.fetch_details_by_exchange(ticker_symbol, exchange_symbol)
Example Output
The fetch_details method returns a dictionary with exchange symbols as keys and their corresponding stock quote details as values.
Requirements
- Python 3.12
Contributing
Contributions are welcome! Follow these steps to contribute:
-
Fork the repository.
-
Create a new branch (
git checkout -b feature-branch). -
Make your changes and commit them (
git commit -m 'Add new feature'). -
Push to the branch (
git push origin feature-branch). -
Create a pull request.
Demo
This project is licensed under the MIT License.
Contact
For any issues or questions, please open an issue on this repository.
Metadata
Release files for stocksnap 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| stocksnap-0.1.1.tar.gz | 5.2 kB | Without provenance | Details for stocksnap-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| stocksnap-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for stocksnap-0.1.1-py3-none-any.whl |
Total release size: 10.5 kB
Release files / stocksnap-0.1.1.tar.gz
| Download URL | stocksnap-0.1.1.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7039def56524dfdd10b7ac57eeeb0c47a350b73d439d73c2d82180686204da01
|
|
BLAKE2b-256 checksum How to use checksums |
967549b8815e21f77b32f64ade67281daa0b037b182def82f6d1ea675df7806f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Release files / stocksnap-0.1.1-py3-none-any.whl
| Download URL | stocksnap-0.1.1-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b0d3e2f6e81d639e789f651749cfc1b3e14440c63a6f7029c70a13d768666c09
|
|
BLAKE2b-256 checksum How to use checksums |
78aa0aec5710ab9c35deb3ee7d251ec227a047c85d61fa59e0dbb9c197b6aa6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Security for stocksnap 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.