From 26b665c1373e2c254f942f0edd39e9436a575151 Mon Sep 17 00:00:00 2001 From: jaska Date: Sat, 12 Dec 2020 22:25:40 +0000 Subject: [PATCH] :books: add usage warning (#44) * :books: add usage warning * This is an auto-commit, updating project meta data, such as changelog.rst, contributors.rst * :books: update readme * :sparkles: use pat Co-authored-by: chfw --- .github/workflows/moban-update.yml | 1 + .moban.d/custom_README.rst.jj2 | 21 ++++++++++++++++++--- README.rst | 21 ++++++++++++++++++--- 3 files changed, 37 insertions(+), 6 deletions(-) diff --git a/.github/workflows/moban-update.yml b/.github/workflows/moban-update.yml index 706fd82..7248179 100644 --- a/.github/workflows/moban-update.yml +++ b/.github/workflows/moban-update.yml @@ -8,6 +8,7 @@ jobs: - uses: actions/checkout@v2 with: ref: ${{ github.head_ref }} + token: ${{ secrets.PAT }} - name: Set up Python uses: actions/setup-python@v1 with: diff --git a/.moban.d/custom_README.rst.jj2 b/.moban.d/custom_README.rst.jj2 index e176dd4..661d558 100644 --- a/.moban.d/custom_README.rst.jj2 +++ b/.moban.d/custom_README.rst.jj2 @@ -4,11 +4,26 @@ {% endblock %} {%block description%} -**pyexcel-{{file_type}}** is a tiny wrapper library to read, manipulate and write data in {{file_type}} format and it can read xlsx and xlsm fromat. You are likely to use it with `pyexcel `_. +**pyexcel-{{file_type}}** is a tiny wrapper library to read, manipulate and +write data in {{file_type}} format and it can read xlsx and xlsm fromat. +You are likely to use it with `pyexcel `_. -New flag: `detect_merged_cells` allows you to spread the same value among all merged cells. But be aware that this may slow down its reading performance. +New flag: `detect_merged_cells` allows you to spread the same value among +all merged cells. But be aware that this may slow down its reading +performance. -New flag: `skip_hidden_row_and_column` allows you to skip hidden rows and columns and is defaulted to **True**. It may slow down its reading performance. And it is only valid for 'xls' files. For 'xlsx' files, please use pyexcel-xlsx. +New flag: `skip_hidden_row_and_column` allows you to skip hidden rows +and columns and is defaulted to **True**. It may slow down its reading +performance. And it is only valid for 'xls' files. For 'xlsx' files, +please use pyexcel-xlsx. + +Warning +================================================================================ + +xls file cannot contain more than 65,000 rows. You are risking the reputation +of yourself/your company/ +`your country `_ if you keep +using xls and are not aware of its row limit. {%endblock%} diff --git a/README.rst b/README.rst index 9773e5f..2505490 100644 --- a/README.rst +++ b/README.rst @@ -35,11 +35,26 @@ pyexcel-xls - Let you focus on data, instead of xls format .. image:: https://img.shields.io/static/v1?label=coding%20style&message=black&color=black&style=flat-square :target: https://github.com/psf/black -**pyexcel-xls** is a tiny wrapper library to read, manipulate and write data in xls format and it can read xlsx and xlsm fromat. You are likely to use it with `pyexcel `_. +**pyexcel-xls** is a tiny wrapper library to read, manipulate and +write data in xls format and it can read xlsx and xlsm fromat. +You are likely to use it with `pyexcel `_. -New flag: `detect_merged_cells` allows you to spread the same value among all merged cells. But be aware that this may slow down its reading performance. +New flag: `detect_merged_cells` allows you to spread the same value among +all merged cells. But be aware that this may slow down its reading +performance. -New flag: `skip_hidden_row_and_column` allows you to skip hidden rows and columns and is defaulted to **True**. It may slow down its reading performance. And it is only valid for 'xls' files. For 'xlsx' files, please use pyexcel-xlsx. +New flag: `skip_hidden_row_and_column` allows you to skip hidden rows +and columns and is defaulted to **True**. It may slow down its reading +performance. And it is only valid for 'xls' files. For 'xlsx' files, +please use pyexcel-xlsx. + +Warning +================================================================================ + +xls file cannot contain more than 65,000 rows. You are risking the reputation +of yourself/your company/ +`your country `_ if you keep +using xls and are not aware of its row limit. Support the project