Skip to main content
====================
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: |http://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.

Metadata

Release files for django-excel-data-sync 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-excel-data-sync 0.2.0
File Size Uploaded Provenance Actions
django-excel-data-sync-0.2.0.tar.gz 22.6 kB Without provenance Details for django-excel-data-sync-0.2.0.tar.gz

Release files / django-excel-data-sync-0.2.0.tar.gz

Download URL django-excel-data-sync-0.2.0.tar.gz
Size 22.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c8e0c3d939cddb66de96ea3f210485e0afa36709b279507e1e0af78acfc7b730
BLAKE2b-256 checksum
How to use checksums
c8fe17dcc0e25165e13977906f904bd36e6521851cdcca12a2ec8951e77002be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-excel-data-sync 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page