Skip to main content

Python wrapper of the Oracle Forms API

Project description

pyoracle_forms

Coverage Python Black PyPI Read the Docs Code Climate maintainability Checked with mypy

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


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.5.2.tar.gz (93.0 kB view details)

Uploaded Source

Built Distribution

pyoracle_forms-0.5.2-py3-none-any.whl (95.4 kB view details)

Uploaded Python 3

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

Hashes for pyoracle_forms-0.5.2.tar.gz
Algorithm Hash digest
SHA256 6cccbec7da0936e9462d63ad320ac95aa9f6b334b22c536c64eab04893c7f783
MD5 2ceab30136f2c3f0fd69961c50fcdac0
BLAKE2b-256 186512e978366ffe97dc29afab20cf6e5b3b6ab7d33a5c3a286e9a050bedd409

See more details on using hashes here.

File details

Details for the file pyoracle_forms-0.5.2-py3-none-any.whl.

File metadata

File hashes

Hashes for pyoracle_forms-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9770c76b6d971ce76057681a6dedefaa4a22949cfdfed7f294855b1c1bc952c8
MD5 f0517981d8ae47f4dfdd2171474b305f
BLAKE2b-256 d3a96432a817470988d98e7ced8298d5746c13ca84a9ed1d03d3e744fcc836f4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page