Coder Social home page Coder Social logo

django-excel-data-sync's Introduction

Django ExcelDataSync

https://travis-ci.org/saxix/django-excel-data-sync.png?branch=develop

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:

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/

django-excel-data-sync's People

Contributors

gigiusb avatar saxix avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

iaga84

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.