Skip to main content

Base package for any2*

Project description

Introduction
============

Any2 is the base for a serie of tools:

- `Any2csv`_
- `Any2fixed`_
- `Any2xl`_

and provides common features such as object adapters and transformers.

.. _Any2csv: https://bitbucket.org/faide/any2csv
.. _Any2fixed: https://bitbucket.org/faide/any2fixed
.. _Any2xl: https://bitbucket.org/faide/any2xl

Licence
=======

This package is covered by the permissive BSD licence.

Python versions
===============

Any2 is tested with the help of tox on python 2.7 and python 3.4
It may work with older versions (some parts were developped using python 2.3)
but no tests or even garantee is made on this.

Changelog
=========

0.3.1 Nov, 5, 2015
~~~~~~~~~~~~~~~~~~

- Added a new item adapter that adapts a list of list to a list of
dictionaries
- Added support for the item() method on the DictAdapter to allow even
better compatibility with dictionaries
- Changed the signature of the DictAdapter constructor to remove the
encoding. This is because since a few releases the adapter MUST only work
on unicode (PY2) or str (PY3) objects and yield the same kind.
This means this argument was asked from the caller but never used
internally.

0.3 Jul, 29 2015
~~~~~~~~~~~~~~~~

- All new adapters derive from any2.adapters.BaseAdapter
- Added a new Obj2List adapter to adapt object yielding iterators into
list yielding iterators, since it is based on the new BaseAdapter it
supports the same transformer system.

0.2 Jul. 29 2015
~~~~~~~~~~~~~~~~

- Fully test covered
- All raised exceptions now are based on Any2Error to help users catch them

Contributors
============

By order of contribution date:

- `Florent Aide`_

.. _Florent Aide: https://bitbucket.org/faide

Project details


Download files

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

Source Distributions

any2-0.3.1.zip (12.6 kB view hashes)

Uploaded source

any2-0.3.1.tar.gz (9.0 kB view hashes)

Uploaded source

Built Distributions

any2-0.3.1-py2.7.egg (13.5 kB view hashes)

Uploaded 2 7

any2-0.3.1-py2-none-any.whl (7.2 kB view hashes)

Uploaded 2 7

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