bazis-bg 2.2.0__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.
- bazis_bg-2.2.0/.dockerignore +3 -0
- bazis_bg-2.2.0/.github/workflows/build-publish.yml +16 -0
- bazis_bg-2.2.0/.github/workflows/update-licenses.yml +18 -0
- bazis_bg-2.2.0/.gitignore +44 -0
- bazis_bg-2.2.0/PKG-INFO +992 -0
- bazis_bg-2.2.0/README.md +963 -0
- bazis_bg-2.2.0/bazis/contrib/bg/__init__.py +22 -0
- bazis_bg-2.2.0/bazis/contrib/bg/_version.py +34 -0
- bazis_bg-2.2.0/bazis/contrib/bg/admin.py +28 -0
- bazis_bg-2.2.0/bazis/contrib/bg/admin_abstract.py +324 -0
- bazis_bg-2.2.0/bazis/contrib/bg/admin_tags.py +153 -0
- bazis_bg-2.2.0/bazis/contrib/bg/apps.py +36 -0
- bazis_bg-2.2.0/bazis/contrib/bg/basic/__init__.py +14 -0
- bazis_bg-2.2.0/bazis/contrib/bg/basic/base.py +426 -0
- bazis_bg-2.2.0/bazis/contrib/bg/basic/base_download.py +314 -0
- bazis_bg-2.2.0/bazis/contrib/bg/basic/base_download_model.py +44 -0
- bazis_bg-2.2.0/bazis/contrib/bg/basic/base_load.py +128 -0
- bazis_bg-2.2.0/bazis/contrib/bg/basic/fixture_download.py +54 -0
- bazis_bg-2.2.0/bazis/contrib/bg/basic/fixture_load.py +45 -0
- bazis_bg-2.2.0/bazis/contrib/bg/bg/__init__.py +14 -0
- bazis_bg-2.2.0/bazis/contrib/bg/bg/tasks_clean.py +43 -0
- bazis_bg-2.2.0/bazis/contrib/bg/conf.py +49 -0
- bazis_bg-2.2.0/bazis/contrib/bg/management/__init__.py +14 -0
- bazis_bg-2.2.0/bazis/contrib/bg/management/commands/__init__.py +14 -0
- bazis_bg-2.2.0/bazis/contrib/bg/management/commands/bg_handler.py +119 -0
- bazis_bg-2.2.0/bazis/contrib/bg/management/commands/bg_scheduler.py +303 -0
- bazis_bg-2.2.0/bazis/contrib/bg/management/commands/bg_task.py +27 -0
- bazis_bg-2.2.0/bazis/contrib/bg/management/commands/cleanup_init.py +33 -0
- bazis_bg-2.2.0/bazis/contrib/bg/migrations/0001_initial.py +117 -0
- bazis_bg-2.2.0/bazis/contrib/bg/migrations/0002_alter_task_file.py +35 -0
- bazis_bg-2.2.0/bazis/contrib/bg/migrations/0003_alter_task_phase.py +34 -0
- bazis_bg-2.2.0/bazis/contrib/bg/migrations/__init__.py +14 -0
- bazis_bg-2.2.0/bazis/contrib/bg/models.py +32 -0
- bazis_bg-2.2.0/bazis/contrib/bg/models_abstract.py +150 -0
- bazis_bg-2.2.0/bazis/contrib/bg/router.py +22 -0
- bazis_bg-2.2.0/bazis/contrib/bg/routes.py +22 -0
- bazis_bg-2.2.0/bazis/contrib/bg/static/admin/js/file_load.js +18 -0
- bazis_bg-2.2.0/bazis/contrib/bg/static/admin/js/jquery-3.5.1.min.js +2 -0
- bazis_bg-2.2.0/bazis/contrib/bg/templates/admin/base.html +9 -0
- bazis_bg-2.2.0/bazis/contrib/bg/templates/admin/change_list.html +10 -0
- bazis_bg-2.2.0/bazis/contrib/bg/templates/admin/pagination.html +12 -0
- bazis_bg-2.2.0/bazis/contrib/bg/utils.py +165 -0
- bazis_bg-2.2.0/bazis_bg.egg-info/PKG-INFO +992 -0
- bazis_bg-2.2.0/bazis_bg.egg-info/SOURCES.txt +72 -0
- bazis_bg-2.2.0/bazis_bg.egg-info/dependency_links.txt +1 -0
- bazis_bg-2.2.0/bazis_bg.egg-info/requires.txt +11 -0
- bazis_bg-2.2.0/bazis_bg.egg-info/top_level.txt +1 -0
- bazis_bg-2.2.0/pyproject.toml +97 -0
- bazis_bg-2.2.0/pytest.ini +3 -0
- bazis_bg-2.2.0/sample/entity/__init__.py +14 -0
- bazis_bg-2.2.0/sample/entity/admin.py +63 -0
- bazis_bg-2.2.0/sample/entity/bg/__init__.py +14 -0
- bazis_bg-2.2.0/sample/entity/bg/calc_data.py +33 -0
- bazis_bg-2.2.0/sample/entity/migrations/0001_initial.py +183 -0
- bazis_bg-2.2.0/sample/entity/migrations/0002_remove_parententitysimple_child_entities_and_more.py +91 -0
- bazis_bg-2.2.0/sample/entity/migrations/__init__.py +14 -0
- bazis_bg-2.2.0/sample/entity/models.py +64 -0
- bazis_bg-2.2.0/sample/entity/router.py +24 -0
- bazis_bg-2.2.0/sample/entity/routes.py +49 -0
- bazis_bg-2.2.0/sample/manage.py +35 -0
- bazis_bg-2.2.0/sample/project.env +9 -0
- bazis_bg-2.2.0/sample/pyproject.toml +14 -0
- bazis_bg-2.2.0/sample/sample/__init__.py +14 -0
- bazis_bg-2.2.0/sample/sample/main.py +24 -0
- bazis_bg-2.2.0/sample/sample/router.py +21 -0
- bazis_bg-2.2.0/sample/sample/settings.py +15 -0
- bazis_bg-2.2.0/sample/sample/urls.py +29 -0
- bazis_bg-2.2.0/sample/sample/wsgi.py +22 -0
- bazis_bg-2.2.0/sample/uv.lock +1367 -0
- bazis_bg-2.2.0/setup.cfg +4 -0
- bazis_bg-2.2.0/tests/__init__.py +14 -0
- bazis_bg-2.2.0/tests/conftest.py +30 -0
- bazis_bg-2.2.0/tests/factories.py +36 -0
- bazis_bg-2.2.0/tests/test_bg.py +43 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
name: Build and Publish
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- 'v*.*.*'
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: write
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
build:
|
|
13
|
+
uses: ecofuture-tech/.github/.github/workflows/reusable-build-publish.yml@main
|
|
14
|
+
secrets:
|
|
15
|
+
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
|
|
16
|
+
TEST_PYPI_TOKEN: ${{ secrets.TEST_PYPI_TOKEN }}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
name: Update Licenses
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
paths:
|
|
8
|
+
- '**.py'
|
|
9
|
+
- 'pyproject.toml'
|
|
10
|
+
|
|
11
|
+
permissions:
|
|
12
|
+
contents: write
|
|
13
|
+
|
|
14
|
+
jobs:
|
|
15
|
+
update-licenses:
|
|
16
|
+
uses: ecofuture-tech/.github/.github/workflows/reusable-update-licenses.yml@main
|
|
17
|
+
secrets:
|
|
18
|
+
WORKFLOW_LICENSE_TOKEN: ${{ secrets.WORKFLOW_LICENSE_TOKEN }}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
.idea
|
|
2
|
+
.ipynb_checkpoints
|
|
3
|
+
.mypy_cache
|
|
4
|
+
.vscode
|
|
5
|
+
__pycache__
|
|
6
|
+
.pytest_cache
|
|
7
|
+
htmlcov
|
|
8
|
+
dist
|
|
9
|
+
site
|
|
10
|
+
.coverage
|
|
11
|
+
coverage.xml
|
|
12
|
+
.netlify
|
|
13
|
+
test.db
|
|
14
|
+
log.txt
|
|
15
|
+
Pipfile.lock
|
|
16
|
+
env3.*
|
|
17
|
+
env
|
|
18
|
+
docs_build
|
|
19
|
+
venv
|
|
20
|
+
.venv
|
|
21
|
+
docs.zip
|
|
22
|
+
archive.zip
|
|
23
|
+
|
|
24
|
+
.env
|
|
25
|
+
local.env
|
|
26
|
+
*/.env*
|
|
27
|
+
|
|
28
|
+
# vim temporary files
|
|
29
|
+
*~
|
|
30
|
+
.*.sw?
|
|
31
|
+
*.DS_Store
|
|
32
|
+
|
|
33
|
+
*.egg-info
|
|
34
|
+
build
|
|
35
|
+
dist
|
|
36
|
+
|
|
37
|
+
docs/_autosummary
|
|
38
|
+
docs/_build
|
|
39
|
+
*.DS_Store
|
|
40
|
+
*.log
|
|
41
|
+
my-*
|
|
42
|
+
My*
|
|
43
|
+
*/**/_version.py
|
|
44
|
+
/uv.lock
|