Skip to main content

A python utility package to unwrap Oracle wrapped objects.

Project description

PLSQL Unwrap

A python utility package to unwrap Oracle wrapped objects.

Example

from plsqlunwrap import unwrap

wrapped = """
CREATE OR REPLACE  FUNCTION teste wrapped 
a000000
1
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
8
3d 71
m9n4KQ8rT+C9b7lU4HcO3pDzsUMwg8eZgcfLCNL+XhahYtGhXOfAsr2ym16lmYEywLIJpXSL
wMAy/tKGCamhBKPHvpK+FkZTOQdTo4KmpqsCL3g=
"""

print(unwrap(wrapped))
# FUNCTION teste RETURN NUMBER IS
# BEGIN
#   RETURN 1;
# END TESTE;

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

plsqlunwrap-0.0.1.tar.gz (16.7 kB view hashes)

Uploaded Source

Built Distribution

plsqlunwrap-0.0.1-py3-none-any.whl (4.3 kB view hashes)

Uploaded Python 3

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