8000 release 0.7.3 by chfw · Pull Request #291 · pyexcel/pyexcel · GitHub
[go: up one dir, main page]

Skip to content

release 0.7.3 #291

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 19 commits into from
Apr 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
Change log
================================================================================

0.7.3 - 12.04.2025
--------------------------------------------------------------------------------

**Fixed**

#. `#263 <https://github.com/pyexcel/pyexcel/issues/263>`_: support pathlib from
python 3.4
#. `#267 <https://github.com/pyexcel/pyexcel/issues/267>`_: better error message
for file_name

0.7.2 - 23.03.2025
--------------------------------------------------------------------------------

Expand Down
7 changes: 7 additions & 0 deletions changelog.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: pyexcel
organisation: pyexcel
releases:
- changes:
- action: Fixed
details:
- "`#263`: support pathlib from python 3.4"
- "`#267`: better error message for file_name"
version: 0.7.3
date: 12.04.2025
- changes:
- action: Fixed
details:
Expand Down
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
copyright = '2014-2025 Onni Software Ltd.'
author = 'C.W.'
# The short X.Y version
version = '0.7.2'
version = '0.7.3'
# The full version, including alpha/beta/rc tags
release = '0.7.2'
release = '0.7.3'

# -- General configuration ---------------------------------------------------

Expand Down
6 changes: 3 additions & 3 deletions pyexcel.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
overrides: "pyexcel.yaml"
name: "pyexcel"
nick_name: pyexcel
version: 0.7.2
current_version: 0.7.2
release: 0.7.2
version: 0.7.3
current_version: 0.7.3
release: 0.7.3
copyright_year: 2014-2025
branch: master
is_on_conda: true
Expand Down
22 changes: 12 additions & 10 deletions pyexcel/__init__.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
"""
pyexcel
~~~~~~~~~~~~~~~~~~~
pyexcel
~~~~~~~~~~~~~~~~~~~

**pyexcel** is a wrapper library to read, manipulate and
write data in different excel formats: csv, ods, xls, xlsx
and xlsm. It does not support formulas, styles and charts.
**pyexcel** is a wrapper library to read, manipulate and
write data in different excel formats: csv, ods, xls, xlsx
and xlsm. It does not support formulas, styles and charts.

:copyright: (c) 2014-2025 by Onni Software Ltd.
:license: New BSD License, see LICENSE for more details
:copyright: (c) 2014-2025 by Onni Software Ltd.
:license: New BSD License, see LICENSE for more details
"""

from .book import Book
from .core import (
save_as,
Expand All @@ -23,15 +24,16 @@
iget_records,
save_book_as,
get_book_dict,
isave_book_as
isave_book_as,
)
from .sheet import Sheet

# flake8: noqa
from .cookbook import (
split_a_book,
merge_all_to_a_book,
merge_csv_to_a_book,
extract_a_sheet_from_a_book
extract_a_sheet_from_a_book,
)
from .deprecated import (
Reader,
Expand All @@ -43,7 +45,7 @@
load_from_dict,
load_from_memory,
load_from_records,
load_book_from_memory
load_book_from_memory,
)
from .__version__ import __author__, __version__
from .internal.garbagecollector import free_resources
2 changes: 1 addition & 1 deletion pyexcel/__version__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = '0.7.2'
__version__ = '0.7.3'
__author__ = 'C.W.'
19 changes: 13 additions & 6 deletions pyexcel/_compact.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
"""
pyexcel._compact
~~~~~~~~~~~~~~~~~~~
pyexcel._compact
~~~~~~~~~~~~~~~~~~~

Compatibles
Compatibles

:copyright: (c) 2014-2025 by Onni Software Ltd.
:license: New BSD License, see LICENSE for more details
:copyright: (c) 2014-2025 by Onni Software Ltd.
:license: New BSD License, see LICENSE for more details
"""

# flake8: noqa
# pylint: disable=unused-import
# pylint: disable=import-error
Expand All @@ -18,9 +19,9 @@
import warnings
from io import BytesIO, StringIO
from urllib import request
from pathlib import Path
from textwrap import dedent
from itertools import zip_longest

from collections import OrderedDict

PY2 = sys.version_info[0] == 2
Expand Down Expand Up @@ -72,3 +73,9 @@ def _doc(func):
return func

return _doc


def get_string_file_name(file_name):
if isinstance(file_name, Path):
file_name = str(file_name.resolve())
return file_name
13 changes: 7 additions & 6 deletions pyexcel/book.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
"""
pyexcel.book
~~~~~~~~~~~~~~~~~~~
pyexcel.book
~~~~~~~~~~~~~~~~~~~

Excel book
Excel book

:copyright: (c) 2014-2025 by Onni Software Ltd.
:license: New BSD License, see LICENSE for more details
:copyright: (c) 2014-2025 by Onni Software Ltd.
:license: New BSD License, see LICENSE for more details
"""

from pyexcel.sheet import Sheet
from pyexcel._compact import OrderedDict
from pyexcel.internal.meta import BookMeta
from pyexcel.internal.common import SheetIterator
from pyexcel._compact import OrderedDict

LOCAL_UUID = 0

Expand Down
11 changes: 6 additions & 5 deletions pyexcel/constants.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
"""
pyexcel.constants
~~~~~~~~~~~~~~~~~~~
pyexcel.constants
~~~~~~~~~~~~~~~~~~~

Constants appeared in pyexcel
Constants appeared in pyexcel

:copyright: (c) 2015-2022 by Onni Software Ltd.
:license: New BSD License
:copyright: (c) 2015-2025 by Onni Software Ltd.
:license: New BSD License
"""

# flake8: noqa
DEFAULT_NA = ""
DEFAULT_NAME = "pyexcel sheet"
Expand Down
Loading