initial commit

This commit is contained in:
Maximilian Fajnberg 2021-12-31 20:30:36 +01:00
commit 660c540828
10 changed files with 91 additions and 0 deletions

12
.coveragerc Normal file
View File

@ -0,0 +1,12 @@
[run]
source = src/
branch = true
omit =
.venv/*
[report]
fail_under = 100
show_missing = True
skip_covered = True
exclude_lines =
if __name__ == .__main__.:

10
.gitignore vendored Normal file
View File

@ -0,0 +1,10 @@
# Virtual environment
/.venv/
# PyCharm:
/.idea/
# Distribution / packaging:
*.egg-info/
# Python cache:
__pycache__/
# Tests:
.coverage

21
LICENSE Normal file
View File

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2021 Daniil & Maximilian 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.

1
README.md Normal file
View File

@ -0,0 +1 @@
# Django based database for stock fundamentals

3
coverage.sh Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env sh
coverage erase && coverage run -m unittest discover && coverage report

6
pyproject.toml Normal file
View File

@ -0,0 +1,6 @@
[build-system]
requires = [
"setuptools>=42",
"wheel"
]
build-backend = "setuptools.build_meta"

1
requirements/common.txt Normal file
View File

@ -0,0 +1 @@
django

2
requirements/dev.txt Normal file
View File

@ -0,0 +1,2 @@
-r mwfin.txt
coverage

2
requirements/mw.txt Normal file
View File

@ -0,0 +1,2 @@
-r common.txt
mwfin

33
setup.cfg Normal file
View File

@ -0,0 +1,33 @@
[metadata]
name = django-stockfin-db
version = 0.0.1
author = Daniil & Maximilian F.
author_email = mail@placeholder123.to
description = maintain company fundamentals database
long_description = file: README.md
long_description_content_type = text/markdown
url = https://git.fajnberg.de/daniil/django-stockfin-db
project_urls =
Bug Tracker = https://github.com/daniil-berg/django-stockfin-db/issues
classifiers =
Programming Language :: Python :: 3
License :: OSI Approved :: MIT License
Operating System :: OS Independent
keywords = django, database, sql, orm, stocks, finance
[options]
package_dir =
= src
packages = find:
python_requires = >=3.10
install_requires =
django
[options.extras_require]
tests =
coverage
mw =
mwfin
[options.packages.find]
where = src