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 Python 2 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