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
..
.. 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 details)
Built Distribution
File details
Details for the file anyblok_io-1.2.0.tar.gz
.
File metadata
- Download URL: anyblok_io-1.2.0.tar.gz
- Upload date:
- Size: 32.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45d1d9bf315f247ce670ba62ecc9c37a7117efc07ffd50316c320e34d5570cea |
|
MD5 | a141da1f036c90668b4569ae49b32af6 |
|
BLAKE2b-256 | 5421560854a6bacab6c66e7412b6d703df9c15f1992a069d3d50ef2ebb6b4296 |
File details
Details for the file anyblok_io-1.2.0-py3-none-any.whl
.
File metadata
- Download URL: anyblok_io-1.2.0-py3-none-any.whl
- Upload date:
- Size: 51.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3602ddf481fcfb2ea42eb6f8d88d5c6a3519862ff10cb041f614c809dd8746f0 |
|
MD5 | 0668cac2bd59b6437d54cde6a48b8adc |
|
BLAKE2b-256 | 0d82e841f424a845ac9695f07daa892a6bc26a07863ba7a2b48893779570e491 |