Skip to main content

isobject(object) function - True if object is instance of some class

Project description

.. README generated with readmemako.py (github.com/russianidiot/readme-mako.py) and .README dotfiles (github.com/russianidiot-dotfiles/.README)

.. image:: https://img.shields.io/badge/Language-Python-blue.svg?style=plastic

.. image:: https://img.shields.io/pypi/pyversions/isobject.svg
:target: https://pypi.python.org/pypi/isobject

|

.. image:: https://codeclimate.com/github/russianidiot/isobject.py/badges/gpa.svg
:target: https://codeclimate.com/github/russianidiot/isobject.py

.. image:: https://landscape.io/github/russianidiot/isobject.py/master/landscape.svg?style=flat
:target: https://landscape.io/github/russianidiot/isobject.py

.. image:: https://scrutinizer-ci.com/g/russianidiot/isobject.py/badges/quality-score.png?b=master
:target: https://scrutinizer-ci.com/g/russianidiot/isobject.py/

.. image:: https://api.codacy.com/project/badge/Grade/ca2da58b20834cbd9428290011ef9a2e
:target: https://www.codacy.com/app/russianidiot/isobject-py



Install
```````


.. code:: bash




Usage
`````


.. code:: python

>>> from isobject import isobject

>>> isobject(obj)


Examples
````````


.. code:: python

>>> class CLS: pass

>>> isobject(CLS())
True

>>> isobject(CLS)
False

>>> isobject(0)
False


Feedback |github_follow| |github_issues|

.. |github_follow| image:: https://img.shields.io/github/followers/russianidiot.svg?style=social&label=Follow
:target: https://github.com/russianidiot

.. |github_issues| image:: https://img.shields.io/github/issues/russianidiot/isobject.py.svg
:target: https://github.com/russianidiot/isobject.py/issues

Release history Release notifications

History Node

1.0.2

History Node

1.0.1

History Node

1.0.0

History Node

0.0.31

History Node

0.0.30

History Node

0.0.29

History Node

0.0.28

History Node

0.0.26

History Node

0.0.24

History Node

0.0.23

History Node

0.0.21

This version
History Node

0.0.17

History Node

0.0.15

History Node

0.0.14

History Node

0.0.13

History Node

0.0.12

History Node

0.0.11

History Node

0.0.10

History Node

0.0.9

History Node

0.0.8

History Node

0.0.7

History Node

0.0.6

History Node

0.0.5

History Node

0.0.4

History Node

0.0.2

History Node

0.0.1

History Node

0.0.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
isobject-0.0.17.tar.gz (1.7 kB) Copy SHA256 hash SHA256 Source None Aug 13, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page