joop 0.0.1__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.
- joop-0.0.1/PKG-INFO +133 -0
- joop-0.0.1/README.md +105 -0
- joop-0.0.1/docs/Makefile +20 -0
- joop-0.0.1/docs/build/html/.buildinfo +4 -0
- joop-0.0.1/docs/build/html/.buildinfo.bak +4 -0
- joop-0.0.1/docs/build/html/.doctrees/_autosummary/joop.cli.doctree +0 -0
- joop-0.0.1/docs/build/html/.doctrees/_autosummary/joop.cli.test_flask.doctree +0 -0
- joop-0.0.1/docs/build/html/.doctrees/_autosummary/joop.dao.doctree +0 -0
- joop-0.0.1/docs/build/html/.doctrees/_autosummary/joop.flask.doctree +0 -0
- joop-0.0.1/docs/build/html/.doctrees/_autosummary/joop.flask.example.doctree +0 -0
- joop-0.0.1/docs/build/html/.doctrees/_autosummary/joop.flask.flask_view.doctree +0 -0
- joop-0.0.1/docs/build/html/.doctrees/_autosummary/joop.http.doctree +0 -0
- joop-0.0.1/docs/build/html/.doctrees/_autosummary/joop.http.methods.doctree +0 -0
- joop-0.0.1/docs/build/html/.doctrees/_autosummary/joop.web.alpine_js.doctree +0 -0
- joop-0.0.1/docs/build/html/.doctrees/_autosummary/joop.web.component.doctree +0 -0
- joop-0.0.1/docs/build/html/.doctrees/_autosummary/joop.web.components.doctree +0 -0
- joop-0.0.1/docs/build/html/.doctrees/_autosummary/joop.web.doctree +0 -0
- joop-0.0.1/docs/build/html/.doctrees/_autosummary/joop.web.html.doctree +0 -0
- joop-0.0.1/docs/build/html/.doctrees/_autosummary/joop.web.j_env.doctree +0 -0
- joop-0.0.1/docs/build/html/.doctrees/_autosummary/joop.web.templater.doctree +0 -0
- joop-0.0.1/docs/build/html/.doctrees/_autosummary/joop.web.view.doctree +0 -0
- joop-0.0.1/docs/build/html/.doctrees/changelog.doctree +0 -0
- joop-0.0.1/docs/build/html/.doctrees/environment.pickle +0 -0
- joop-0.0.1/docs/build/html/.doctrees/index.doctree +0 -0
- joop-0.0.1/docs/build/html/.doctrees/modules.doctree +0 -0
- joop-0.0.1/docs/build/html/_autosummary/joop.cli.html +127 -0
- joop-0.0.1/docs/build/html/_autosummary/joop.cli.test_flask.html +153 -0
- joop-0.0.1/docs/build/html/_autosummary/joop.dao.html +330 -0
- joop-0.0.1/docs/build/html/_autosummary/joop.flask.example.html +350 -0
- joop-0.0.1/docs/build/html/_autosummary/joop.flask.flask_view.html +220 -0
- joop-0.0.1/docs/build/html/_autosummary/joop.flask.html +147 -0
- joop-0.0.1/docs/build/html/_autosummary/joop.http.html +127 -0
- joop-0.0.1/docs/build/html/_autosummary/joop.http.methods.html +634 -0
- joop-0.0.1/docs/build/html/_autosummary/joop.web.alpine_js.html +105 -0
- joop-0.0.1/docs/build/html/_autosummary/joop.web.component.html +476 -0
- joop-0.0.1/docs/build/html/_autosummary/joop.web.components.html +534 -0
- joop-0.0.1/docs/build/html/_autosummary/joop.web.html +150 -0
- joop-0.0.1/docs/build/html/_autosummary/joop.web.html.html +461 -0
- joop-0.0.1/docs/build/html/_autosummary/joop.web.j_env.html +171 -0
- joop-0.0.1/docs/build/html/_autosummary/joop.web.templater.html +265 -0
- joop-0.0.1/docs/build/html/_autosummary/joop.web.view.html +284 -0
- joop-0.0.1/docs/build/html/_modules/index.html +111 -0
- joop-0.0.1/docs/build/html/_modules/joop/cli/test_flask.html +142 -0
- joop-0.0.1/docs/build/html/_modules/joop/dao.html +272 -0
- joop-0.0.1/docs/build/html/_modules/joop/flask/example.html +131 -0
- joop-0.0.1/docs/build/html/_modules/joop/flask/flask_view.html +180 -0
- joop-0.0.1/docs/build/html/_modules/joop/http/methods.html +158 -0
- joop-0.0.1/docs/build/html/_modules/joop/web/alpine_js.html +166 -0
- joop-0.0.1/docs/build/html/_modules/joop/web/component.html +290 -0
- joop-0.0.1/docs/build/html/_modules/joop/web/components.html +243 -0
- joop-0.0.1/docs/build/html/_modules/joop/web/html.html +345 -0
- joop-0.0.1/docs/build/html/_modules/joop/web/j_env.html +148 -0
- joop-0.0.1/docs/build/html/_modules/joop/web/templater.html +254 -0
- joop-0.0.1/docs/build/html/_modules/joop/web/view.html +338 -0
- joop-0.0.1/docs/build/html/_modules/joop.html +113 -0
- joop-0.0.1/docs/build/html/_sources/_autosummary/joop.cli.rst.txt +13 -0
- joop-0.0.1/docs/build/html/_sources/_autosummary/joop.cli.test_flask.rst.txt +12 -0
- joop-0.0.1/docs/build/html/_sources/_autosummary/joop.dao.rst.txt +13 -0
- joop-0.0.1/docs/build/html/_sources/_autosummary/joop.flask.example.rst.txt +14 -0
- joop-0.0.1/docs/build/html/_sources/_autosummary/joop.flask.flask_view.rst.txt +12 -0
- joop-0.0.1/docs/build/html/_sources/_autosummary/joop.flask.rst.txt +14 -0
- joop-0.0.1/docs/build/html/_sources/_autosummary/joop.http.methods.rst.txt +12 -0
- joop-0.0.1/docs/build/html/_sources/_autosummary/joop.http.rst.txt +13 -0
- joop-0.0.1/docs/build/html/_sources/_autosummary/joop.web.alpine_js.rst.txt +13 -0
- joop-0.0.1/docs/build/html/_sources/_autosummary/joop.web.component.rst.txt +13 -0
- joop-0.0.1/docs/build/html/_sources/_autosummary/joop.web.components.rst.txt +15 -0
- joop-0.0.1/docs/build/html/_sources/_autosummary/joop.web.html.rst.txt +13 -0
- joop-0.0.1/docs/build/html/_sources/_autosummary/joop.web.j_env.rst.txt +13 -0
- joop-0.0.1/docs/build/html/_sources/_autosummary/joop.web.rst.txt +18 -0
- joop-0.0.1/docs/build/html/_sources/_autosummary/joop.web.templater.rst.txt +12 -0
- joop-0.0.1/docs/build/html/_sources/_autosummary/joop.web.view.rst.txt +12 -0
- joop-0.0.1/docs/build/html/_sources/changelog.rst.txt +6 -0
- joop-0.0.1/docs/build/html/_sources/index.rst.txt +28 -0
- joop-0.0.1/docs/build/html/_sources/modules.rst.txt +17 -0
- joop-0.0.1/docs/build/html/_static/alabaster.css +663 -0
- joop-0.0.1/docs/build/html/_static/basic.css +914 -0
- joop-0.0.1/docs/build/html/_static/custom.css +1 -0
- joop-0.0.1/docs/build/html/_static/doctools.js +149 -0
- joop-0.0.1/docs/build/html/_static/documentation_options.js +13 -0
- joop-0.0.1/docs/build/html/_static/file.png +0 -0
- joop-0.0.1/docs/build/html/_static/github-banner.svg +5 -0
- joop-0.0.1/docs/build/html/_static/language_data.js +192 -0
- joop-0.0.1/docs/build/html/_static/minus.png +0 -0
- joop-0.0.1/docs/build/html/_static/plus.png +0 -0
- joop-0.0.1/docs/build/html/_static/pygments.css +84 -0
- joop-0.0.1/docs/build/html/_static/searchtools.js +632 -0
- joop-0.0.1/docs/build/html/_static/sphinx_highlight.js +154 -0
- joop-0.0.1/docs/build/html/changelog.html +116 -0
- joop-0.0.1/docs/build/html/genindex.html +893 -0
- joop-0.0.1/docs/build/html/index.html +138 -0
- joop-0.0.1/docs/build/html/modules.html +143 -0
- joop-0.0.1/docs/build/html/objects.inv +0 -0
- joop-0.0.1/docs/build/html/py-modindex.html +194 -0
- joop-0.0.1/docs/build/html/search.html +122 -0
- joop-0.0.1/docs/build/html/searchindex.js +1 -0
- joop-0.0.1/docs/make.bat +35 -0
- joop-0.0.1/docs/source/_autosummary/joop.cli.rst +13 -0
- joop-0.0.1/docs/source/_autosummary/joop.cli.test_flask.rst +12 -0
- joop-0.0.1/docs/source/_autosummary/joop.dao.rst +13 -0
- joop-0.0.1/docs/source/_autosummary/joop.flask.example.rst +14 -0
- joop-0.0.1/docs/source/_autosummary/joop.flask.flask_view.rst +12 -0
- joop-0.0.1/docs/source/_autosummary/joop.flask.rst +14 -0
- joop-0.0.1/docs/source/_autosummary/joop.http.methods.rst +12 -0
- joop-0.0.1/docs/source/_autosummary/joop.http.rst +13 -0
- joop-0.0.1/docs/source/_autosummary/joop.web.alpine_js.rst +13 -0
- joop-0.0.1/docs/source/_autosummary/joop.web.component.rst +13 -0
- joop-0.0.1/docs/source/_autosummary/joop.web.components.rst +15 -0
- joop-0.0.1/docs/source/_autosummary/joop.web.html.rst +13 -0
- joop-0.0.1/docs/source/_autosummary/joop.web.j_env.rst +13 -0
- joop-0.0.1/docs/source/_autosummary/joop.web.rst +18 -0
- joop-0.0.1/docs/source/_autosummary/joop.web.templater.rst +12 -0
- joop-0.0.1/docs/source/_autosummary/joop.web.view.rst +12 -0
- joop-0.0.1/docs/source/changelog.rst +6 -0
- joop-0.0.1/docs/source/conf.py +51 -0
- joop-0.0.1/docs/source/index.rst +28 -0
- joop-0.0.1/docs/source/modules.rst +17 -0
- joop-0.0.1/joop/__init__.py +9 -0
- joop-0.0.1/joop/abstract/README.md +3 -0
- joop-0.0.1/joop/abstract/__init__.py +95 -0
- joop-0.0.1/joop/cli/README.md +6 -0
- joop-0.0.1/joop/cli/__init__.py +1 -0
- joop-0.0.1/joop/cli/__main__.py +39 -0
- joop-0.0.1/joop/cli/test_flask.py +36 -0
- joop-0.0.1/joop/dao/__init__.py +151 -0
- joop-0.0.1/joop/flask/__init__.py +31 -0
- joop-0.0.1/joop/flask/example.py +19 -0
- joop-0.0.1/joop/flask/flask_view.py +71 -0
- joop-0.0.1/joop/http/methods.py +49 -0
- joop-0.0.1/joop/tests/__init__.py +5 -0
- joop-0.0.1/joop/tests/test_joop.py +29 -0
- joop-0.0.1/joop/tests/test_templater.py +31 -0
- joop-0.0.1/joop/tests/test_view.py +46 -0
- joop-0.0.1/joop/tests/test_web.py +75 -0
- joop-0.0.1/joop/web/__init__.py +14 -0
- joop-0.0.1/joop/web/component.py +163 -0
- joop-0.0.1/joop/web/components.py +116 -0
- joop-0.0.1/joop/web/examples/hello.py +148 -0
- joop-0.0.1/joop/web/examples/table.py +148 -0
- joop-0.0.1/joop/web/examples/view.py +30 -0
- joop-0.0.1/joop/web/html.py +212 -0
- joop-0.0.1/joop/web/j_env.py +39 -0
- joop-0.0.1/joop/web/templater.py +139 -0
- joop-0.0.1/joop/web/view.py +214 -0
- joop-0.0.1/pyproject.toml +65 -0
joop-0.0.1/PKG-INFO
ADDED
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: joop
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Justin's Object-Oriented Paradigms
|
|
5
|
+
License-Expression: Apache-2.0
|
|
6
|
+
Keywords: object-oriented programming,DAO,HTMX,AlpineJS,Python
|
|
7
|
+
Author: Justin Rushin
|
|
8
|
+
Requires-Python: >=3.10
|
|
9
|
+
Classifier: Intended Audience :: Developers
|
|
10
|
+
Classifier: Intended Audience :: Education
|
|
11
|
+
Classifier: Natural Language :: English
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
15
|
+
Provides-Extra: flask
|
|
16
|
+
Requires-Dist: click (>=7.0)
|
|
17
|
+
Requires-Dist: flask (>=3.1.2,<4.0.0) ; extra == "flask"
|
|
18
|
+
Requires-Dist: jinja2 (>=3.1.6,<4.0.0)
|
|
19
|
+
Requires-Dist: markupsafe (>=3.0.3,<4.0.0)
|
|
20
|
+
Requires-Dist: pydantic (>=2.12.5,<3.0.0)
|
|
21
|
+
Requires-Dist: sqlmodel (>=0.0.31,<0.0.32)
|
|
22
|
+
Project-URL: Homepage, https://github.com/rushinjgr/joop
|
|
23
|
+
Project-URL: bugs, https://github.com/rushinjgr/joop/issues
|
|
24
|
+
Project-URL: changelog, https://github.com/rushinjgr/joop/blob/master/python/docs/changelog.md
|
|
25
|
+
Project-URL: source, https://github.com/rushinjgr/joop
|
|
26
|
+
Description-Content-Type: text/markdown
|
|
27
|
+
|
|
28
|
+
# joop
|
|
29
|
+
|
|
30
|
+
[](https://pypi.python.org/pypi/joop)
|
|
31
|
+
|
|
32
|
+
**OOP Paradigms with an emphasis on DAO patterns, HTMX, and AlpineJS.**
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
- Free software: Apache Software License 2.0
|
|
36
|
+
- Documentation: https://rushinjgr.github.io/joop
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
## Features
|
|
40
|
+
|
|
41
|
+
- HTML Components for server-side rendering.
|
|
42
|
+
|
|
43
|
+
## Getting Started
|
|
44
|
+
|
|
45
|
+
### Setting Up a Virtual Environment
|
|
46
|
+
|
|
47
|
+
It is recommended to use `poetry` to manage the virtual environment and dependencies. Follow these steps:
|
|
48
|
+
|
|
49
|
+
1. Install `poetry` globally if it is not already installed:
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
pip install poetry
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
2. Install the Poetry Shell plugin to enable the `poetry shell` command:
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
poetry self add poetry-plugin-shell
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
3. Use `poetry` to install all dependencies (including development tools like `twine`):
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
poetry install
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
This will automatically create a virtual environment in the `.venv` folder inside the project directory, as specified in the `poetry.toml` file.
|
|
68
|
+
|
|
69
|
+
4. To activate the virtual environment, use:
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
poetry shell
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
### Build commands
|
|
76
|
+
|
|
77
|
+
1. Run `poetry check` to validate the `pyproject.toml` file:
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
poetry check
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
2. Build the package using `python -m build`:
|
|
84
|
+
|
|
85
|
+
```bash
|
|
86
|
+
poetry run python -m build
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
This will generate distribution files in the `dist/` directory.
|
|
90
|
+
|
|
91
|
+
3. Verify the distribution files using `twine check`:
|
|
92
|
+
|
|
93
|
+
```bash
|
|
94
|
+
poetry run twine check dist/*
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
This ensures the distribution files are ready for upload to PyPI.
|
|
98
|
+
|
|
99
|
+
### Building the Documentation
|
|
100
|
+
|
|
101
|
+
To build the documentation, follow these steps:
|
|
102
|
+
|
|
103
|
+
1. Ensure all dependencies, including development dependencies, are installed:
|
|
104
|
+
```bash
|
|
105
|
+
poetry install --with dev
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
2. Build the documentation using Sphinx:
|
|
109
|
+
```bash
|
|
110
|
+
poetry run sphinx-build -b html docs/source docs/build/html
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
The generated HTML files will be located in the `docs/build/html` directory.
|
|
114
|
+
|
|
115
|
+
3. Open the documentation in your browser by navigating to:
|
|
116
|
+
```
|
|
117
|
+
docs/build/html/index.html
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
## Commands
|
|
121
|
+
|
|
122
|
+
For all commands, run in `joop/python`
|
|
123
|
+
|
|
124
|
+
To run the CLI: `python -m joop.cli`
|
|
125
|
+
|
|
126
|
+
For tests, run `python -m unittest joop.tests` (add `-vvv` to see output)
|
|
127
|
+
|
|
128
|
+
For coverage, run:
|
|
129
|
+
```
|
|
130
|
+
coverage run -m unittest joop.tests
|
|
131
|
+
coverage report
|
|
132
|
+
```
|
|
133
|
+
|
joop-0.0.1/README.md
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
# joop
|
|
2
|
+
|
|
3
|
+
[](https://pypi.python.org/pypi/joop)
|
|
4
|
+
|
|
5
|
+
**OOP Paradigms with an emphasis on DAO patterns, HTMX, and AlpineJS.**
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
- Free software: Apache Software License 2.0
|
|
9
|
+
- Documentation: https://rushinjgr.github.io/joop
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
## Features
|
|
13
|
+
|
|
14
|
+
- HTML Components for server-side rendering.
|
|
15
|
+
|
|
16
|
+
## Getting Started
|
|
17
|
+
|
|
18
|
+
### Setting Up a Virtual Environment
|
|
19
|
+
|
|
20
|
+
It is recommended to use `poetry` to manage the virtual environment and dependencies. Follow these steps:
|
|
21
|
+
|
|
22
|
+
1. Install `poetry` globally if it is not already installed:
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
pip install poetry
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
2. Install the Poetry Shell plugin to enable the `poetry shell` command:
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
poetry self add poetry-plugin-shell
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
3. Use `poetry` to install all dependencies (including development tools like `twine`):
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
poetry install
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
This will automatically create a virtual environment in the `.venv` folder inside the project directory, as specified in the `poetry.toml` file.
|
|
41
|
+
|
|
42
|
+
4. To activate the virtual environment, use:
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
poetry shell
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
### Build commands
|
|
49
|
+
|
|
50
|
+
1. Run `poetry check` to validate the `pyproject.toml` file:
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
poetry check
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
2. Build the package using `python -m build`:
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
poetry run python -m build
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
This will generate distribution files in the `dist/` directory.
|
|
63
|
+
|
|
64
|
+
3. Verify the distribution files using `twine check`:
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
poetry run twine check dist/*
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
This ensures the distribution files are ready for upload to PyPI.
|
|
71
|
+
|
|
72
|
+
### Building the Documentation
|
|
73
|
+
|
|
74
|
+
To build the documentation, follow these steps:
|
|
75
|
+
|
|
76
|
+
1. Ensure all dependencies, including development dependencies, are installed:
|
|
77
|
+
```bash
|
|
78
|
+
poetry install --with dev
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
2. Build the documentation using Sphinx:
|
|
82
|
+
```bash
|
|
83
|
+
poetry run sphinx-build -b html docs/source docs/build/html
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
The generated HTML files will be located in the `docs/build/html` directory.
|
|
87
|
+
|
|
88
|
+
3. Open the documentation in your browser by navigating to:
|
|
89
|
+
```
|
|
90
|
+
docs/build/html/index.html
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
## Commands
|
|
94
|
+
|
|
95
|
+
For all commands, run in `joop/python`
|
|
96
|
+
|
|
97
|
+
To run the CLI: `python -m joop.cli`
|
|
98
|
+
|
|
99
|
+
For tests, run `python -m unittest joop.tests` (add `-vvv` to see output)
|
|
100
|
+
|
|
101
|
+
For coverage, run:
|
|
102
|
+
```
|
|
103
|
+
coverage run -m unittest joop.tests
|
|
104
|
+
coverage report
|
|
105
|
+
```
|
joop-0.0.1/docs/Makefile
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Minimal makefile for Sphinx documentation
|
|
2
|
+
#
|
|
3
|
+
|
|
4
|
+
# You can set these variables from the command line, and also
|
|
5
|
+
# from the environment for the first two.
|
|
6
|
+
SPHINXOPTS ?=
|
|
7
|
+
SPHINXBUILD ?= sphinx-build
|
|
8
|
+
SOURCEDIR = source
|
|
9
|
+
BUILDDIR = build
|
|
10
|
+
|
|
11
|
+
# Put it first so that "make" without argument is like "make help".
|
|
12
|
+
help:
|
|
13
|
+
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
|
14
|
+
|
|
15
|
+
.PHONY: help Makefile
|
|
16
|
+
|
|
17
|
+
# Catch-all target: route all unknown targets to Sphinx using the new
|
|
18
|
+
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
|
|
19
|
+
%: Makefile
|
|
20
|
+
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
|
|
3
|
+
<html lang="en" data-content_root="../">
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="utf-8" />
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
7
|
+
|
|
8
|
+
<title>joop.cli — joop 0.0.1 documentation</title>
|
|
9
|
+
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=5ecbeea2" />
|
|
10
|
+
<link rel="stylesheet" type="text/css" href="../_static/basic.css?v=686e5160" />
|
|
11
|
+
<link rel="stylesheet" type="text/css" href="../_static/alabaster.css?v=27fed22d" />
|
|
12
|
+
<script src="../_static/documentation_options.js?v=d45e8c67"></script>
|
|
13
|
+
<script src="../_static/doctools.js?v=9bcbadda"></script>
|
|
14
|
+
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
|
|
15
|
+
<link rel="index" title="Index" href="../genindex.html" />
|
|
16
|
+
<link rel="search" title="Search" href="../search.html" />
|
|
17
|
+
<link rel="next" title="joop.cli.test_flask" href="joop.cli.test_flask.html" />
|
|
18
|
+
<link rel="prev" title="joop.dao" href="joop.dao.html" />
|
|
19
|
+
|
|
20
|
+
<link rel="stylesheet" href="../_static/custom.css" type="text/css" />
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
</head><body>
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
<div class="document">
|
|
30
|
+
<div class="documentwrapper">
|
|
31
|
+
<div class="bodywrapper">
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
<div class="body" role="main">
|
|
35
|
+
|
|
36
|
+
<section id="module-joop.cli">
|
|
37
|
+
<span id="joop-cli"></span><h1>joop.cli<a class="headerlink" href="#module-joop.cli" title="Link to this heading">¶</a></h1>
|
|
38
|
+
<p class="rubric">Modules</p>
|
|
39
|
+
<table class="autosummary longtable docutils align-default">
|
|
40
|
+
<tbody>
|
|
41
|
+
<tr class="row-odd"><td><p><a class="reference internal" href="joop.cli.test_flask.html#module-joop.cli.test_flask" title="joop.cli.test_flask"><code class="xref py py-obj docutils literal notranslate"><span class="pre">test_flask</span></code></a></p></td>
|
|
42
|
+
<td><p>Flask testing module for joop.</p></td>
|
|
43
|
+
</tr>
|
|
44
|
+
</tbody>
|
|
45
|
+
</table>
|
|
46
|
+
</section>
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
</div>
|
|
50
|
+
|
|
51
|
+
</div>
|
|
52
|
+
</div>
|
|
53
|
+
<div class="sphinxsidebar" role="navigation" aria-label="Main">
|
|
54
|
+
<div class="sphinxsidebarwrapper">
|
|
55
|
+
<h1 class="logo"><a href="../index.html">joop</a></h1>
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
<search id="searchbox" style="display: none" role="search">
|
|
66
|
+
<div class="searchformwrapper">
|
|
67
|
+
<form class="search" action="../search.html" method="get">
|
|
68
|
+
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" placeholder="Search"/>
|
|
69
|
+
<input type="submit" value="Go" />
|
|
70
|
+
</form>
|
|
71
|
+
</div>
|
|
72
|
+
</search>
|
|
73
|
+
<script>document.getElementById('searchbox').style.display = "block"</script><h3>Navigation</h3>
|
|
74
|
+
<p class="caption" role="heading"><span class="caption-text">Contents:</span></p>
|
|
75
|
+
<ul class="current">
|
|
76
|
+
<li class="toctree-l1 current"><a class="reference internal" href="../modules.html">API Documentation</a><ul class="current">
|
|
77
|
+
<li class="toctree-l2"><a class="reference internal" href="../modules.html#joop.hello_world"><code class="docutils literal notranslate"><span class="pre">hello_world()</span></code></a></li>
|
|
78
|
+
<li class="toctree-l2"><a class="reference internal" href="joop.web.html">joop.web</a></li>
|
|
79
|
+
<li class="toctree-l2"><a class="reference internal" href="joop.dao.html">joop.dao</a></li>
|
|
80
|
+
<li class="toctree-l2 current"><a class="current reference internal" href="#">joop.cli</a></li>
|
|
81
|
+
<li class="toctree-l2"><a class="reference internal" href="joop.flask.html">joop.flask</a></li>
|
|
82
|
+
<li class="toctree-l2"><a class="reference internal" href="joop.http.html">joop.http</a></li>
|
|
83
|
+
</ul>
|
|
84
|
+
</li>
|
|
85
|
+
<li class="toctree-l1"><a class="reference internal" href="../changelog.html">Changelog</a></li>
|
|
86
|
+
</ul>
|
|
87
|
+
|
|
88
|
+
<div class="relations">
|
|
89
|
+
<h3>Related Topics</h3>
|
|
90
|
+
<ul>
|
|
91
|
+
<li><a href="../index.html">Documentation overview</a><ul>
|
|
92
|
+
<li><a href="../modules.html">API Documentation</a><ul>
|
|
93
|
+
<li>Previous: <a href="joop.dao.html" title="previous chapter">joop.dao</a></li>
|
|
94
|
+
<li>Next: <a href="joop.cli.test_flask.html" title="next chapter">joop.cli.test_flask</a></li>
|
|
95
|
+
</ul></li>
|
|
96
|
+
</ul></li>
|
|
97
|
+
</ul>
|
|
98
|
+
</div>
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
</div>
|
|
108
|
+
</div>
|
|
109
|
+
<div class="clearer"></div>
|
|
110
|
+
</div>
|
|
111
|
+
<div class="footer">
|
|
112
|
+
©2025, Justin Rushin.
|
|
113
|
+
|
|
114
|
+
|
|
|
115
|
+
Powered by <a href="https://www.sphinx-doc.org/">Sphinx 8.1.3</a>
|
|
116
|
+
& <a href="https://alabaster.readthedocs.io">Alabaster 1.0.0</a>
|
|
117
|
+
|
|
118
|
+
|
|
|
119
|
+
<a href="../_sources/_autosummary/joop.cli.rst.txt"
|
|
120
|
+
rel="nofollow">Page source</a>
|
|
121
|
+
</div>
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
</body>
|
|
127
|
+
</html>
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
|
|
3
|
+
<html lang="en" data-content_root="../">
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="utf-8" />
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
7
|
+
|
|
8
|
+
<title>joop.cli.test_flask — joop 0.0.1 documentation</title>
|
|
9
|
+
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=5ecbeea2" />
|
|
10
|
+
<link rel="stylesheet" type="text/css" href="../_static/basic.css?v=686e5160" />
|
|
11
|
+
<link rel="stylesheet" type="text/css" href="../_static/alabaster.css?v=27fed22d" />
|
|
12
|
+
<script src="../_static/documentation_options.js?v=d45e8c67"></script>
|
|
13
|
+
<script src="../_static/doctools.js?v=9bcbadda"></script>
|
|
14
|
+
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
|
|
15
|
+
<link rel="index" title="Index" href="../genindex.html" />
|
|
16
|
+
<link rel="search" title="Search" href="../search.html" />
|
|
17
|
+
<link rel="next" title="joop.flask" href="joop.flask.html" />
|
|
18
|
+
<link rel="prev" title="joop.cli" href="joop.cli.html" />
|
|
19
|
+
|
|
20
|
+
<link rel="stylesheet" href="../_static/custom.css" type="text/css" />
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
</head><body>
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
<div class="document">
|
|
30
|
+
<div class="documentwrapper">
|
|
31
|
+
<div class="bodywrapper">
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
<div class="body" role="main">
|
|
35
|
+
|
|
36
|
+
<section id="module-joop.cli.test_flask">
|
|
37
|
+
<span id="joop-cli-test-flask"></span><h1>joop.cli.test_flask<a class="headerlink" href="#module-joop.cli.test_flask" title="Link to this heading">¶</a></h1>
|
|
38
|
+
<p>Flask testing module for joop.</p>
|
|
39
|
+
<p>This module provides functionality to start a Flask webserver for testing and development purposes.</p>
|
|
40
|
+
<dl class="simple">
|
|
41
|
+
<dt>Important: The test joop env is set as the jinja env for the Flask server. This is specific and desirable</dt><dd><p>though your project may implement the environment otherwise.</p>
|
|
42
|
+
</dd>
|
|
43
|
+
<dt>Functions:</dt><dd><dl class="simple">
|
|
44
|
+
<dt>start_test_flask():</dt><dd><p>Starts the Flask webserver in debug mode using the <cite>app</cite> instance from <cite>joop.flask</cite>.</p>
|
|
45
|
+
</dd>
|
|
46
|
+
</dl>
|
|
47
|
+
</dd>
|
|
48
|
+
<dt>Dependencies:</dt><dd><ul class="simple">
|
|
49
|
+
<li><p>Flask: Ensure Flask is installed. If not, install it using <cite>pip install joop[flask]</cite>.</p></li>
|
|
50
|
+
</ul>
|
|
51
|
+
</dd>
|
|
52
|
+
<dt>Usage:</dt><dd><ul class="simple">
|
|
53
|
+
<li><p>Import the <cite>start_test_flask</cite> function and call it to start the Flask webserver.</p></li>
|
|
54
|
+
</ul>
|
|
55
|
+
</dd>
|
|
56
|
+
</dl>
|
|
57
|
+
<p class="rubric">Functions</p>
|
|
58
|
+
<table class="autosummary longtable docutils align-default">
|
|
59
|
+
<tbody>
|
|
60
|
+
<tr class="row-odd"><td><p><a class="reference internal" href="#joop.cli.test_flask.start_test_flask" title="joop.cli.test_flask.start_test_flask"><code class="xref py py-obj docutils literal notranslate"><span class="pre">start_test_flask</span></code></a>()</p></td>
|
|
61
|
+
<td><p></p></td>
|
|
62
|
+
</tr>
|
|
63
|
+
</tbody>
|
|
64
|
+
</table>
|
|
65
|
+
<dl class="py function">
|
|
66
|
+
<dt class="sig sig-object py" id="joop.cli.test_flask.start_test_flask">
|
|
67
|
+
<span class="sig-prename descclassname"><span class="pre">joop.cli.test_flask.</span></span><span class="sig-name descname"><span class="pre">start_test_flask</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/joop/cli/test_flask.html#start_test_flask"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#joop.cli.test_flask.start_test_flask" title="Link to this definition">¶</a></dt>
|
|
68
|
+
<dd></dd></dl>
|
|
69
|
+
|
|
70
|
+
</section>
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
</div>
|
|
74
|
+
|
|
75
|
+
</div>
|
|
76
|
+
</div>
|
|
77
|
+
<div class="sphinxsidebar" role="navigation" aria-label="Main">
|
|
78
|
+
<div class="sphinxsidebarwrapper">
|
|
79
|
+
<h1 class="logo"><a href="../index.html">joop</a></h1>
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
<search id="searchbox" style="display: none" role="search">
|
|
90
|
+
<div class="searchformwrapper">
|
|
91
|
+
<form class="search" action="../search.html" method="get">
|
|
92
|
+
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" placeholder="Search"/>
|
|
93
|
+
<input type="submit" value="Go" />
|
|
94
|
+
</form>
|
|
95
|
+
</div>
|
|
96
|
+
</search>
|
|
97
|
+
<script>document.getElementById('searchbox').style.display = "block"</script><h3>Navigation</h3>
|
|
98
|
+
<p class="caption" role="heading"><span class="caption-text">Contents:</span></p>
|
|
99
|
+
<ul class="current">
|
|
100
|
+
<li class="toctree-l1 current"><a class="reference internal" href="../modules.html">API Documentation</a><ul class="current">
|
|
101
|
+
<li class="toctree-l2"><a class="reference internal" href="../modules.html#joop.hello_world"><code class="docutils literal notranslate"><span class="pre">hello_world()</span></code></a></li>
|
|
102
|
+
<li class="toctree-l2"><a class="reference internal" href="joop.web.html">joop.web</a></li>
|
|
103
|
+
<li class="toctree-l2"><a class="reference internal" href="joop.dao.html">joop.dao</a></li>
|
|
104
|
+
<li class="toctree-l2 current"><a class="reference internal" href="joop.cli.html">joop.cli</a></li>
|
|
105
|
+
<li class="toctree-l2"><a class="reference internal" href="joop.flask.html">joop.flask</a></li>
|
|
106
|
+
<li class="toctree-l2"><a class="reference internal" href="joop.http.html">joop.http</a></li>
|
|
107
|
+
</ul>
|
|
108
|
+
</li>
|
|
109
|
+
<li class="toctree-l1"><a class="reference internal" href="../changelog.html">Changelog</a></li>
|
|
110
|
+
</ul>
|
|
111
|
+
|
|
112
|
+
<div class="relations">
|
|
113
|
+
<h3>Related Topics</h3>
|
|
114
|
+
<ul>
|
|
115
|
+
<li><a href="../index.html">Documentation overview</a><ul>
|
|
116
|
+
<li><a href="../modules.html">API Documentation</a><ul>
|
|
117
|
+
<li><a href="joop.cli.html">joop.cli</a><ul>
|
|
118
|
+
<li>Previous: <a href="joop.cli.html" title="previous chapter">joop.cli</a></li>
|
|
119
|
+
<li>Next: <a href="joop.flask.html" title="next chapter">joop.flask</a></li>
|
|
120
|
+
</ul></li>
|
|
121
|
+
</ul></li>
|
|
122
|
+
</ul></li>
|
|
123
|
+
</ul>
|
|
124
|
+
</div>
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
</div>
|
|
134
|
+
</div>
|
|
135
|
+
<div class="clearer"></div>
|
|
136
|
+
</div>
|
|
137
|
+
<div class="footer">
|
|
138
|
+
©2025, Justin Rushin.
|
|
139
|
+
|
|
140
|
+
|
|
|
141
|
+
Powered by <a href="https://www.sphinx-doc.org/">Sphinx 8.1.3</a>
|
|
142
|
+
& <a href="https://alabaster.readthedocs.io">Alabaster 1.0.0</a>
|
|
143
|
+
|
|
144
|
+
|
|
|
145
|
+
<a href="../_sources/_autosummary/joop.cli.test_flask.rst.txt"
|
|
146
|
+
rel="nofollow">Page source</a>
|
|
147
|
+
</div>
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
</body>
|
|
153
|
+
</html>
|