opendataframework 0.0.2__tar.gz → 0.0.4__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 (106) hide show
  1. {opendataframework-0.0.2 → opendataframework-0.0.4}/PKG-INFO +1 -1
  2. {opendataframework-0.0.2 → opendataframework-0.0.4}/pyproject.toml +1 -1
  3. {opendataframework-0.0.2 → opendataframework-0.0.4}/setup.py +12 -3
  4. opendataframework-0.0.4/src/opendataframework/README.md +43 -0
  5. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/__init__.py +1 -1
  6. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/__main__.py +631 -14
  7. opendataframework-0.0.4/src/opendataframework/api/inference/.env +7 -0
  8. opendataframework-0.0.4/src/opendataframework/api/inference/Dockerfile +16 -0
  9. opendataframework-0.0.4/src/opendataframework/api/inference/app/__init__.py +11 -0
  10. opendataframework-0.0.4/src/opendataframework/api/inference/app/config.py +14 -0
  11. opendataframework-0.0.4/src/opendataframework/api/inference/app/crud.py +14 -0
  12. opendataframework-0.0.4/src/opendataframework/api/inference/app/dependencies.py +19 -0
  13. opendataframework-0.0.4/src/opendataframework/api/inference/app/main.py +39 -0
  14. opendataframework-0.0.4/src/opendataframework/api/inference/app/models.py +20 -0
  15. opendataframework-0.0.4/src/opendataframework/api/inference/app/router.py +18 -0
  16. opendataframework-0.0.4/src/opendataframework/api/inference/docker-compose.yaml +16 -0
  17. opendataframework-0.0.4/src/opendataframework/api/inference/pyproject.toml +20 -0
  18. opendataframework-0.0.4/src/opendataframework/docs/index.md +1 -0
  19. opendataframework-0.0.4/src/opendataframework/docs/mkdocs.yml +56 -0
  20. opendataframework-0.0.4/src/opendataframework/docs/requirements.txt +1 -0
  21. opendataframework-0.0.4/src/opendataframework/docs/stylesheets/extra.css +8 -0
  22. opendataframework-0.0.4/src/opendataframework/github/workflows/ci.yaml +21 -0
  23. opendataframework-0.0.4/src/opendataframework/hooks/.pre-commit-config.yaml +29 -0
  24. opendataframework-0.0.4/src/opendataframework/hooks/requirements.txt +1 -0
  25. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/setup.sh +2 -0
  26. opendataframework-0.0.4/src/opendataframework/tests/__init__.py +1 -0
  27. opendataframework-0.0.4/src/opendataframework/tests/requirements.txt +2 -0
  28. opendataframework-0.0.4/src/opendataframework/tests/test_example.py +6 -0
  29. opendataframework-0.0.4/src/opendataframework/utility/nginx/Dockerfile +5 -0
  30. opendataframework-0.0.4/src/opendataframework/utility/nginx/docker-compose.yaml +14 -0
  31. opendataframework-0.0.4/src/opendataframework/utility/nginx/nginx.conf +6 -0
  32. opendataframework-0.0.4/src/opendataframework/utility/nginx/static/images/logo.svg +7 -0
  33. opendataframework-0.0.4/src/opendataframework/utility/nginx/static/index.html +39 -0
  34. opendataframework-0.0.2/src/opendataframework/README.md +0 -28
  35. opendataframework-0.0.2/src/opendataframework/analytics/build.sh +0 -2
  36. opendataframework-0.0.2/src/opendataframework/analytics/start.sh +0 -2
  37. opendataframework-0.0.2/src/opendataframework/analytics/stop.sh +0 -2
  38. opendataframework-0.0.2/src/opendataframework/api/build.sh +0 -2
  39. opendataframework-0.0.2/src/opendataframework/api/start.sh +0 -2
  40. opendataframework-0.0.2/src/opendataframework/api/stop.sh +0 -2
  41. opendataframework-0.0.2/src/opendataframework/build.sh +0 -1
  42. opendataframework-0.0.2/src/opendataframework/env.sh +0 -11
  43. opendataframework-0.0.2/src/opendataframework/main.sh +0 -42
  44. opendataframework-0.0.2/src/opendataframework/start.sh +0 -1
  45. opendataframework-0.0.2/src/opendataframework/stop.sh +0 -1
  46. opendataframework-0.0.2/src/opendataframework/storage/build.sh +0 -2
  47. opendataframework-0.0.2/src/opendataframework/storage/start.sh +0 -2
  48. opendataframework-0.0.2/src/opendataframework/storage/stop.sh +0 -2
  49. opendataframework-0.0.2/src/opendataframework/utility/build.sh +0 -2
  50. opendataframework-0.0.2/src/opendataframework/utility/start.sh +0 -2
  51. opendataframework-0.0.2/src/opendataframework/utility/stop.sh +0 -2
  52. {opendataframework-0.0.2 → opendataframework-0.0.4}/LICENSE +0 -0
  53. {opendataframework-0.0.2 → opendataframework-0.0.4}/README.md +0 -0
  54. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/analytics/setup.sh +0 -0
  55. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/analytics/superset/.env +0 -0
  56. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/analytics/superset/Dockerfile +0 -0
  57. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/analytics/superset/database/postgres/create.sh +0 -0
  58. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/analytics/superset/database/postgres/setup.sh +0 -0
  59. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/analytics/superset/docker-compose.yaml +0 -0
  60. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/analytics/superset/setup.sh +0 -0
  61. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/api/api-postgres/.env +0 -0
  62. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/api/api-postgres/Dockerfile +0 -0
  63. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/api/api-postgres/app/__init__.py +0 -0
  64. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/api/api-postgres/app/config.py +0 -0
  65. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/api/api-postgres/app/crud.py +0 -0
  66. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/api/api-postgres/app/database.py +0 -0
  67. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/api/api-postgres/app/dependencies.py +0 -0
  68. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/api/api-postgres/app/main.py +0 -0
  69. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/api/api-postgres/app/models.py +0 -0
  70. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/api/api-postgres/app/router.py +0 -0
  71. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/api/api-postgres/docker-compose.yaml +0 -0
  72. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/api/api-postgres/poetry.lock +0 -0
  73. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/api/api-postgres/pyproject.toml +0 -0
  74. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/api/ingest.py +0 -0
  75. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/api/requirements.txt +0 -0
  76. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/api/setup.sh +0 -0
  77. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/devcontainers/R/.devcontainer/.Rprofile +0 -0
  78. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/devcontainers/R/.devcontainer/Dockerfile +0 -0
  79. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/devcontainers/R/.devcontainer/devcontainer.json +0 -0
  80. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/devcontainers/python/.devcontainer/Dockerfile +0 -0
  81. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/devcontainers/python/.devcontainer/devcontainer.json +0 -0
  82. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/docker-compose.yaml +0 -0
  83. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/expectations.py +0 -0
  84. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/layouts/research/.vscode/extensions.json +0 -0
  85. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/layouts/research/code/build/.gitkeep +0 -0
  86. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/layouts/research/code/check/.gitkeep +0 -0
  87. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/layouts/research/code/learn/.gitkeep +0 -0
  88. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/layouts/research/code/share/.gitkeep +0 -0
  89. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/layouts/research/data/derived/.gitkeep +0 -0
  90. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/layouts/research/data/raw/.gitkeep +0 -0
  91. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/layouts/research/libraries/.gitkeep +0 -0
  92. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/layouts/research/logs/.gitkeep +0 -0
  93. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/layouts/research/models/.gitkeep +0 -0
  94. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/layouts/research/output/figures/.gitkeep +0 -0
  95. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/layouts/research/output/tables/.gitkeep +0 -0
  96. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/layouts/research/paper/.gitkeep +0 -0
  97. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/requirements.txt +0 -0
  98. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/storage/postgres/.env +0 -0
  99. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/storage/postgres/Dockerfile +0 -0
  100. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/storage/postgres/docker-compose.yaml +0 -0
  101. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/storage/postgres/setup.sh +0 -0
  102. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/storage/setup.sh +0 -0
  103. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/utility/setup.sh +0 -0
  104. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/utility/texlive/Dockerfile +0 -0
  105. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/utility/texlive/docker-compose.yaml +0 -0
  106. {opendataframework-0.0.2 → opendataframework-0.0.4}/src/opendataframework/utility/texlive/mnt/.gitkeep +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: opendataframework
