ojet: a wrapper around Oracle JET
Project description
Ojet package
Introduction
Oracle JET is a great HTML application builder. The only flaw of this generator is the need to know both HTML and JAVASCRIPT!
This "ojet" package is a Python 3 wrapper around Oracle JET. Its aim is to hide as much as possible the complexity of the HTML and JAVASCRIPT code.
Furthurmore "ojet" can be included in a jupyter notebook in order to add sophisticated HTML views or to help to test an "ojet" application.
License
"ojet" itself has a GNU general license, but the result of "ojet" must conform to the rules edicted by Oracle about the "Oracle JET" license.
Installation
Install, upgrade and uninstall ojet with the following commands:
::
$ pip3 install ojet
$ pip3 install --upgrade ojet
$ pip3 uninstall ojet
Dependencies
None
Documentation
The best way to understand the "ojet" philosophy is to see the wrapper in action within jupyter. You will learn very easily how to build sophisticated reports with a few lines of code.
The example is here.
Outside jupyter the general usage is
::
oj = Ojet()
jsparameters = oj.require("knockout")
...
print(oj.render()) # or write the result within an HTML file or generate the page dynamically for any HTTP Python 3 server.
Warning
"ojet" doesn't include all "HTML" or "Oracle Jet" tags. This first version built over Oracle Jet V11.1.0 is only an example of what can be done with a wrapper. The tool can be easily extended with any tags using examples provided in the package.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ojet-0.11.5.tar.gz.
File metadata
- Download URL: ojet-0.11.5.tar.gz
- Upload date:
- Size: 18.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
010996869d57dc59d2303e9ef523f5a217e2fc361988476baa8fd35b5684a6de
|
|
| MD5 |
1d78ceb38f9530680a2c9ba74ce173b4
|
|
| BLAKE2b-256 |
295b307b0d5f30f509c15266c2654d722ddee852d0be52c418f1e456b6ee59c6
|
File details
Details for the file ojet-0.11.5-py3-none-any.whl.
File metadata
- Download URL: ojet-0.11.5-py3-none-any.whl
- Upload date:
- Size: 18.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55afe8d3f12e06e6d0a7e1c9392f39e4be40d7aa4276b6bb4463d9923ce09ffc
|
|
| MD5 |
f80768db8f934ac72c1283821b6d7ddd
|
|
| BLAKE2b-256 |
5dbbbfd7976a9e12226a79fe8e64cb56240588fd8413e450a96b22fa26b3c049
|