Skip to main content

Fully qualified names for Python objects

Project description

The fully qualified name of an object in Python is the full dotted “path” to its definition.

fullqualname provides fully qualified names for a variety of types in Python 2 and 3.

Install

$ pip install fullqualname

Use

In [1]: from fullqualname import fullqualname

In [2]: import datetime

In [3]: obj = datetime.timedelta.days

In [4]: fullqualname(obj)
Out[4]: 'datetime.timedelta.days'

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

fullqualname-0.1.0.zip (4.1 kB view hashes)

Uploaded source

Built Distribution

fullqualname-0.1.0-py2.py3-none-any.whl (3.4 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page