simtoolsz 0.2.6__tar.gz → 0.2.8__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.
- {simtoolsz-0.2.6 → simtoolsz-0.2.8}/PKG-INFO +1 -1
- {simtoolsz-0.2.6 → simtoolsz-0.2.8}/pyproject.toml +1 -1
- {simtoolsz-0.2.6 → simtoolsz-0.2.8}/src/simtoolsz/__init__.py +1 -1
- {simtoolsz-0.2.6 → simtoolsz-0.2.8}/src/simtoolsz/reader.py +4 -2
- {simtoolsz-0.2.6 → simtoolsz-0.2.8}/.github/workflows/publish.yml +0 -0
- {simtoolsz-0.2.6 → simtoolsz-0.2.8}/.gitignore +0 -0
- {simtoolsz-0.2.6 → simtoolsz-0.2.8}/.python-version +0 -0
- {simtoolsz-0.2.6 → simtoolsz-0.2.8}/LICENSE +0 -0
- {simtoolsz-0.2.6 → simtoolsz-0.2.8}/README.md +0 -0
- {simtoolsz-0.2.6 → simtoolsz-0.2.8}/README_EN.md +0 -0
- {simtoolsz-0.2.6 → simtoolsz-0.2.8}/docs/DATETIME_CONVERSION.md +0 -0
- {simtoolsz-0.2.6 → simtoolsz-0.2.8}/docs/mail_usage_guide.md +0 -0
- {simtoolsz-0.2.6 → simtoolsz-0.2.8}/docs/special2db_usage.md +0 -0
- {simtoolsz-0.2.6 → simtoolsz-0.2.8}/examples/conversion_examples.py +0 -0
- {simtoolsz-0.2.6 → simtoolsz-0.2.8}/examples/mail_examples.py +0 -0
- {simtoolsz-0.2.6 → simtoolsz-0.2.8}/examples/special2db_example.py +0 -0
- {simtoolsz-0.2.6 → simtoolsz-0.2.8}/examples/today_examples.py +0 -0
- {simtoolsz-0.2.6 → simtoolsz-0.2.8}/examples/zip2db_example.py +0 -0
- {simtoolsz-0.2.6 → simtoolsz-0.2.8}/requirements-dev.lock +0 -0
- {simtoolsz-0.2.6 → simtoolsz-0.2.8}/requirements.lock +0 -0
- {simtoolsz-0.2.6 → simtoolsz-0.2.8}/src/simtoolsz/datetime.py +0 -0
- {simtoolsz-0.2.6 → simtoolsz-0.2.8}/src/simtoolsz/db.py +0 -0
- {simtoolsz-0.2.6 → simtoolsz-0.2.8}/src/simtoolsz/mail.py +0 -0
- {simtoolsz-0.2.6 → simtoolsz-0.2.8}/src/simtoolsz/utils.py +0 -0
- {simtoolsz-0.2.6 → simtoolsz-0.2.8}/test_optimized_reader.py +0 -0
- {simtoolsz-0.2.6 → simtoolsz-0.2.8}/tests/test_conversion.py +0 -0
- {simtoolsz-0.2.6 → simtoolsz-0.2.8}/tests/test_iso_comprehensive.py +0 -0
- {simtoolsz-0.2.6 → simtoolsz-0.2.8}/tests/test_iso_format.py +0 -0
- {simtoolsz-0.2.6 → simtoolsz-0.2.8}/tests/test_simple.py +0 -0
- {simtoolsz-0.2.6 → simtoolsz-0.2.8}/tests/test_special2db.py +0 -0
- {simtoolsz-0.2.6 → simtoolsz-0.2.8}/tests/test_special2db_simple.py +0 -0
- {simtoolsz-0.2.6 → simtoolsz-0.2.8}/tests/test_today_optimized.py +0 -0
- {simtoolsz-0.2.6 → simtoolsz-0.2.8}/tests/test_which_format.py +0 -0
- {simtoolsz-0.2.6 → simtoolsz-0.2.8}/tests/test_zip2db.py +0 -0
- {simtoolsz-0.2.6 → simtoolsz-0.2.8}/tests/test_zip2db_simple.py +0 -0
- {simtoolsz-0.2.6 → simtoolsz-0.2.8}/tests/verify_unicode_fix.py +0 -0
- {simtoolsz-0.2.6 → simtoolsz-0.2.8}/uv.lock +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: simtoolsz
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.8
|
|
4
4
|
Summary: A simple and convenient toolkit containing useful functions, classes, and methods.
|
|
5
5
|
Project-URL: Homepage, https://github.com/SidneyLYZhang/simtoolsz
|
|
6
6
|
Project-URL: Repository, https://github.com/SidneyLYZhang/simtoolsz.git
|
|
@@ -10,7 +10,7 @@ import simtoolsz.reader as reader
|
|
|
10
10
|
try:
|
|
11
11
|
__version__ = importlib.metadata.version("simtoolsz")
|
|
12
12
|
except importlib.metadata.PackageNotFoundError:
|
|
13
|
-
__version__ = "0.2.
|
|
13
|
+
__version__ = "0.2.8"
|
|
14
14
|
|
|
15
15
|
__all__ = [
|
|
16
16
|
'__version__', 'mail', 'utils', 'datetime', 'db', 'reader'
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import warnings
|
|
2
2
|
import polars as pl
|
|
3
|
+
|
|
4
|
+
from polars.io.csv.batched_reader import BatchedCsvReader
|
|
5
|
+
|
|
3
6
|
from pathlib import Path
|
|
4
7
|
from typing import Optional, Callable
|
|
5
8
|
from zipfile import ZipFile, is_zipfile
|
|
6
9
|
from tarfile import TarFile, is_tarfile
|
|
7
|
-
|
|
8
10
|
from tempfile import TemporaryDirectory
|
|
9
11
|
|
|
10
12
|
|
|
@@ -445,7 +447,7 @@ def load_data(
|
|
|
445
447
|
focus: bool = False,
|
|
446
448
|
transtype: pl.Expr|list[pl.Expr]|None = None,
|
|
447
449
|
**kwargs
|
|
448
|
-
) -> pl.DataFrame | pl.LazyFrame |
|
|
450
|
+
) -> pl.DataFrame | pl.LazyFrame | BatchedCsvReader:
|
|
449
451
|
"""
|
|
450
452
|
Load data from a file using the appropriate reader.
|
|
451
453
|
|
|
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
|
|
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
|