esuls 0.1.19__tar.gz → 0.1.20__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.
- {esuls-0.1.19/src/esuls.egg-info → esuls-0.1.20}/PKG-INFO +2 -2
- {esuls-0.1.19 → esuls-0.1.20}/pyproject.toml +2 -2
- {esuls-0.1.19 → esuls-0.1.20}/src/esuls/db_cli.py +7 -1
- {esuls-0.1.19 → esuls-0.1.20/src/esuls.egg-info}/PKG-INFO +2 -2
- {esuls-0.1.19 → esuls-0.1.20}/src/esuls.egg-info/requires.txt +1 -1
- {esuls-0.1.19 → esuls-0.1.20}/LICENSE +0 -0
- {esuls-0.1.19 → esuls-0.1.20}/README.md +0 -0
- {esuls-0.1.19 → esuls-0.1.20}/setup.cfg +0 -0
- {esuls-0.1.19 → esuls-0.1.20}/src/esuls/__init__.py +0 -0
- {esuls-0.1.19 → esuls-0.1.20}/src/esuls/download_icon.py +0 -0
- {esuls-0.1.19 → esuls-0.1.20}/src/esuls/request_cli.py +0 -0
- {esuls-0.1.19 → esuls-0.1.20}/src/esuls/tests/test_db_concurrent.py +0 -0
- {esuls-0.1.19 → esuls-0.1.20}/src/esuls/tests/test_db_fixes.py +0 -0
- {esuls-0.1.19 → esuls-0.1.20}/src/esuls/utils.py +0 -0
- {esuls-0.1.19 → esuls-0.1.20}/src/esuls.egg-info/SOURCES.txt +0 -0
- {esuls-0.1.19 → esuls-0.1.20}/src/esuls.egg-info/dependency_links.txt +0 -0
- {esuls-0.1.19 → esuls-0.1.20}/src/esuls.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: esuls
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.20
|
|
4
4
|
Summary: Utility library for async database operations, HTTP requests, and parallel execution
|
|
5
5
|
Author-email: IperGiove <ipergiove@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -12,7 +12,7 @@ Classifier: Operating System :: OS Independent
|
|
|
12
12
|
Requires-Python: >=3.14
|
|
13
13
|
Description-Content-Type: text/markdown
|
|
14
14
|
License-File: LICENSE
|
|
15
|
-
Requires-Dist: aiosqlite
|
|
15
|
+
Requires-Dist: aiosqlite==0.22.1
|
|
16
16
|
Requires-Dist: curl-cffi>=0.13.0
|
|
17
17
|
Requires-Dist: fake-useragent>=2.2.0
|
|
18
18
|
Requires-Dist: httpx[http2]>=0.28.1
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "esuls"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.20"
|
|
8
8
|
description = "Utility library for async database operations, HTTP requests, and parallel execution"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.14"
|
|
@@ -20,7 +20,7 @@ classifiers = [
|
|
|
20
20
|
|
|
21
21
|
# All dependencies (always installed)
|
|
22
22
|
dependencies = [
|
|
23
|
-
"aiosqlite
|
|
23
|
+
"aiosqlite==0.22.1",
|
|
24
24
|
"curl-cffi>=0.13.0",
|
|
25
25
|
"fake-useragent>=2.2.0",
|
|
26
26
|
"httpx[http2]>=0.28.1",
|
|
@@ -94,7 +94,13 @@ class AsyncDB(Generic[SchemaType]):
|
|
|
94
94
|
try:
|
|
95
95
|
db = aiosqlite.connect(self.db_path, timeout=30.0)
|
|
96
96
|
# Mark aiosqlite's thread as daemon so it won't block process exit
|
|
97
|
-
|
|
97
|
+
# Must be set before await (which calls start())
|
|
98
|
+
# <=0.21: Connection extends Thread directly
|
|
99
|
+
# >=0.22: Connection wraps Thread in _thread attr
|
|
100
|
+
if hasattr(db, '_thread'):
|
|
101
|
+
db._thread.daemon = True
|
|
102
|
+
elif isinstance(db, threading.Thread):
|
|
103
|
+
db.daemon = True
|
|
98
104
|
db = await db
|
|
99
105
|
# Fast WAL mode with minimal sync
|
|
100
106
|
await db.execute("PRAGMA journal_mode=WAL")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: esuls
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.20
|
|
4
4
|
Summary: Utility library for async database operations, HTTP requests, and parallel execution
|
|
5
5
|
Author-email: IperGiove <ipergiove@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -12,7 +12,7 @@ Classifier: Operating System :: OS Independent
|
|
|
12
12
|
Requires-Python: >=3.14
|
|
13
13
|
Description-Content-Type: text/markdown
|
|
14
14
|
License-File: LICENSE
|
|
15
|
-
Requires-Dist: aiosqlite
|
|
15
|
+
Requires-Dist: aiosqlite==0.22.1
|
|
16
16
|
Requires-Dist: curl-cffi>=0.13.0
|
|
17
17
|
Requires-Dist: fake-useragent>=2.2.0
|
|
18
18
|
Requires-Dist: httpx[http2]>=0.28.1
|
|
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
|