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
Release history Release notifications | RSS feed
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.2.tar.gz
(7.8 kB
view hashes)
Built Distribution
Close
Hashes for ns_rep_imports-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f17e37d619c0f701f5612b1d83978ab023918bb739759648da7b3ca5af42e0a |
|
MD5 | 080caa90727a2930873d0260745d7ecb |
|
BLAKE2b-256 | 228693f30c83ccb71edbde4a5a8f1868e1b09281828eb8e15fde88edbb48ab4c |