Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Python wrapper of the Oracle Forms API

Project description

pyoracle_forms

Coverage Python Black PyPI Travis CI 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.

Files for pyoracle-forms, version 0.2.10
Filename, size File type Python version Upload date Hashes
Filename, size pyoracle_forms-0.2.10-py3-none-any.whl (72.8 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size pyoracle_forms-0.2.10.tar.gz (67.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page