Skip to main content

Python wrapper of the Oracle Forms API

Project description

pyoracle_forms

Coverage Python Black PyPI Travis CI Read the Docs Code Climate maintainability

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.2.6.tar.gz (65.8 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.2.6-py3-none-any.whl (71.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyoracle_forms-0.2.6.tar.gz
  • Upload date:
  • Size: 65.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.1

File hashes

Hashes for pyoracle_forms-0.2.6.tar.gz
Algorithm Hash digest
SHA256 f869c5fac95f6d886c0201b48ae7c8b8b907529ced844a6624406793e296fdb1
MD5 db6ac97e6f5e190f150e8ce77914722a
BLAKE2b-256 247d59eb7dbc2bc43733738dec6bffeaf51fb625440f57e27019b45168a09ca7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyoracle_forms-0.2.6-py3-none-any.whl
  • Upload date:
  • Size: 71.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.1

File hashes

Hashes for pyoracle_forms-0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 44b1035349e9e799b25e4cd648e57df514211a127b2c4e2aad16218c3ea4c332
MD5 5edf494cbcd246ec3582af3403dc4ad7
BLAKE2b-256 809f83cd5f110bdb6408c8f8528da377fd25fefa791c80b6d328dd02b98f5b0c

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