3
- Version: 0.0.2
3
+ Version: 0.0.4
4
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
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "opendataframework"
3
- version = "0.0.2"
3
+ version = "0.0.4"
4
4
  description = "Open Data Framework is an open source, full stack data framework."
5
5
  authors = [
6
6
  "mykytapavlov <mykytapavlov@users.noreply.github.com>",
@@ -7,7 +7,9 @@ package_dir = \
7
7
  packages = \
8
8
  ['opendataframework',
9
9
  'opendataframework.api',
10
- 'opendataframework.api.api-postgres.app']
10
+ 'opendataframework.api.api-postgres.app',
11
+ 'opendataframework.api.inference.app',
12
+ 'opendataframework.tests']
11
13
 
12
14
  package_data = \
13
15
  {'': ['*'],
@@ -16,6 +18,10 @@ package_data = \
16
18
  'analytics/superset/database/postgres/*',
17
19
  'devcontainers/R/.devcontainer/*',
18
20
  'devcontainers/python/.devcontainer/*',
21
+ 'docs/*',
22
+ 'docs/stylesheets/*',
23
+ 'github/workflows/*',
24
+ 'hooks/*',
19
25
  'layouts/research/.vscode/*',
20
26
  'layouts/research/code/build/*',
21
27
  'layouts/research/code/check/*',
@@ -32,9 +38,12 @@ package_data = \
32
38
  'storage/*',
33
39
  'storage/postgres/*',
34
40
  'utility/*',
41
+ 'utility/nginx/*',
42
+ 'utility/nginx/static/*',
43
+ 'utility/nginx/static/images/*',
35
44
  'utility/texlive/*',
36
45
  'utility/texlive/mnt/*'],
