opendataframework 0.0.1__tar.gz → 0.0.3__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 (80) hide show
  1. {opendataframework-0.0.1 → opendataframework-0.0.3}/PKG-INFO +3 -2
  2. opendataframework-0.0.3/README.md +2 -0
  3. {opendataframework-0.0.1 → opendataframework-0.0.3}/pyproject.toml +4 -3
  4. opendataframework-0.0.3/setup.py +72 -0
  5. opendataframework-0.0.3/src/opendataframework/README.md +43 -0
  6. {opendataframework-0.0.1 → opendataframework-0.0.3}/src/opendataframework/__init__.py +1 -1
  7. opendataframework-0.0.3/src/opendataframework/__main__.py +1984 -0
  8. opendataframework-0.0.3/src/opendataframework/analytics/setup.sh +1 -0
  9. opendataframework-0.0.3/src/opendataframework/analytics/superset/.env +1 -0
  10. opendataframework-0.0.3/src/opendataframework/analytics/superset/Dockerfile +3 -0
  11. opendataframework-0.0.3/src/opendataframework/analytics/superset/database/postgres/create.sh +10 -0
  12. opendataframework-0.0.3/src/opendataframework/analytics/superset/database/postgres/setup.sh +25 -0
  13. opendataframework-0.0.3/src/opendataframework/analytics/superset/docker-compose.yaml +15 -0
  14. opendataframework-0.0.3/src/opendataframework/analytics/superset/setup.sh +16 -0
  15. opendataframework-0.0.3/src/opendataframework/api/api-postgres/.env +9 -0
  16. opendataframework-0.0.3/src/opendataframework/api/api-postgres/Dockerfile +16 -0
  17. opendataframework-0.0.3/src/opendataframework/api/api-postgres/app/__init__.py +11 -0
  18. opendataframework-0.0.3/src/opendataframework/api/api-postgres/app/config.py +17 -0
  19. opendataframework-0.0.3/src/opendataframework/api/api-postgres/app/crud.py +31 -0
  20. opendataframework-0.0.3/src/opendataframework/api/api-postgres/app/database.py +12 -0
  21. opendataframework-0.0.3/src/opendataframework/api/api-postgres/app/dependencies.py +11 -0
  22. opendataframework-0.0.3/src/opendataframework/api/api-postgres/app/main.py +46 -0
  23. opendataframework-0.0.3/src/opendataframework/api/api-postgres/app/models.py +32 -0
  24. opendataframework-0.0.3/src/opendataframework/api/api-postgres/app/router.py +76 -0
  25. opendataframework-0.0.3/src/opendataframework/api/api-postgres/docker-compose.yaml +16 -0
  26. opendataframework-0.0.3/src/opendataframework/api/api-postgres/poetry.lock +486 -0
  27. opendataframework-0.0.3/src/opendataframework/api/api-postgres/pyproject.toml +20 -0
  28. opendataframework-0.0.3/src/opendataframework/api/ingest.py +179 -0
  29. opendataframework-0.0.3/src/opendataframework/api/requirements.txt +1 -0
  30. opendataframework-0.0.3/src/opendataframework/api/setup.sh +1 -0
  31. opendataframework-0.0.3/src/opendataframework/devcontainers/R/.devcontainer/.Rprofile +17 -0
  32. opendataframework-0.0.3/src/opendataframework/devcontainers/R/.devcontainer/Dockerfile +34 -0
  33. opendataframework-0.0.3/src/opendataframework/devcontainers/R/.devcontainer/devcontainer.json +43 -0
  34. opendataframework-0.0.3/src/opendataframework/devcontainers/python/.devcontainer/Dockerfile +3 -0
  35. opendataframework-0.0.3/src/opendataframework/devcontainers/python/.devcontainer/devcontainer.json +23 -0
  36. opendataframework-0.0.3/src/opendataframework/docker-compose.yaml +2 -0
  37. opendataframework-0.0.3/src/opendataframework/docs/index.md +1 -0
  38. opendataframework-0.0.3/src/opendataframework/docs/mkdocs.yml +56 -0
  39. opendataframework-0.0.3/src/opendataframework/docs/requirements.txt +1 -0
  40. opendataframework-0.0.3/src/opendataframework/docs/stylesheets/extra.css +8 -0
  41. opendataframework-0.0.3/src/opendataframework/expectations.py +76 -0
  42. opendataframework-0.0.3/src/opendataframework/github/workflows/ci.yaml +21 -0
  43. opendataframework-0.0.3/src/opendataframework/hooks/.pre-commit-config.yaml +29 -0
  44. opendataframework-0.0.3/src/opendataframework/hooks/requirements.txt +1 -0
  45. opendataframework-0.0.3/src/opendataframework/layouts/research/.vscode/extensions.json +8 -0
  46. opendataframework-0.0.3/src/opendataframework/layouts/research/code/build/.gitkeep +0 -0
  47. opendataframework-0.0.3/src/opendataframework/layouts/research/code/check/.gitkeep +0 -0
  48. opendataframework-0.0.3/src/opendataframework/layouts/research/code/learn/.gitkeep +0 -0
  49. opendataframework-0.0.3/src/opendataframework/layouts/research/code/share/.gitkeep +0 -0
  50. opendataframework-0.0.3/src/opendataframework/layouts/research/data/derived/.gitkeep +0 -0
  51. opendataframework-0.0.3/src/opendataframework/layouts/research/data/raw/.gitkeep +0 -0
  52. opendataframework-0.0.3/src/opendataframework/layouts/research/libraries/.gitkeep +0 -0
  53. opendataframework-0.0.3/src/opendataframework/layouts/research/logs/.gitkeep +0 -0
  54. opendataframework-0.0.3/src/opendataframework/layouts/research/models/.gitkeep +0 -0
  55. opendataframework-0.0.3/src/opendataframework/layouts/research/output/figures/.gitkeep +0 -0
  56. opendataframework-0.0.3/src/opendataframework/layouts/research/output/tables/.gitkeep +0 -0
  57. opendataframework-0.0.3/src/opendataframework/layouts/research/paper/.gitkeep +0 -0
  58. opendataframework-0.0.3/src/opendataframework/requirements.txt +1 -0
  59. opendataframework-0.0.3/src/opendataframework/setup.sh +3 -0
  60. opendataframework-0.0.3/src/opendataframework/storage/postgres/.env +1 -0
  61. opendataframework-0.0.3/src/opendataframework/storage/postgres/Dockerfile +1 -0
  62. opendataframework-0.0.3/src/opendataframework/storage/postgres/docker-compose.yaml +16 -0
  63. opendataframework-0.0.3/src/opendataframework/storage/postgres/setup.sh +5 -0
  64. opendataframework-0.0.3/src/opendataframework/storage/setup.sh +1 -0
  65. opendataframework-0.0.3/src/opendataframework/tests/__init__.py +1 -0
  66. opendataframework-0.0.3/src/opendataframework/tests/requirements.txt +2 -0
  67. opendataframework-0.0.3/src/opendataframework/tests/test_example.py +6 -0
  68. opendataframework-0.0.3/src/opendataframework/utility/nginx/Dockerfile +5 -0
  69. opendataframework-0.0.3/src/opendataframework/utility/nginx/docker-compose.yaml +14 -0
  70. opendataframework-0.0.3/src/opendataframework/utility/nginx/nginx.conf +6 -0
  71. opendataframework-0.0.3/src/opendataframework/utility/nginx/static/images/logo.svg +7 -0
  72. opendataframework-0.0.3/src/opendataframework/utility/nginx/static/index.html +39 -0
  73. opendataframework-0.0.3/src/opendataframework/utility/setup.sh +1 -0
  74. opendataframework-0.0.3/src/opendataframework/utility/texlive/Dockerfile +3 -0
  75. opendataframework-0.0.3/src/opendataframework/utility/texlive/docker-compose.yaml +15 -0
  76. opendataframework-0.0.3/src/opendataframework/utility/texlive/mnt/.gitkeep +0 -0
  77. opendataframework-0.0.1/README.md +0 -1
  78. opendataframework-0.0.1/setup.py +0 -38
  79. opendataframework-0.0.1/src/opendataframework/__main__.py +0 -63
  80. {opendataframework-0.0.1 → opendataframework-0.0.3}/LICENSE +0 -0
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: opendataframework
3
- Version: 0.0.1
4
- Summary: Open Data Framework
3
+ Version: 0.0.3
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
 
