semvec/pypi-packages huggingface dataset:
git-taxbreak 0.1.0
Tool for collect artifacts from git for register creative work
License: MIT
Requires Python: >=3.5
Keywords: git,taxbreak,tool

Git taxbreak
------------

.. image:: https://github.com/kamil1b/git-taxbreak/workflows/Master/badge.svg

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
   :target: https://github.com/ambv/black

.. image:: https://api.codeclimate.com/v1/badges/6ad9e9549fdf496138c6/maintainability
   :target: https://codeclimate.com/github/kamil1b/git-taxbreak/maintainability
   :alt: Maintainability

.. image:: https://codecov.io/gh/kamil1b/git-taxbreak/branch/master/graph/badge.svg
  :target: https://codecov.io/gh/kamil1b/git-taxbreak

Tool for collect artifacts from git for register creative work

Install
-------

.. code-block:: sh

   pip install git+https://github.com/kamil1b/git-taxbreak.git
objectmapper 0.0.7
A small module for mapping between object types.
License: MIT
Requires Python: >=3.6

objectmapper
============

A small module for mapping between object types.

* `Documentation <https://objectmapper.readthedocs.io/en/latest/>`_
* `Source <https://github.com/ABoiledCarny/objectmapper>`_
* `PyPi Package <https://pypi.org/project/objectmapper/>`_

Installation
------------
``objectmapper`` requires ``Python >= 3.6`` because it relies on modern type annotations.
::

   pip install objectmapper

Example
-------

>>> import objectmapper
>>> mapper = objectmapper.ObjectMapper()
>>> # One-to-one mappings
>>> def int_to_str(i: int) -> str:
...     return str(i)
>>> mapper.create_map(int, str, int_to_str)
>>> mapper.map(42, str)
'42'
>>> # Many-to-one mappings
>>> def int_float_to_str(i: int, f: float) -> str:
...     return str(i + f)
>>> mapper.create_map((int, float), str, int_float_to_str)
>>> mapper.map((42, 42.5), str)
'84.5'