S&P Companies
Fetches the companies that comprises the s&p 500 based on the wiki page https://en.wikipedia.org/wiki/List_of_S%26P_500_companies including historical lists.
Usage
from datetime import date
from snp_companies import SNPListing
listing = SNPListing()
print(listing[date.today()])
print(listing['2021-11-28'])
print(listing['2000-11-28'])
Metadata
Release files for snp-companies 1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| snp_companies-1.1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / snp_companies-1.1-py3-none-any.whl
| Download URL | snp_companies-1.1-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2ef12dc04bde24f79e3177df79e13f10e7f657475b11f543f570e264efa5d3fc
|
|
BLAKE2b-256 checksum How to use checksums |
7cdfa28cd0c2160df255d8d7af4bec9b33e820621a9a646661cf6237aa7d5d94
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
|