Package: pyexcel-gantt
Support the projectIf your company has embedded pyexcel and its components into a revenue generating
product, pleasesupport me on patreonto
maintain the project and develop it further.If you are an individual, you are welcome to support me too on patreon and for however long
you feel like to. As a patreon, you will receiveearly access to pyexcel related contents.With your financial support, I will be able to invest
a little bit more time in coding, documentation and writing interesting posts.Introductionpyexcel-ganttdraws gantt chart using frappe-gantt.js for pyexcel data. Credit goes tofrappe’s gantt chartHere isa sample csvfile:id,name,start,end,progress,dependencies,custom_class
Task 1,Writing pyexcel-gantt,2017-07-17,2017-07-18,80,,
Task 2,Test pyexcel-gantt,2017-07-19,2017-07-20,10,Task 1,,
Task 3,Write up the documentation,2017-07-21,2017-07-22,0,Task 1,,
Task 4,Release pyexcel-gantt,2017-07-23,2017-07-23,0,"Task 2, Task 3",,bar-milestoneWhat you can do is to view it with pyexcel’scommand line interface:pyexcel view –in-browser –output-file-type gantt.html demo/tasks.csvProgrammatically, you can do the following:importpyexcelaspp.save_as(file_name='tasks.csv',dest_file_name='tasks.gantt.html')Alternatively, you can save the file as:$pyexceltranscodetasks.csvtasks.gantt.htmlInstallationYou can install it via pip:$pipinstallpyexcel-ganttor clone it and install it:$gitclonehttps://github.com/pyexcel/pyexcel-gantt.git$cdpyexcel-gantt$pythonsetup.pyinstallDevelopment guideDevelopment steps for code changesgit clonehttps://github.com/pyexcel/pyexcel-gantt.gitcd pyexcel-ganttUpgrade your setup tools and pip. They are needed for development and testing only:pip install –upgrade setuptools pipThen install relevant development requirements:pip install -r rnd_requirements.txt # if such a file existspip install -r requirements.txtpip install -r tests/requirements.txtOnce you have finished your changes, please provide test case(s), relevant documentation
and update CHANGELOG.rst.NoteAs to rnd_requirements.txt, usually, it is created when a dependentlibrary is not released. Once the dependecy is installed
(will be released), the future
version of the dependency in the requirements.txt will be valid.How to test your contributionAlthoughnoseanddoctestare both used in code testing, it is adviable that unit tests are put in tests.doctestis incorporated only to make sure the code examples in documentation remain valid across different development releases.On Linux/Unix systems, please launch your tests like this:$ makeOn Windows systems, please issue this command:> test.batHow to update test environment and update documentationAdditional steps are required:pip install mobangit clonehttps://github.com/pyexcel/pyexcel-commons.gitcommonsmake your changes in.moban.ddirectory, then issue commandmobanWhat is pyexcel-commonsMany information that are shared across pyexcel projects, such as: this developer guide, license info, etc. are stored inpyexcel-commonsproject.What is .moban.d.moban.dstores the specific meta data for the library.Acceptance criteriaHas Test cases writtenHas all code lines testedPasses all Travis CI buildsHas fair amount of documentation if your change is complexAgree on NEW BSD License for your contributionLicenseNew BSD LicenseChange log0.0.1 - unreleasedInitial release