semvec/pypi-packages huggingface dataset:
theeasytype 0.0.1
`the` assert basic type
License: MIT

python basic types better assertion
===================================

An assertion lib for ``the`` to assert basic type.

|Build Status| tested on 2.7, 3.2, 3.3

API
---

-  ``int``
-  ``float``
-  ``str``
-  ``dict``
-  ``list``
-  ``tuple``
-  ``set``

Usage
-----

.. code:: python

    from the import expect
    import theeasytype

    expect.use(theeasytype)

    expect(1).to.be.int
    expect(1.1).to.be.float
    expect("").to.be.str
    expect({}).to.be.dict
    expect([]).to.be.list
    expect(()).to.be.tuple
    expect(set()).to.be.set

.. |Build Status| image:: https://travis-ci.org/the-py/the-easytype.png
   :target: https://travis-ci.org/the-py/the-easytype