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 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.2.8.tar.gz (67.9 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.8-py3-none-any.whl (72.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyoracle_forms-0.2.8.tar.gz
  • Upload date:
  • Size: 67.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.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.8.0

File hashes

Hashes for pyoracle_forms-0.2.8.tar.gz
Algorithm Hash digest
SHA256 0d83eb572e4bb1bdf055b3482689431f307b6543c7c72e56d373ce878292ce9a
MD5 1f58a53b4a41b68acbdd2da577b210f1
BLAKE2b-256 633e82c256f80a6a67ed044930fa0babff10e75b03ab62d785f19ed4758472c9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyoracle_forms-0.2.8-py3-none-any.whl
  • Upload date:
  • Size: 72.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.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.8.0

File hashes

Hashes for pyoracle_forms-0.2.8-py3-none-any.whl
Algorithm Hash digest
SHA256 6225d557d160df01e4982bb640322edcfe0f5d24d13f26691fe49326b751077b
MD5 26bc658ab133bf89b2171d92f4b7d4fc
BLAKE2b-256 0c3fdd43be5cd4d7e0fe1acf392d60d56a91552993faeec7fb663c4c035c7373

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