mirror of
https://github.com/yongghongg/stock-symbol.git
synced 2024-01-14 00:27:38 +03:00
[add] added packaging files
This commit is contained in:
3
.vscode/settings.json
vendored
Normal file
3
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"cSpell.ignoreWords": ["Yonghong", "setuptools", "stocksymbolsapi"]
|
||||
}
|
||||
21
LICENSE
Normal file
21
LICENSE
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2021 Yonghong Tan
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
2
MANIFEST.in
Normal file
2
MANIFEST.in
Normal file
@@ -0,0 +1,2 @@
|
||||
include stock-symbols/data/*.csv
|
||||
include stock-symbols/data/*.json
|
||||
@@ -1,5 +1,8 @@
|
||||
# How to use
|
||||
# Introduction
|
||||
This package connects to the stocksymbolsapi that I created and allows you to get list of stock symbols from all major stock exchanges over the world.
|
||||
|
||||
# How to use
|
||||
You need to have an API key
|
||||
|
||||
# Useful links
|
||||
- https://help.yahoo.com/kb/SLN2310.html
|
||||
|
||||
6
pyproject.toml
Normal file
6
pyproject.toml
Normal file
@@ -0,0 +1,6 @@
|
||||
[build-system]
|
||||
requires = [
|
||||
"setuptools>=54",
|
||||
"wheel"
|
||||
]
|
||||
build-backend = "setuptools.build_meta"
|
||||
0
stock-symbols/__init__.py
Normal file
0
stock-symbols/__init__.py
Normal file
2
stock-symbols/get_symbol.py
Normal file
2
stock-symbols/get_symbol.py
Normal file
@@ -0,0 +1,2 @@
|
||||
from importlib import resources
|
||||
import io
|
||||
Reference in New Issue
Block a user