Python wrapper of the Oracle Forms API
Project description
pyoracle_forms
Wraps the Oracle Forms API under Python, so that you can write scripts to make programmatic changes to Oracle Forms .fmb files with ease.
Installation and usage
Installation
The package can be installed from PyPI with pip install pyoracle-forms
Usage
from pyoracle_forms import Module, initialize_context
initialize_context(version="12c", encoding="utf-8")
with Module.load("./your_form.fmb") as module:
for data_block in module.data_blocks:
for item in data_block.items:
item.font_name = "Comic Sans MS"
module.save()
Best used with an interactive environment, such as Jupyter Notebook, as you get better autocomplete there due to attributes getting determined dynamically.
You also need access to successfully installed version of Oracle Forms, otherwise the scripts won’t work, as this solution depends on the Oracle Forms API.
Documentation
More detailed documentation is available on Read the Docs
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyoracle_forms-0.3.7.tar.gz
(86.5 kB
view hashes)
Built Distribution
Close
Hashes for pyoracle_forms-0.3.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2dc0a1de7c216e39e3fbab46c845175744577df796462b7ae3e7740a894ea8b6 |
|
MD5 | dbb83cc6a7b97f22eef0f5b1e01892b9 |
|
BLAKE2b-256 | 0d3c6c727e560fa44c447292d780ea778fe65d89e161e2e115ea64bc69e1f2d0 |