@@ -0,0 +1,2 @@
1
+ # Open Data Framework
2
+ Open source, full stack data framework.
@@ -1,9 +1,9 @@
1
1
  [tool.poetry]
2
2
  name = "opendataframework"
3
- version = "0.0.1"
4
- description = "Open Data Framework"
3
+ version = "0.0.3"
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,72 @@
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
+ 'opendataframework.tests']
12
+
13
+ package_data = \
14
+ {'': ['*'],
15
+ 'opendataframework': ['analytics/*',
16
+ 'analytics/superset/*',
17
+ 'analytics/superset/database/postgres/*',
18
+ 'devcontainers/R/.devcontainer/*',
19
+ 'devcontainers/python/.devcontainer/*',
20
+ 'docs/*',
21
+ 'docs/stylesheets/*',
22
+ 'github/workflows/*',
23
+ 'hooks/*',
24
+ 'layouts/research/.vscode/*',
25
+ 'layouts/research/code/build/*',
26
+ 'layouts/research/code/check/*',
27
+ 'layouts/research/code/learn/*',
28
+ 'layouts/research/code/share/*',
29
+ 'layouts/research/data/derived/*',
30
+ 'layouts/research/data/raw/*',
31
+ 'layouts/research/libraries/*',
32
+ 'layouts/research/logs/*',
33
+ 'layouts/research/models/*',
34
+ 'layouts/research/output/figures/*',
35
+ 'layouts/research/output/tables/*',
36
+ 'layouts/research/paper/*',
37
+ 'storage/*',
38
+ 'storage/postgres/*',
39
+ 'utility/*',
40
+ 'utility/nginx/*',
41
+ 'utility/nginx/static/*',
42
+ 'utility/nginx/static/images/*',
43
+ 'utility/texlive/*',
44
+ 'utility/texlive/mnt/*'],
45
+ 'opendataframework.api': ['api-postgres/*']}
46
+
47
+ install_requires = \
48
+ ['typer>=0.12.3,<0.13.0']
49
+
50
+ entry_points = \
51
+ {'console_scripts': ['opendataframework = opendataframework.__main__:main']}
52
+
53
+ setup_kwargs = {
54
+ 'name': 'opendataframework',
55
+ 'version': '0.0.3',
56
+ 'description': 'Open Data Framework is an open source, full stack data framework.',
57
+ 'long_description': '# Open Data Framework\nOpen source, full stack data framework.\n',
58
+ 'author': 'mykytapavlov',
59
+ 'author_email': 'mykytapavlov@users.noreply.github.com',
60
+ 'maintainer': 'None',
61
+ 'maintainer_email': 'None',
62
+ 'url': 'https://github.com/opendataframework/opendataframework',
63
+ 'package_dir': package_dir,
64
+ 'packages': packages,
65
+ 'package_data': package_data,
66
+ 'install_requires': install_requires,
67
+ 'entry_points': entry_points,
68
+ 'python_requires': '>=3.11,<4.0',
69
+ }
70
+
71
+
72
+ setup(**setup_kwargs)
@@ -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.1"
3
+ __version__ = "0.0.3"