Py-stocks-api
Py-stocks-api is a lightweight self-hosted web service that wraps the yfinance market-data library to provide simple endpoints for stock price history and…
Platform availability
Available on 1 of 10 platforms
- Unraid
- TrueNAS (not listed)
- Umbrel (not listed)
- ZimaOS (not listed)
- Proxmox (not listed)
- Helm (not listed)
- Mac (not listed)
- Windows (not listed)
- Linux (not listed)
- Any server (not listed)
Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.
8/100 Low
- Maintained
- 0last commit 1750 days ago
- Popular
- 00 GitHub stars
- Easy to install
- 351 install platform, install notes, Docker image
- Light to run
- No data
Based on 3 of 4 factors.
Availability: platform listings confirmed today, links checked 34 days ago
- GitHub stars
- 0
- Open issues
- 0
- Last commit
- 2022-02-05
- License
- MIT
- Activity
- stale
Checked 10 days ago - source: GitHub (patrickstigler/py-stocks)
Resources & Compatibility
ARM (e.g. Raspberry Pi) is not supported.
Checked 54 days ago - source: Docker Hub image tags and published docs
First-install notes
- Docker port Expose container port 8000 to access the API, for example: docker run -p 8000:8000 patrickstigler/py-stocks-api. source
Fetched 38 days ago - each note links to its source
Variants
Alternatives
No alternatives collected yet.
Common questions
Which port do I need to expose when running py-stocks-api in Docker?
Use port 8000. The README shows running the container with port 8000 mapped to the host.
Can I change the data interval for the download endpoint?
Yes. The /download endpoint accepts an interval parameter, and its default value is 1d.
Does py-stocks-api need authentication or reverse-proxy configuration?
No authentication or reverse-proxy settings are documented. The only stated requirement is to expose port 8000.
Does py-stocks-api include a local database or backup mechanism?
No local database or backup mechanism is documented. It is described as a minimal yfinance wrapper that exposes HTTP endpoints for fetched data.
Answers sourced from github.com
Community
- Python API to access Stock Market information (forum)
- What API would you recommend for real-time stock price data? - Reddit (reddit)
- I'm looking for "Real time" stock market API : r/webdev - Reddit (reddit)
- [support] py-stocks-api - Docker Containers - Unraid (forum)
- Newest 'python' Questions - Stack Overflow (forum)
Collected 53 days ago - public community threads