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
Built Distribution
File details
Details for the file pyoracle_forms-0.5.2.tar.gz
.
File metadata
- Download URL: pyoracle_forms-0.5.2.tar.gz
- Upload date:
- Size: 93.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cccbec7da0936e9462d63ad320ac95aa9f6b334b22c536c64eab04893c7f783 |
|
MD5 | 2ceab30136f2c3f0fd69961c50fcdac0 |
|
BLAKE2b-256 | 186512e978366ffe97dc29afab20cf6e5b3b6ab7d33a5c3a286e9a050bedd409 |
File details
Details for the file pyoracle_forms-0.5.2-py3-none-any.whl
.
File metadata
- Download URL: pyoracle_forms-0.5.2-py3-none-any.whl
- Upload date:
- Size: 95.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9770c76b6d971ce76057681a6dedefaa4a22949cfdfed7f294855b1c1bc952c8 |
|
MD5 | f0517981d8ae47f4dfdd2171474b305f |
|
BLAKE2b-256 | d3a96432a817470988d98e7ced8298d5746c13ca84a9ed1d03d3e744fcc836f4 |