-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
youqiang
committed
May 15, 2018
1 parent
d81c24c
commit bab77ca
Showing
616 changed files
with
89,235 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
This project was started by Eric Gazoni. In 2013 Charlie Clark became | ||
co-maintainer of the project. | ||
|
||
It was initiallay *heavily* inspired by the PHPExcel library: | ||
http://www.phpexcel.net/ | ||
|
||
Thanks to all those who participate in the project (in alphabetical order): | ||
|
||
* Stephane Bard | ||
* Day Barr | ||
* Stefan Behnel | ||
* Bernt R. Brenna | ||
* Sven Burk | ||
* Max Bolingbroke | ||
* Anders Chrigstrom | ||
* ccoacley | ||
* Maarten De Paepe | ||
* Etienne Desautels | ||
* Dmitriy Chernyshov | ||
* Eric Chlebek | ||
* Alexandre Fayolle | ||
* Don Freeman | ||
* Eric Gazoni | ||
* Brice Gelineau | ||
* Mark Gemmill | ||
* Alex Gronholm | ||
* Yaroslav Halchenko | ||
* Fumito Hamamura | ||
* Khchine Hamza | ||
* Josh Haywood | ||
* Jeff Holman | ||
* Brent Hoover | ||
* Eric Hurkman | ||
* Jean Pierre Huart | ||
* JarekPS | ||
* Heikki Junes | ||
* Chi Ho Kwok | ||
* Yingjie Lan | ||
* Detlef Lannert | ||
* Laurent Laporte | ||
* Nicholas Laver | ||
* Greg Lehmann | ||
* Adam Lofts | ||
* Marko Loparic | ||
* Samuel Loretan | ||
* Amin Mirzaee | ||
* Adam Morris | ||
* aceMueller | ||
* Gabi Nagy | ||
* Thomas Nygards | ||
* Felipe Ochoa | ||
* Jun Omae | ||
* Waldemar Osuch | ||
* Jonathan Peirce | ||
* Sergey Pikhovkin | ||
* Ted Pollari | ||
* Elias Rabel | ||
* Rick Rankin | ||
* ramn_se | ||
* Philip Roche | ||
* Wojciech Rola | ||
* James Smagala | ||
* Wolfgane Scherer | ||
* Joseph Tate | ||
* Gar Thompson | ||
* Dieter Vandenbussche | ||
* Paul Van Der Linden | ||
* Gerald Van Huffelen | ||
* Koert van der Veer | ||
* Laurent Vasseur | ||
* Kay Webber | ||
* Shibukawa Yoshiki | ||
|
||
Project logo designed by Eric Gazoni, font by claudeserieux | ||
(http://www.dafont.com/profile.php?user=337503) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
This software is under the MIT Licence | ||
====================================== | ||
|
||
Copyright (c) 2010 openpyxl | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a | ||
copy of this software and associated documentation files (the | ||
"Software"), to deal in the Software without restriction, including | ||
without limitation the rights to use, copy, modify, merge, publish, | ||
distribute, sublicense, and/or sell copies of the Software, and to | ||
permit persons to whom the Software is furnished to do so, subject to | ||
the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included | ||
in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS | ||
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | ||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | ||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | ||
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | ||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
prune openpyxl/tests | ||
prune openpyxl/sample | ||
prune openpyxl/benchmarks | ||
prune openpyxl/develop | ||
prune scratchpad | ||
|
||
recursive-exclude openpyxl test_*.py tests/*.py | ||
|
||
include *.rst | ||
include openpyxl/.constants.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
Introduction | ||
============ | ||
This is a fork from bitbucket of openpyxl package: https://bitbucket.org/openpyxl/openpyxl/src/default/ | ||
I have repaired the image and chart loading bugs in this revised version. | ||
|
||
openpyxl | ||
======== | ||
|
||
openpyxl is a Python library to read/write Excel 2010 xlsx/xlsm/xltx/xltm files. | ||
|
||
It was born from lack of existing library to read/write natively from Python | ||
the Office Open XML format. | ||
|
||
All kudos to the PHPExcel team as openpyxl was initially based on PHPExcel. | ||
|
||
|
||
Mailing List | ||
============ | ||
|
||
Official user list can be found on | ||
http://groups.google.com/group/openpyxl-users | ||
|
||
|
||
Sample code:: | ||
|
||
from openpyxl import Workbook | ||
wb = Workbook() | ||
|
||
# grab the active worksheet | ||
ws = wb.active | ||
|
||
# Data can be assigned directly to cells | ||
ws['A1'] = 42 | ||
|
||
# Rows can also be appended | ||
ws.append([1, 2, 3]) | ||
|
||
# Python types will automatically be converted | ||
import datetime | ||
ws['A2'] = datetime.datetime.now() | ||
|
||
# Save the file | ||
wb.save("sample.xlsx") | ||
|
||
|
||
Official documentation | ||
====================== | ||
|
||
The documentation is at: https://openpyxl.readthedocs.io | ||
|
||
* installation methods | ||
* code examples | ||
* instructions for contributing | ||
|
||
Release notes: https://openpyxl.readthedocs.io/en/latest/changes.html | ||
|
||
Fix the image and chart loading bugs | ||
====================================== | ||
|
||
Now you can add image or chart to the excel as you wish. They can be reserved when reopening the excel file. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
image: openpyxl/openpyxl-ci | ||
|
||
pipelines: | ||
default: | ||
- step: | ||
caches: | ||
- pip | ||
script: | ||
- /tools/clean-launch.sh tox --skip-missing-interpreters -- -qrf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,130 @@ | ||
# Makefile for Sphinx documentation | ||
# | ||
|
||
# You can set these variables from the command line. | ||
SPHINXOPTS = | ||
SPHINXBUILD = sphinx-build | ||
PAPER = | ||
BUILDDIR = build | ||
|
||
# Internal variables. | ||
PAPEROPT_a4 = -D latex_paper_size=a4 | ||
PAPEROPT_letter = -D latex_paper_size=letter | ||
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source | ||
|
||
.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest | ||
|
||
help: | ||
@echo "Please use \`make <target>' where <target> is one of" | ||
@echo " html to make standalone HTML files" | ||
@echo " dirhtml to make HTML files named index.html in directories" | ||
@echo " singlehtml to make a single large HTML file" | ||
@echo " pickle to make pickle files" | ||
@echo " json to make JSON files" | ||
@echo " htmlhelp to make HTML files and a HTML help project" | ||
@echo " qthelp to make HTML files and a qthelp project" | ||
@echo " devhelp to make HTML files and a Devhelp project" | ||
@echo " epub to make an epub" | ||
@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter" | ||
@echo " latexpdf to make LaTeX files and run them through pdflatex" | ||
@echo " text to make text files" | ||
@echo " man to make manual pages" | ||
@echo " changes to make an overview of all changed/added/deprecated items" | ||
@echo " linkcheck to check all external links for integrity" | ||
@echo " doctest to run all doctests embedded in the documentation (if enabled)" | ||
|
||
clean: | ||
-rm -rf $(BUILDDIR)/* | ||
|
||
html: | ||
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html | ||
@echo | ||
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html." | ||
|
||
dirhtml: | ||
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml | ||
@echo | ||
@echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml." | ||
|
||
singlehtml: | ||
$(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml | ||
@echo | ||
@echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml." | ||
|
||
pickle: | ||
$(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle | ||
@echo | ||
@echo "Build finished; now you can process the pickle files." | ||
|
||
json: | ||
$(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json | ||
@echo | ||
@echo "Build finished; now you can process the JSON files." | ||
|
||
htmlhelp: | ||
$(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp | ||
@echo | ||
@echo "Build finished; now you can run HTML Help Workshop with the" \ | ||
".hhp project file in $(BUILDDIR)/htmlhelp." | ||
|
||
qthelp: | ||
$(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp | ||
@echo | ||
@echo "Build finished; now you can run "qcollectiongenerator" with the" \ | ||
".qhcp project file in $(BUILDDIR)/qthelp, like this:" | ||
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/openpyxl.qhcp" | ||
@echo "To view the help file:" | ||
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/openpyxl.qhc" | ||
|
||
devhelp: | ||
$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp | ||
@echo | ||
@echo "Build finished." | ||
@echo "To view the help file:" | ||
@echo "# mkdir -p $$HOME/.local/share/devhelp/openpyxl" | ||
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/openpyxl" | ||
@echo "# devhelp" | ||
|
||
epub: | ||
$(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub | ||
@echo | ||
@echo "Build finished. The epub file is in $(BUILDDIR)/epub." | ||
|
||
latex: | ||
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex | ||
@echo | ||
@echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex." | ||
@echo "Run \`make' in that directory to run these through (pdf)latex" \ | ||
"(use \`make latexpdf' here to do that automatically)." | ||
|
||
latexpdf: | ||
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex | ||
@echo "Running LaTeX files through pdflatex..." | ||
make -C $(BUILDDIR)/latex all-pdf | ||
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex." | ||
|
||
text: | ||
$(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text | ||
@echo | ||
@echo "Build finished. The text files are in $(BUILDDIR)/text." | ||
|
||
man: | ||
$(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man | ||
@echo | ||
@echo "Build finished. The manual pages are in $(BUILDDIR)/man." | ||
|
||
changes: | ||
$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes | ||
@echo | ||
@echo "The overview file is in $(BUILDDIR)/changes." | ||
|
||
linkcheck: | ||
$(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck | ||
@echo | ||
@echo "Link check complete; look for any errors in the above output " \ | ||
"or in $(BUILDDIR)/linkcheck/output.txt." | ||
|
||
doctest: | ||
$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest | ||
@echo "Testing of doctests in the sources finished, look at the " \ | ||
"results in $(BUILDDIR)/doctest/output.txt." |
Empty file.
Oops, something went wrong.