stouputils 1.2.8__tar.gz → 1.2.9__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {stouputils-1.2.8 → stouputils-1.2.9}/PKG-INFO +1 -1
- {stouputils-1.2.8 → stouputils-1.2.9}/pyproject.toml +1 -1
- {stouputils-1.2.8 → stouputils-1.2.9}/stouputils/io.py +1 -1
- {stouputils-1.2.8 → stouputils-1.2.9}/.gitignore +0 -0
- {stouputils-1.2.8 → stouputils-1.2.9}/LICENSE +0 -0
- {stouputils-1.2.8 → stouputils-1.2.9}/README.md +0 -0
- {stouputils-1.2.8 → stouputils-1.2.9}/stouputils/__init__.py +0 -0
- {stouputils-1.2.8 → stouputils-1.2.9}/stouputils/all_doctests.py +0 -0
- {stouputils-1.2.8 → stouputils-1.2.9}/stouputils/applications/__init__.py +0 -0
- {stouputils-1.2.8 → stouputils-1.2.9}/stouputils/applications/automatic_docs.py +0 -0
- {stouputils-1.2.8 → stouputils-1.2.9}/stouputils/archive.py +0 -0
- {stouputils-1.2.8 → stouputils-1.2.9}/stouputils/backup.py +0 -0
- {stouputils-1.2.8 → stouputils-1.2.9}/stouputils/collections.py +0 -0
- {stouputils-1.2.8 → stouputils-1.2.9}/stouputils/continuous_delivery/__init__.py +0 -0
- {stouputils-1.2.8 → stouputils-1.2.9}/stouputils/continuous_delivery/cd_utils.py +0 -0
- {stouputils-1.2.8 → stouputils-1.2.9}/stouputils/continuous_delivery/github.py +0 -0
- {stouputils-1.2.8 → stouputils-1.2.9}/stouputils/continuous_delivery/pypi.py +0 -0
- {stouputils-1.2.8 → stouputils-1.2.9}/stouputils/continuous_delivery/pyproject.py +0 -0
- {stouputils-1.2.8 → stouputils-1.2.9}/stouputils/ctx.py +0 -0
- {stouputils-1.2.8 → stouputils-1.2.9}/stouputils/decorators.py +0 -0
- {stouputils-1.2.8 → stouputils-1.2.9}/stouputils/dont_look/zip_file_override.py +0 -0
- {stouputils-1.2.8 → stouputils-1.2.9}/stouputils/parallel.py +0 -0
- {stouputils-1.2.8 → stouputils-1.2.9}/stouputils/print.py +0 -0
- {stouputils-1.2.8 → stouputils-1.2.9}/stouputils/py.typed +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: stouputils
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.9
|
|
4
4
|
Summary: Stouputils is a collection of utility modules designed to simplify and enhance the development process. It includes a range of tools for tasks such as execution of doctests, display utilities, decorators, as well as context managers, and many more.
|
|
5
5
|
Project-URL: Homepage, https://github.com/Stoupy51/stouputils
|
|
6
6
|
Project-URL: Issues, https://github.com/Stoupy51/stouputils/issues
|
|
@@ -5,7 +5,7 @@ build-backend = "hatchling.build"
|
|
|
5
5
|
|
|
6
6
|
[project]
|
|
7
7
|
name = "stouputils"
|
|
8
|
-
version = "1.2.
|
|
8
|
+
version = "1.2.9"
|
|
9
9
|
description = "Stouputils is a collection of utility modules designed to simplify and enhance the development process. It includes a range of tools for tasks such as execution of doctests, display utilities, decorators, as well as context managers, and many more."
|
|
10
10
|
readme = "README.md"
|
|
11
11
|
requires-python = ">=3.10"
|
|
@@ -123,7 +123,7 @@ def super_open(file_path: str, mode: str, encoding: str = "utf-8") -> IO[Any]:
|
|
|
123
123
|
"""
|
|
124
124
|
# Make directory
|
|
125
125
|
file_path = clean_path(file_path)
|
|
126
|
-
if "/" in file_path and "w" in mode:
|
|
126
|
+
if "/" in file_path and ("w" in mode or "a" in mode):
|
|
127
127
|
os.makedirs(os.path.dirname(file_path), exist_ok=True)
|
|
128
128
|
|
|
129
129
|
# Open file and return
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|