balderhub-data 0.0.1b0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. balderhub_data-0.0.1b0/.github/workflows/pylint.yml +24 -0
  2. balderhub_data-0.0.1b0/.github/workflows/python-publish.yml +43 -0
  3. balderhub_data-0.0.1b0/.gitignore +131 -0
  4. balderhub_data-0.0.1b0/.pylintrc +624 -0
  5. balderhub_data-0.0.1b0/.readthedocs.yml +22 -0
  6. balderhub_data-0.0.1b0/LICENSE +21 -0
  7. balderhub_data-0.0.1b0/PKG-INFO +59 -0
  8. balderhub_data-0.0.1b0/README.md +26 -0
  9. balderhub_data-0.0.1b0/docs/Makefile +20 -0
  10. balderhub_data-0.0.1b0/docs/make.bat +35 -0
  11. balderhub_data-0.0.1b0/docs/source/_static/.gitkeep +0 -0
  12. balderhub_data-0.0.1b0/docs/source/conf.py +40 -0
  13. balderhub_data-0.0.1b0/docs/source/examples.rst +4 -0
  14. balderhub_data-0.0.1b0/docs/source/features.rst +27 -0
  15. balderhub_data-0.0.1b0/docs/source/index.rst +22 -0
  16. balderhub_data-0.0.1b0/docs/source/installation.rst +29 -0
  17. balderhub_data-0.0.1b0/docs/source/scenarios.rst +14 -0
  18. balderhub_data-0.0.1b0/docs/source/topic_intro.rst +4 -0
  19. balderhub_data-0.0.1b0/docs/source/utilities.rst +13 -0
  20. balderhub_data-0.0.1b0/pyproject.toml +6 -0
  21. balderhub_data-0.0.1b0/requirements.txt +8 -0
  22. balderhub_data-0.0.1b0/setup.cfg +49 -0
  23. balderhub_data-0.0.1b0/setup.py +5 -0
  24. balderhub_data-0.0.1b0/src/balderhub/data/__init__.py +17 -0
  25. balderhub_data-0.0.1b0/src/balderhub/data/_version.py +34 -0
  26. balderhub_data-0.0.1b0/src/balderhub/data/lib/__init__.py +6 -0
  27. balderhub_data-0.0.1b0/src/balderhub/data/lib/scenario_features/__init__.py +16 -0
  28. balderhub_data-0.0.1b0/src/balderhub/data/lib/scenario_features/accessible_multiple_data_config.py +5 -0
  29. balderhub_data-0.0.1b0/src/balderhub/data/lib/scenario_features/all_multiple_data_config.py +5 -0
  30. balderhub_data-0.0.1b0/src/balderhub/data/lib/scenario_features/example_data_provider_feature.py +24 -0
  31. balderhub_data-0.0.1b0/src/balderhub/data/lib/scenario_features/example_field_value_provider_feature.py +25 -0
  32. balderhub_data-0.0.1b0/src/balderhub/data/lib/scenario_features/multiple_data_config.py +60 -0
  33. balderhub_data-0.0.1b0/src/balderhub/data/lib/scenario_features/single_data_config.py +9 -0
  34. balderhub_data-0.0.1b0/src/balderhub/data/lib/setup_features/__init__.py +6 -0
  35. balderhub_data-0.0.1b0/src/balderhub/data/lib/utils/__init__.py +13 -0
  36. balderhub_data-0.0.1b0/src/balderhub/data/lib/utils/abstract_data_item_related_feature.py +56 -0
  37. balderhub_data-0.0.1b0/src/balderhub/data/lib/utils/decorator_dataitem.py +88 -0
  38. balderhub_data-0.0.1b0/src/balderhub/data/lib/utils/decorator_register_for_data_item.py +48 -0
  39. balderhub_data-0.0.1b0/src/balderhub/data/lib/utils/exceptions.py +8 -0
  40. balderhub_data-0.0.1b0/src/balderhub/data/lib/utils/filter.py +18 -0
  41. balderhub_data-0.0.1b0/src/balderhub/data/lib/utils/functions.py +138 -0
  42. balderhub_data-0.0.1b0/src/balderhub/data/lib/utils/not_definable.py +8 -0
  43. balderhub_data-0.0.1b0/src/balderhub/data/lib/utils/response_message.py +15 -0
  44. balderhub_data-0.0.1b0/src/balderhub/data/lib/utils/response_message_list.py +54 -0
  45. balderhub_data-0.0.1b0/src/balderhub/data/lib/utils/single_data_item.py +420 -0
  46. balderhub_data-0.0.1b0/src/balderhub/data/lib/utils/single_data_item_collection.py +100 -0
  47. balderhub_data-0.0.1b0/src/balderhub_data.egg-info/PKG-INFO +59 -0
  48. balderhub_data-0.0.1b0/src/balderhub_data.egg-info/SOURCES.txt +53 -0
  49. balderhub_data-0.0.1b0/src/balderhub_data.egg-info/dependency_links.txt +1 -0
  50. balderhub_data-0.0.1b0/src/balderhub_data.egg-info/not-zip-safe +1 -0
  51. balderhub_data-0.0.1b0/src/balderhub_data.egg-info/requires.txt +1 -0
  52. balderhub_data-0.0.1b0/src/balderhub_data.egg-info/top_level.txt +1 -0
  53. balderhub_data-0.0.1b0/tests/__init__.py +0 -0
  54. balderhub_data-0.0.1b0/tests/balderglob.py +1 -0
