Skip to main content

Add importer / exporter to AnyBlok

Project description

.. This file is a part of the AnyBlok project
..
.. Copyright (C) 2014 Jean-Sebastien SUZANNE <jssuzanne@anybox.fr>
..
.. This Source Code Form is subject to the terms of the Mozilla Public License,
.. v. 2.0. If a copy of the MPL was not distributed with this file,You can
.. obtain one at http://mozilla.org/MPL/2.0/.

.. image:: https://travis-ci.org/AnyBlok/anyblok_io.svg?branch=master
:target: https://travis-ci.org/AnyBlok/anyblok_io
:alt: Build status

.. image:: https://coveralls.io/repos/github/AnyBlok/anyblok_io/badge.svg?branch=master
:target: https://coveralls.io/github/AnyBlok/anyblok_io?branch=master
:alt: Coverage

.. image:: https://img.shields.io/pypi/v/anyblok_io.svg
:target: https://pypi.python.org/pypi/anyblok_io/
:alt: Version status

.. image:: https://readthedocs.org/projects/anyblok_io/badge/?version=latest
:alt: Documentation Status
:scale: 100%
:target: https://anyblok-io.readthedocs.io/en/latest/?badge=latest

AnyBlok
=======

Add Importer and Exporter behaviour for AnyBlok


+--------------------+----------------+----------------------------------------+
| Blok | Dependencies | Description |
+====================+================+========================================+
| **anyblok-io** | | Add base model to do export and import |
+--------------------+----------------+----------------------------------------+
| **anyblok-io-csv** | **anyblok-io** | CSV file. |
+--------------------+----------------+----------------------------------------+
| **anyblok-io-xml** | **anyblok-io** | XML file |
+--------------------+----------------+----------------------------------------+

See the `latest documentation <https://anyblok-io.readthedocs.io/en/latest/>`_

.. This file is a part of the AnyBlok project
..
.. Copyright (C) 2015 Jean-Sebastien SUZANNE <jssuzanne@anybox.fr>
.. Copyright (C) 2016 Jean-Sebastien SUZANNE <jssuzanne@anybox.fr>
..
.. This Source Code Form is subject to the terms of the Mozilla Public License,
.. v. 2.0. If a copy of the MPL was not distributed with this file,You can
.. obtain one at http://mozilla.org/MPL/2.0/.

.. AnyBlok documentation master file, created by
sphinx-quickstart on Mon Feb 24 10:12:33 2014.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.

.. contents::

Front Matter
============

Information about the AnyBlok project.

Project Homepage
----------------

AnyBlok is hosted on `github <http://github.com>`_ - the main project
page is at http://github.com/AnyBlok/anyblok_io. Source code is tracked here
using `GIT <https://git-scm.com>`_.

Releases and project status are available on Pypi at
http://pypi.python.org/pypi/anyblok_io.

The most recent published version of this documentation should be at
https://anyblok-io.readthedocs.io/en/latest/.

Installation
------------

Install released versions of AnyBlok from the Python package index with
`pip <http://pypi.python.org/pypi/pip>`_ or a similar tool::

pip install anyblok_io

Installation via source distribution is via the ``setup.py`` script::

python setup.py install

Running Tests
-------------

.. .. seealso:: the :ref:`section about testing of AnyBlok applications
.. <basedoc_tests>`.


To run framework tests with ``nose``::

pip install nose
nosetests anyblok_io/tests

To run tests of all installed bloks::

anyblok_nose -c config.file.cfg

AnyBlok is tested continuously using `Travis CI
<https://travis-ci.org/AnyBlok/anyblok_io>`_

Contributing (hackers needed!)
------------------------------

Anyblok is at a very early stage, feel free to fork, talk with core dev, and spread the word!

Author
------

Jean-Sébastien Suzanne

Contributors
------------

* Jean-Sébastien Suzanne

Bugs
----

Bugs and feature enhancements to AnyBlok should be reported on the `Issue
tracker <https://github.com/AnyBlok/anyblok_io/issues>`_.

.. This file is a part of the AnyBlok project
..
.. Copyright (C) 2018 Jean-Sebastien SUZANNE <jssuzanne@anybox.fr>
.. Copyright (C) 2021 Jean-Sebastien SUZANNE <js.suzanne@gmail.com>
..
.. This Source Code Form is subject to the terms of the Mozilla Public License,
.. v. 2.0. If a copy of the MPL was not distributed with this file,You can
.. obtain one at http://mozilla.org/MPL/2.0/.

CHANGELOG
=========

1.2.0 (2021-8-16)
------------------

* Adapted to **AnyBlok >= 1.2**

1.1.1 (2020-10-16)
------------------

* Fixed the size of the fields **model**, because they have a
foreign key to the model **Model.System.Model** on the field
**name**. The next version of AnyBlok check that the size are the same

1.1.0 (2020-05-06)
------------------

* Removed **Python 3.4** capability
* Removed **Python 3.5** capability
* Refactored unittest, replaced nose by pytest
* Fixed #1 added hook to render primary key serializable


1.0.0 (2018-05-30)
------------------

* Cherry pick io bloks from AnyBlok distribution

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

anyblok_io-1.2.0.tar.gz (32.6 kB view hashes)

Uploaded Source

Built Distribution

anyblok_io-1.2.0-py3-none-any.whl (51.7 kB view hashes)

Uploaded 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