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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyoracle_forms-0.4.1-py3-none-any.whl (94.8 kB view details)

Uploaded Python 3

File details

Details for the file pyoracle_forms-0.4.1.tar.gz.

File metadata

  • Download URL: pyoracle_forms-0.4.1.tar.gz
  • Upload date:
  • Size: 89.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.13

File hashes

Hashes for pyoracle_forms-0.4.1.tar.gz
Algorithm Hash digest
SHA256 466fff6b57e9b669f19e1cbc3001f37bc52824c59eb6f4bdfe0d64bdbb345e61
MD5 4a1d7c838c07157e5de2ea76053dcebd
BLAKE2b-256 36acb68aecb4fb4a4225536a54b8b8ddd46e7a982c1bedd93f439f360fad4dce

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyoracle_forms-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 94.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.13

File hashes

Hashes for pyoracle_forms-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 36372ef665b122816a5debf226f03518e4a82ea7b52baa957e63d3d92897a94e
MD5 0064a93f9b8e31a7aec54d9de654e0e8
BLAKE2b-256 f092cb16f5a14cef8d08ae73829648e5e4489114c912e0d6100e56580ef1c240

See more details on using hashes here.

Supported by

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