@@ -0,0 +1,24 @@
1
+ name: Pylint
2
+
3
+ on: [push]
4
+
5
+ jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
+ strategy:
9
+ matrix:
10
+ python-version: ["3.9", "3.10", "3.11"]
11
+ steps:
12
+ - uses: actions/checkout@v3
13
+ - name: Set up Python ${{ matrix.python-version }}
14
+ uses: actions/setup-python@v3
15
+ with:
16
+ python-version: ${{ matrix.python-version }}
17
+ - name: Install dependencies
18
+ run: |
19
+ python -m pip install --upgrade pip
20
+ pip install -r requirements.txt
21
+ pip install pylint
22
+ - name: Analysing the code with pylint
23
+ run: |
24
+ export PYTHONPATH=$PYTHONPATH:$(readlink -f src) && pylint $(git ls-files 'src/*.py')
@@ -0,0 +1,43 @@
1
+ # This workflow will upload a Python Package using Twine when a release is created
2
+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries
3
+
4
+ # This workflow uses actions that are not certified by GitHub.
5
+ # They are provided by a third-party and are governed by
6
+ # separate terms of service, privacy policy, and support
7
+ # documentation.
8
+
9
+ name: Upload Python Package
10
+
11
+ on:
12
+ release:
13
+ types: [published]
14
+
15
+ permissions:
16
+ contents: read
17
+
18
+ jobs:
19
+ deploy:
20
+ name: upload release to PyPI
21
+
22
+ runs-on: ubuntu-latest
23
+
24
+ environment: pypi
25
+ permissions:
26
+ # IMPORTANT: this permission is mandatory for Trusted Publishing
27
+ id-token: write
28
+
29
+ steps:
30
+ - uses: actions/checkout@v3
31
+ - name: Set up Python
32
+ uses: actions/setup-python@v3
33
+ with:
34
+ python-version: '3.9'
35
+ - name: Install dependencies
36
+ run: |
37
+ python -m pip install --upgrade pip
38
+ pip install -r requirements.txt
39
+ pip install build
40
+ - name: Build package
41
+ run: python -m build
42
+ - name: Publish package
43
+ uses: pypa/gh-action-pypi-publish@release/v1
@@ -0,0 +1,131 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib64/
18
+ parts/
19
+ sdist/
20
+ var/
21
+ wheels/
22
+ pip-wheel-metadata/
23
+ share/python-wheels/
24
+ *.egg-info/
25
+ .installed.cfg
26
+ *.egg
27
+ MANIFEST
28
+
29
+ # PyInstaller
30
+ # Usually these files are written by a python script from a template
31
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
32
+ *.manifest
33
+ *.spec
34
+
35
+ # Installer logs
36
+ pip-log.txt
37
+ pip-delete-this-directory.txt
38
+
39
+ # Unit test / coverage reports
40
+ htmlcov/
41
+ .tox/
42
+ .nox/
43
+ .coverage
44
+ .coverage.*
45
+ .cache
46
+ nosetests.xml
47
+ coverage.xml
48
+ *.cover
49
+ *.py,cover
50
+ .hypothesis/
51
+ .pytest_cache/
52
+
53
+ # Translations
54
+ *.mo
55
+ *.pot
56
+
57
+ # Django stuff:
58
+ *.log
59
+ local_settings.py
60
+ db.sqlite3
61
+ db.sqlite3-journal
62
+
63
+ # Flask stuff:
64
+ instance/
65
+ .webassets-cache
66
+
67
+ # Scrapy stuff:
68
+ .scrapy
69
+
70
+ # Sphinx documentation
71
+ balderhub-data/docs/_build/
72
+
73
+ # PyBuilder
74
+ target/
75
+
76
+ # Jupyter Notebook
77
+ .ipynb_checkpoints
78
+
79
+ # IPython
80
+ profile_default/
81
+ ipython_config.py
82
+
83
+ # pyenv
84
+ .python-version
85
+
86
+ # pipenv
87
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
88
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
89
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
90
+ # install all needed dependencies.
91
+ #Pipfile.lock
92
+
93
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow
94
+ __pypackages__/
95
+
96
+ # Celery stuff
97
+ celerybeat-schedule
98
+ celerybeat.pid
99
+
100
+ # SageMath parsed files
101
+ *.sage.py
102
+
103
+ # Environments
104
+ .env
105
+ .venv
106
+ env/
107
+ venv/
108
+ ENV/
109
+ env.bak/
110
+ venv.bak/
111
+
112
+ # Spyder project settings
113
+ .spyderproject
114
+ .spyproject
115
+
116
+ # Rope project settings
117
+ .ropeproject
118
+
119
+ # mkdocs documentation
120
+ /site
121
+
122
+ # mypy
123
+ .mypy_cache/
124
+ .dmypy.json
125
+ dmypy.json
126
+
127
+ # Pyre type checker
128
+ .pyre/
129
+
130
+ #project specific
131
+ /src/balderhub/data/_version.py