opendataframework 0.0.1__tar.gz → 0.0.2__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.
- {opendataframework-0.0.1 → opendataframework-0.0.2}/PKG-INFO +3 -2
- opendataframework-0.0.2/README.md +2 -0
- {opendataframework-0.0.1 → opendataframework-0.0.2}/pyproject.toml +4 -3
- opendataframework-0.0.2/setup.py +64 -0
- opendataframework-0.0.2/src/opendataframework/README.md +28 -0
- {opendataframework-0.0.1 → opendataframework-0.0.2}/src/opendataframework/__init__.py +1 -1
- opendataframework-0.0.2/src/opendataframework/__main__.py +1526 -0
- opendataframework-0.0.2/src/opendataframework/analytics/build.sh +2 -0
- opendataframework-0.0.2/src/opendataframework/analytics/setup.sh +1 -0
- opendataframework-0.0.2/src/opendataframework/analytics/start.sh +2 -0
- opendataframework-0.0.2/src/opendataframework/analytics/stop.sh +2 -0
- opendataframework-0.0.2/src/opendataframework/analytics/superset/.env +1 -0
- opendataframework-0.0.2/src/opendataframework/analytics/superset/Dockerfile +3 -0
- opendataframework-0.0.2/src/opendataframework/analytics/superset/database/postgres/create.sh +10 -0
- opendataframework-0.0.2/src/opendataframework/analytics/superset/database/postgres/setup.sh +25 -0
- opendataframework-0.0.2/src/opendataframework/analytics/superset/docker-compose.yaml +15 -0
- opendataframework-0.0.2/src/opendataframework/analytics/superset/setup.sh +16 -0
- opendataframework-0.0.2/src/opendataframework/api/api-postgres/.env +9 -0
- opendataframework-0.0.2/src/opendataframework/api/api-postgres/Dockerfile +16 -0
- opendataframework-0.0.2/src/opendataframework/api/api-postgres/app/__init__.py +11 -0
- opendataframework-0.0.2/src/opendataframework/api/api-postgres/app/config.py +17 -0
- opendataframework-0.0.2/src/opendataframework/api/api-postgres/app/crud.py +31 -0
- opendataframework-0.0.2/src/opendataframework/api/api-postgres/app/database.py +12 -0
- opendataframework-0.0.2/src/opendataframework/api/api-postgres/app/dependencies.py +11 -0
- opendataframework-0.0.2/src/opendataframework/api/api-postgres/app/main.py +46 -0
- opendataframework-0.0.2/src/opendataframework/api/api-postgres/app/models.py +32 -0
- opendataframework-0.0.2/src/opendataframework/api/api-postgres/app/router.py +76 -0
- opendataframework-0.0.2/src/opendataframework/api/api-postgres/docker-compose.yaml +16 -0
- opendataframework-0.0.2/src/opendataframework/api/api-postgres/poetry.lock +486 -0
- opendataframework-0.0.2/src/opendataframework/api/api-postgres/pyproject.toml +20 -0
- opendataframework-0.0.2/src/opendataframework/api/build.sh +2 -0
- opendataframework-0.0.2/src/opendataframework/api/ingest.py +179 -0
- opendataframework-0.0.2/src/opendataframework/api/requirements.txt +1 -0
- opendataframework-0.0.2/src/opendataframework/api/setup.sh +1 -0
- opendataframework-0.0.2/src/opendataframework/api/start.sh +2 -0
- opendataframework-0.0.2/src/opendataframework/api/stop.sh +2 -0
- opendataframework-0.0.2/src/opendataframework/build.sh +1 -0
- opendataframework-0.0.2/src/opendataframework/devcontainers/R/.devcontainer/.Rprofile +17 -0
- opendataframework-0.0.2/src/opendataframework/devcontainers/R/.devcontainer/Dockerfile +34 -0
- opendataframework-0.0.2/src/opendataframework/devcontainers/R/.devcontainer/devcontainer.json +43 -0
- opendataframework-0.0.2/src/opendataframework/devcontainers/python/.devcontainer/Dockerfile +3 -0
- opendataframework-0.0.2/src/opendataframework/devcontainers/python/.devcontainer/devcontainer.json +23 -0
- opendataframework-0.0.2/src/opendataframework/docker-compose.yaml +2 -0
- opendataframework-0.0.2/src/opendataframework/env.sh +11 -0
- opendataframework-0.0.2/src/opendataframework/expectations.py +76 -0
- opendataframework-0.0.2/src/opendataframework/layouts/research/.vscode/extensions.json +8 -0
- opendataframework-0.0.2/src/opendataframework/layouts/research/code/build/.gitkeep +0 -0
- opendataframework-0.0.2/src/opendataframework/layouts/research/code/check/.gitkeep +0 -0
- opendataframework-0.0.2/src/opendataframework/layouts/research/code/learn/.gitkeep +0 -0
- opendataframework-0.0.2/src/opendataframework/layouts/research/code/share/.gitkeep +0 -0
- opendataframework-0.0.2/src/opendataframework/layouts/research/data/derived/.gitkeep +0 -0
- opendataframework-0.0.2/src/opendataframework/layouts/research/data/raw/.gitkeep +0 -0
- opendataframework-0.0.2/src/opendataframework/layouts/research/libraries/.gitkeep +0 -0
- opendataframework-0.0.2/src/opendataframework/layouts/research/logs/.gitkeep +0 -0
- opendataframework-0.0.2/src/opendataframework/layouts/research/models/.gitkeep +0 -0
- opendataframework-0.0.2/src/opendataframework/layouts/research/output/figures/.gitkeep +0 -0
- opendataframework-0.0.2/src/opendataframework/layouts/research/output/tables/.gitkeep +0 -0
- opendataframework-0.0.2/src/opendataframework/layouts/research/paper/.gitkeep +0 -0
- opendataframework-0.0.2/src/opendataframework/main.sh +42 -0
- opendataframework-0.0.2/src/opendataframework/requirements.txt +1 -0
- opendataframework-0.0.2/src/opendataframework/setup.sh +1 -0
- opendataframework-0.0.2/src/opendataframework/start.sh +1 -0
- opendataframework-0.0.2/src/opendataframework/stop.sh +1 -0
- opendataframework-0.0.2/src/opendataframework/storage/build.sh +2 -0
- opendataframework-0.0.2/src/opendataframework/storage/postgres/.env +1 -0
- opendataframework-0.0.2/src/opendataframework/storage/postgres/Dockerfile +1 -0
- opendataframework-0.0.2/src/opendataframework/storage/postgres/docker-compose.yaml +16 -0
- opendataframework-0.0.2/src/opendataframework/storage/postgres/setup.sh +5 -0
- opendataframework-0.0.2/src/opendataframework/storage/setup.sh +1 -0
- opendataframework-0.0.2/src/opendataframework/storage/start.sh +2 -0
- opendataframework-0.0.2/src/opendataframework/storage/stop.sh +2 -0
- opendataframework-0.0.2/src/opendataframework/utility/build.sh +2 -0
- opendataframework-0.0.2/src/opendataframework/utility/setup.sh +1 -0
- opendataframework-0.0.2/src/opendataframework/utility/start.sh +2 -0
- opendataframework-0.0.2/src/opendataframework/utility/stop.sh +2 -0
- opendataframework-0.0.2/src/opendataframework/utility/texlive/Dockerfile +3 -0
- opendataframework-0.0.2/src/opendataframework/utility/texlive/docker-compose.yaml +15 -0
- opendataframework-0.0.2/src/opendataframework/utility/texlive/mnt/.gitkeep +0 -0
- opendataframework-0.0.1/README.md +0 -1
- opendataframework-0.0.1/setup.py +0 -38
- opendataframework-0.0.1/src/opendataframework/__main__.py +0 -63
- {opendataframework-0.0.1 → opendataframework-0.0.2}/LICENSE +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: opendataframework
|
|
3
|
-
Version: 0.0.
|
|
4
|
-
Summary: Open Data Framework
|
|
3
|
+
Version: 0.0.2
|
|
4
|
+
Summary: Open Data Framework is an open source, full stack data framework.
|
|
5
5
|
Home-page: https://github.com/opendataframework/opendataframework
|
|
6
6
|
License: MIT
|
|
7
7
|
Author: mykytapavlov
|
|
@@ -15,4 +15,5 @@ Project-URL: Repository, https://github.com/opendataframework/opendataframework
|
|
|
15
15
|
Description-Content-Type: text/markdown
|
|
16
16
|
|
|
17
17
|
# Open Data Framework
|
|
18
|
+
Open source, full stack data framework.
|
|
18
19
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "opendataframework"
|
|
3
|
-
version = "0.0.
|
|
4
|
-
description = "Open Data Framework"
|
|
3
|
+
version = "0.0.2"
|
|
4
|
+
description = "Open Data Framework is an open source, full stack data framework."
|
|
5
5
|
authors = [
|
|
6
|
-
"mykytapavlov <mykytapavlov@users.noreply.github.com>",
|
|
6
|
+
"mykytapavlov <mykytapavlov@users.noreply.github.com>",
|
|
7
7
|
"Illia Polovnikov <polovnikov.illia@gmail.com>"
|
|
8
8
|
]
|
|
9
9
|
repository = "https://github.com/opendataframework/opendataframework"
|
|
@@ -22,6 +22,7 @@ pytest = "^8.2.2"
|
|
|
22
22
|
pre-commit = "^3.7.1"
|
|
23
23
|
mkdocs-material = "^9.5.28"
|
|
24
24
|
pytest-cov = "^5.0.0"
|
|
25
|
+
termynal = "^0.12.1"
|
|
25
26
|
|
|
26
27
|
[tool.ruff]
|
|
27
28
|
line-length = 88
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
from setuptools import setup
|
|
3
|
+
|
|
4
|
+
package_dir = \
|
|
5
|
+
{'': 'src'}
|
|
6
|
+
|
|
7
|
+
packages = \
|
|
8
|
+
['opendataframework',
|
|
9
|
+
'opendataframework.api',
|
|
10
|
+
'opendataframework.api.api-postgres.app']
|
|
11
|
+
|
|
12
|
+
package_data = \
|
|
13
|
+
{'': ['*'],
|
|
14
|
+
'opendataframework': ['analytics/*',
|
|
15
|
+
'analytics/superset/*',
|
|
16
|
+
'analytics/superset/database/postgres/*',
|
|
17
|
+
'devcontainers/R/.devcontainer/*',
|
|
18
|
+
'devcontainers/python/.devcontainer/*',
|
|
19
|
+
'layouts/research/.vscode/*',
|
|
20
|
+
'layouts/research/code/build/*',
|
|
21
|
+
'layouts/research/code/check/*',
|
|
22
|
+
'layouts/research/code/learn/*',
|
|
23
|
+
'layouts/research/code/share/*',
|
|
24
|
+
'layouts/research/data/derived/*',
|
|
25
|
+
'layouts/research/data/raw/*',
|
|
26
|
+
'layouts/research/libraries/*',
|
|
27
|
+
'layouts/research/logs/*',
|
|
28
|
+
'layouts/research/models/*',
|
|
29
|
+
'layouts/research/output/figures/*',
|
|
30
|
+
'layouts/research/output/tables/*',
|
|
31
|
+
'layouts/research/paper/*',
|
|
32
|
+
'storage/*',
|
|
33
|
+
'storage/postgres/*',
|
|
34
|
+
'utility/*',
|
|
35
|
+
'utility/texlive/*',
|
|
36
|
+
'utility/texlive/mnt/*'],
|
|
37
|
+
'opendataframework.api': ['api-postgres/*']}
|
|
38
|
+
|
|
39
|
+
install_requires = \
|
|
40
|
+
['typer>=0.12.3,<0.13.0']
|
|
41
|
+
|
|
42
|
+
entry_points = \
|
|
43
|
+
{'console_scripts': ['opendataframework = opendataframework.__main__:main']}
|
|
44
|
+
|
|
45
|
+
setup_kwargs = {
|
|
46
|
+
'name': 'opendataframework',
|
|
47
|
+
'version': '0.0.2',
|
|
48
|
+
'description': 'Open Data Framework is an open source, full stack data framework.',
|
|
49
|
+
'long_description': '# Open Data Framework\nOpen source, full stack data framework.\n',
|
|
50
|
+
'author': 'mykytapavlov',
|
|
51
|
+
'author_email': 'mykytapavlov@users.noreply.github.com',
|
|
52
|
+
'maintainer': 'None',
|
|
53
|
+
'maintainer_email': 'None',
|
|
54
|
+
'url': 'https://github.com/opendataframework/opendataframework',
|
|
55
|
+
'package_dir': package_dir,
|
|
56
|
+
'packages': packages,
|
|
57
|
+
'package_data': package_data,
|
|
58
|
+
'install_requires': install_requires,
|
|
59
|
+
'entry_points': entry_points,
|
|
60
|
+
'python_requires': '>=3.11,<4.0',
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
setup(**setup_kwargs)
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# project_name
|
|
2
|
+
|
|
3
|
+
## Build & setup platform
|
|
4
|
+
```sh
|
|
5
|
+
chmod +x ./main.sh && source ./main.sh
|
|
6
|
+
```
|
|
7
|
+
|
|
8
|
+
## Start platform
|
|
9
|
+
```sh
|
|
10
|
+
cd platform && ./start.sh && cd ..
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Stop platform
|
|
14
|
+
```sh
|
|
15
|
+
cd platform && ./stop.sh && cd ..
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Expectations
|
|
19
|
+
```sh
|
|
20
|
+
# [activate venv] source .venv/bin/activate
|
|
21
|
+
python expectations.py -d data/raw/
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Ingest
|
|
25
|
+
```sh
|
|
26
|
+
# [activate venv] source .venv/bin/activate
|
|
27
|
+
python ingest.py -d data/raw/
|
|
28
|
+
```
|