37
- 'opendataframework.api': ['api-postgres/*']}
46
+ 'opendataframework.api': ['api-postgres/*', 'inference/*']}
38
47
 
39
48
  install_requires = \
40
49
  ['typer>=0.12.3,<0.13.0']
@@ -44,7 +53,7 @@ entry_points = \
44
53
 
45
54
  setup_kwargs = {
46
55
  'name': 'opendataframework',
47
- 'version': '0.0.2',
56
+ 'version': '0.0.4',
48
57
  'description': 'Open Data Framework is an open source, full stack data framework.',
49
58
  'long_description': '# Open Data Framework\nOpen source, full stack data framework.\n',
50
59
  'author': 'mykytapavlov',
@@ -0,0 +1,43 @@
1
+ # project_name
2
+
3
+ ### Build platform
4
+ Command builds platform's images.
5
+
6
+ ```sh
7
+ opendataframework build
8
+ ```
9
+
10
+ ### Start platform
11
+ Command starts platform's containers.
12
+
13
+ ```sh
14
+ opendataframework start
15
+ ```
16
+
17
+ ### Setup platform
18
+ Command setup platform's containers.
19
+
20
+ ```sh
21
+ opendataframework setup
22
+ ```
23
+
24
+ ### Install dependencies
25
+ Command creates `myproject/.venv/` and installs dependencies from `requirements.txt`.
26
+
27
+ ```sh
28
+ opendataframework install
29
+ ```
30
+
31
+ ### Docs
32
+ Command starts mkdocs server.
33
+
34
+ ```sh
35
+ opendataframework docs
36
+ ```
37
+
38
+ ### Test
39
+ Command runs tests.
40
+
41
+ ```sh
42
+ opendataframework test
43
+ ```
@@ -1,3 +1,3 @@
1
1
  """Open Data Framework package."""
2
2
 
3
- __version__ = "0.0.2"
3
+ __version__ = "0.0.4"