From f88be9c0aa8fa9040a40d2574adaf57426102fad Mon Sep 17 00:00:00 2001 From: Daniil Fajnberg Date: Sun, 7 Nov 2021 15:56:36 +0100 Subject: [PATCH] python packaging boilerplate --- LICENSE | 21 +++++++++++++++++++++ README.md | 3 +++ pyproject.toml | 6 ++++++ setup.cfg | 32 ++++++++++++++++++++++++++++++++ 4 files changed, 62 insertions(+) create mode 100644 LICENSE create mode 100644 README.md create mode 100644 pyproject.toml create mode 100644 setup.cfg diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..72b8ab2 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021 Dan & Max Fajnberg + +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. diff --git a/README.md b/README.md new file mode 100644 index 0000000..1483109 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# Stock Symbol Scraper + +This is the readme diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..b5a3c46 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,6 @@ +[build-system] +requires = [ + "setuptools>=42", + "wheel" +] +build-backend = "setuptools.build_meta" \ No newline at end of file diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..c078ac3 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,32 @@ +[metadata] +name = stock-symbol-scraper +version = 0.0.1 +author = Daniil & Maximilian F. +author_email = mail@placeholder123.to +description = Scraper for stock symbols +long_description = file: README.md +long_description_content_type = text/markdown +url = https://git.fajnberg.de/daniil/stock-symbol-scraper +project_urls = + Bug Tracker = https://github.com/daniil-berg/stock-symbol-scraper/issues +classifiers = + Programming Language :: Python :: 3 + License :: OSI Approved :: MIT License + Operating System :: OS Independent +keywords = webscraping, html, markup, dom, scraper, attributes, tags, stocks, finance + +[options] +package_dir = + = src +packages = find: +python_requires = >=3.7 +install_requires = + beautifulsoup4 + requests + +[options.extras_require] +tests = + coverage + +[options.packages.find] +where = src