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 details)

Uploaded Source

Built Distribution

ns_rep_imports-0.1.3-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file ns-rep-imports-0.1.3.tar.gz.

File metadata

  • Download URL: ns-rep-imports-0.1.3.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

File hashes

Hashes for ns-rep-imports-0.1.3.tar.gz
Algorithm Hash digest
SHA256 666c18adcaa0c29def9e7cecd591c62607f081f4ce1c591ab66de631ff0d1ccb
MD5 596d07006c5e7dfa60973bc52e02034a
BLAKE2b-256 08a2348c42c7feddf6150321c5cbaefec3cdec727cb6670e420f30cc5f0c398c

See more details on using hashes here.

File details

Details for the file ns_rep_imports-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: ns_rep_imports-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

File hashes

Hashes for ns_rep_imports-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e8a8fa48d8c23df567cf3116a91b802264ff30da0894e48ac88734507e5e9a5a
MD5 d498e12bd879079e4a8c5de13c37ab5e
BLAKE2b-256 bf86ce4d5b21816edec40a2b6434c34ef2bcfda7de969a59a0c5eb99e17aa88e

See more details on using hashes here.

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