Creates XLS sheets to upload data into django models
Project description
====================
Django ExcelDataSync
====================
.. image:: https://badge.fury.io/py/django-excel-data-sync.svg
:target: https://badge.fury.io/py/django-excel-data-sync
.. image:: https://travis-ci.org/saxix/django-excel-data-sync.png?branch=develop
:target: https://travis-ci.org/saxix/django-excel-data-sync
It allows to create XLS file to import data into Django Model.
The xls implements most of the validation rules of the django model fields, this
prevent errors due the lack of constraints
Supported Fields
----------------
- BigIntegerField
- BooleanField
- AutoField
- CharField
- DateField
- DateTimeField
- DecimalField
- EmailField
- FloatField
- ForeignKey
- GenericIPAddressField
- IntegerField
- NullBooleanField*
- PositiveIntegerField
- PositiveSmallIntegerField
- SmallIntegerField
- TextField
- TimeField
- URLField
- UUIDField
Supported Validations
---------------------
Fields attributes
~~~~~~~~~~~~~~~~~
- choices
- unique
Field Validators
~~~~~~~~~~~~~~~~
- max value (`MaxValueValidator`)
- min value (`MinValueValidator`)
- max length `MaxLengthValidator`)
- min length (`MinLengthValidator`)
Documentation
-------------
The full documentation is at http://django-excel-data-sync.readthedocs.io/en/latest/
Quickstart
----------
Install ExcelDataSync::
pip install django-excel-data-sync
Add it to your `INSTALLED_APPS`:
.. code-block:: python
INSTALLED_APPS = (
...
'excel_data_sync.apps.XlsDataSyncConfig',
...
)
Running Tests
-------------
Does the code actually work?
::
source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox
Project links
-------------
+--------------------+----------------+--------------+----------------------------+
| Stable | |master-build| | |master-cov| | |
+--------------------+----------------+--------------+----------------------------+
| Development | |dev-build| | |dev-cov| | |
+--------------------+----------------+--------------+----------------------------+
| Project home page: |https://github.com/saxix/django-excel-data-sync |
+--------------------+---------------+--------------------------------------------+
| Issue tracker: |https://github.com/saxix/django-excel-data-sync/issues?sort |
+--------------------+---------------+--------------------------------------------+
| Download: |https://pypi.python.org/pypi/django-excel-data-sync/ |
+--------------------+---------------+--------------------------------------------+
| Documentation: |https://django-excel-data-sync.readthedocs.org/en/latest/ |
+--------------------+---------------+--------------+-----------------------------+
.. |master-build| image:: https://secure.travis-ci.org/saxix/django-excel-data-sync.png?branch=master
:target: http://travis-ci.org/saxix/django-excel-data-sync/
.. |master-cov| image:: https://codecov.io/github/saxix/django-excel-data-sync/coverage.svg?branch=master
:target: https://codecov.io/github/saxix/django-excel-data-sync?branch=master
.. |dev-build| image:: https://secure.travis-ci.org/saxix/django-excel-data-sync.png?branch=develop
:target: http://travis-ci.org/saxix/django-excel-data-sync/
.. |dev-cov| image:: https://codecov.io/github/saxix/django-excel-data-sync/coverage.svg?branch=develop
:target: https://codecov.io/github/saxix/django-excel-data-sync?branch=develop
History
-------
0.1.0 (2016-12-13)
++++++++++++++++++
* First release on PyPI.
Django ExcelDataSync
====================
.. image:: https://badge.fury.io/py/django-excel-data-sync.svg
:target: https://badge.fury.io/py/django-excel-data-sync
.. image:: https://travis-ci.org/saxix/django-excel-data-sync.png?branch=develop
:target: https://travis-ci.org/saxix/django-excel-data-sync
It allows to create XLS file to import data into Django Model.
The xls implements most of the validation rules of the django model fields, this
prevent errors due the lack of constraints
Supported Fields
----------------
- BigIntegerField
- BooleanField
- AutoField
- CharField
- DateField
- DateTimeField
- DecimalField
- EmailField
- FloatField
- ForeignKey
- GenericIPAddressField
- IntegerField
- NullBooleanField*
- PositiveIntegerField
- PositiveSmallIntegerField
- SmallIntegerField
- TextField
- TimeField
- URLField
- UUIDField
Supported Validations
---------------------
Fields attributes
~~~~~~~~~~~~~~~~~
- choices
- unique
Field Validators
~~~~~~~~~~~~~~~~
- max value (`MaxValueValidator`)
- min value (`MinValueValidator`)
- max length `MaxLengthValidator`)
- min length (`MinLengthValidator`)
Documentation
-------------
The full documentation is at http://django-excel-data-sync.readthedocs.io/en/latest/
Quickstart
----------
Install ExcelDataSync::
pip install django-excel-data-sync
Add it to your `INSTALLED_APPS`:
.. code-block:: python
INSTALLED_APPS = (
...
'excel_data_sync.apps.XlsDataSyncConfig',
...
)
Running Tests
-------------
Does the code actually work?
::
source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox
Project links
-------------
+--------------------+----------------+--------------+----------------------------+
| Stable | |master-build| | |master-cov| | |
+--------------------+----------------+--------------+----------------------------+
| Development | |dev-build| | |dev-cov| | |
+--------------------+----------------+--------------+----------------------------+
| Project home page: |https://github.com/saxix/django-excel-data-sync |
+--------------------+---------------+--------------------------------------------+
| Issue tracker: |https://github.com/saxix/django-excel-data-sync/issues?sort |
+--------------------+---------------+--------------------------------------------+
| Download: |https://pypi.python.org/pypi/django-excel-data-sync/ |
+--------------------+---------------+--------------------------------------------+
| Documentation: |https://django-excel-data-sync.readthedocs.org/en/latest/ |
+--------------------+---------------+--------------+-----------------------------+
.. |master-build| image:: https://secure.travis-ci.org/saxix/django-excel-data-sync.png?branch=master
:target: http://travis-ci.org/saxix/django-excel-data-sync/
.. |master-cov| image:: https://codecov.io/github/saxix/django-excel-data-sync/coverage.svg?branch=master
:target: https://codecov.io/github/saxix/django-excel-data-sync?branch=master
.. |dev-build| image:: https://secure.travis-ci.org/saxix/django-excel-data-sync.png?branch=develop
:target: http://travis-ci.org/saxix/django-excel-data-sync/
.. |dev-cov| image:: https://codecov.io/github/saxix/django-excel-data-sync/coverage.svg?branch=develop
:target: https://codecov.io/github/saxix/django-excel-data-sync?branch=develop
History
-------
0.1.0 (2016-12-13)
++++++++++++++++++
* First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-excel-data-sync-0.3.0.tar.gz
.
File metadata
- Download URL: django-excel-data-sync-0.3.0.tar.gz
- Upload date:
- Size: 22.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cfb3931b90f27242e5615ed8a2ff7d22547285b609c70997f0302f7824b1f27 |
|
MD5 | 50fb467e6f7f390c31f683c553592294 |
|
BLAKE2b-256 | b409c427ad93d694189a95dad76c286d11feb2f1e820d52693161cd83a4807d6 |