Skip to main content

Namespace Realitive Import Generator

Project description

Generates Realitive info with a camel to snake conversion of class name.

>>> from rel import mod_rel as RelInfo

>>> obj_str = 'awt.uno.XInterface'
>>> ns = 'awt.grid'
>>> rel = RelInfo.get_rel_import(in_str =obj_str, ns=ns)
>>> print(f"from {rel.frm} import {rel.imp}")
from ..uno.x_interface import XInterface

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

ns-rep-imports-0.1.3.tar.gz (7.9 kB view hashes)

Uploaded Source

Built Distribution

ns_rep_imports-0.1.3-py3-none-any.whl (7.8 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